Comments (4)
Can you provide a little more detail on the issue you are having?
In general, the UI application should know how to connect to the kubernetes API (via service accounts). And when you are accessing the UI it is done by proxying your request to the pod running the UI (via a kubernetes service).
Maybe as a start, what happens when you go to https://<kubernetes-master>/ui
?
from coreos-kubernetes.
I'm experiencing the same issue.
$ curl https://172.17.4.99/ui -k
Unauthorized
Very interested in how to hit the https:// endpoints.
from coreos-kubernetes.
The easiest way is to make use of kubectl proxy
. This will open a local proxy to your kubernetes cluster by using the current context in your kubeconfig. As long as your kubeconfig is configured to properly connect to your cluster, the proxy command will take care of authenticating the connection using client certs.
See: http://kubernetes.io/v1.0/docs/user-guide/connecting-to-applications-proxy.html
To use curl directly you will need to specify a client cert to authorize the request. The exact flags can vary depending on platform, but from OSX 10.10 you will need to convert your admin cert to pk12 first:
From the single-node
directory:
openssl pkcs12 -export -in ./ssl/admin.pem -inkey ./ssl/admin-key.pem -out ./ssl/admin.p12
Then use the cert in the curl request:
curl https://172.17.4.99/v1/api/nodes --cacert ./ssl/ca.pem --cert ./ssl/admin.p12:PASS
from coreos-kubernetes.
Going to close this issue, but if you are still having difficulty, please re-open
from coreos-kubernetes.
Related Issues (20)
- multi-node/generic/: Unexpected error configuring flannel pod network on VPS
- Multi-node: GuaranteedUpdate of /registry/minions/<NODE> failed because of a conflict
- configuration option for kubelet
- vagrant up fails with "sed: can't read /usr/lib/systemd/system/docker.service: No such file or directory" HOT 1
- Output: mount: unknown filesystem type 'glusterfs'
- Why I use calico in kubernetes, but still kubelet try to look for flannel?
- CoreOS hyperkube v1.9.0_coreos.0: No ipset utility, IPVS proxy mode fails HOT 17
- No hyperkube for v1.7.12? HOT 3
- Container Linux, kubernetes and CRI-O HOT 1
- Conformance tests use github.com/jteeuwen/go-bindata
- /usr/bin/kubelet: No such file or directory on 1662
- Calico Pod CrashLoopBackOff on Worker Nodes
- hyperkube 1.8.8 image? HOT 2
- kubeadm cluster-ip unreachable HOT 1
- Kubelet-Wrapper does not see mounts below hostmount HOT 1
- r
- hyperkube new 1.10.11 version ?
- 2079.3.0 did have changes -- all network device names were renamed
- vagrant example cluster are failing to deploy
- kubelet-wrapper fails to start kubelet on k8s 1.17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coreos-kubernetes.