-
Notifications
You must be signed in to change notification settings - Fork 549
[Deployment] Secure kubelet public api #1088
Conversation
1 similar comment
@ydye , this PR breaks the deployment process, could you take a look? |
|
||
|
||
# Authentication for apiserver -> kubelet | ||
openssl genrsa -out ${certspath}/kubelet.ca.key 4096 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openssl [](start = 0, length = 7)
do you assume the host OS always has openssl? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When install docker, we installed ca-certificates which depends on openssl, and will install openssl first. #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should remove kubelet health metrics from watchdog after this PR is merged. |
Secure kubelet public api, add authentication for https port 10250 and close http port 10255. Please refer to kubernetes/kubernetes#7965, kubernetes/kubernetes#59666 for reasons and docker/for-linux#324, [Backdooring through kubelet](https://medium.com/handy-tech/analysis-of-a-kubernetes-hack-backdooring-through-kubelet-823be5c3d67c) for hacking examples.
b2672f4
to
ea4b8cd
Compare
Please hold on this PR. |
close this PR and address this issue in other PRs. |
Secure kubelet public api, add authentication for https port 10250 and close http port 10255.
Please refer to kubernetes/kubernetes#7965, kubernetes/kubernetes#59666 for reasons and docker/for-linux#324, Backdooring through kubelet for hacking examples.