auth for https services
See original GitHub issuePlease run microk8s.inspect
and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s.
after installing 1.14/stable the following holds:
[inspection-report-20190326_111105.tar.gz](https://github.com/ubuntu/microk8s/files/3009574/inspection-report-20190326_111105.tar.gz)
~$ microk8s.kubectl cluster-info
Kubernetes master is running at https://127.0.0.1:16443
Heapster is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/heapster/proxy
KubeDNS is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Grafana is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
InfluxDB is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/monitoring-influxdb:http/proxy
(note the https;// ). Available documentation shows http://
and appears not to mention what credentials to use. In /var/snap/microk8s/484/credentials
there are some hints, e.g. perhaps user admin, pw admin, but
https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
trying that and other combinations from basic_auth.csv in the same directory keeps yielding
kind | "Status"
-- | --
apiVersion | "v1"
metadata | {}
status | "Failure"
message | "Unauthorized"
reason | "Unauthorized"
code | 401
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
HTTP authentication - MDN Web Docs - Mozilla
The "Basic" HTTP authentication scheme is defined in RFC 7617, which transmits credentials as user ID/password pairs, encoded using base64.
Read more >Using OAuth 2.0 for Server to Server Applications | Authorization
Creating a service account · Open the Service accounts page. · If prompted, select a project, or create a new one. · Click...
Read more >Authenticating service-to-service | Cloud Run Documentation
For an end-to-end walkthrough of an application using this service-to-service authentication technique, follow the securing Cloud Run services tutorial.
Read more >Using Authentication With Web Service Security - IBM
Authorization uses information about a client's identity and/or roles to determine the resources or tasks that a client can perform. Credentials.
Read more >Understanding Authentication, Authorization, and Encryption
Authentication by a client usually involves the server giving a certificate to the client in which a trusted third party such as Verisign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The tutorial at https://tutorials.ubuntu.com/tutorial/install-a-local-kubernetes-with-microk8s#4 needs to include this information, otherwise there is no way to access the pages.
The username is
admin
and the password can be found withmicrok8s.config
. At the very bottom, you should seepassword: XXXXX