-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement idea #1
Comments
I was initially thinking of something like that, too. As far as I can tell, it can't be done that way because the kubelet re-registers its listening address and port when restarted, and there's no way to get kubelet to turn off TLS for its listening port. Do you have workarounds in mind for those issues? It'd be cool to simplify the data path. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you kill the
kubelet
process and then start it again right away you can put whatever commandline arguments you want. The way your doing it was the first approach I took, but in the end it seems easier uploading a rougekubelet
binary.I think you can have your proxy listening on local host and forwarding traffic to the Kubernetes API Server using the Kubelet's cert/key and listen for the kubelet outbound traffic intended for the Kubernetes API with plain text HTTP. Then, kill the
kubelet
process and restart it with commandline flags telling thekubelet
that the Kubernetes API server is listening on localhost without TLS.I think you may need to have the proxy listen on like
127.0.0.2
and add an entry to/etc/hosts
like127.0.0.2 api-server.com
The text was updated successfully, but these errors were encountered: