Skip to content
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

Run kube-apiserver with lower privilege user (nobody) #506

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Jul 9, 2019

  • Run kube-apiserver as a non-root user (nobody). User no longer needs to bind low number ports.
  • On most platforms, the kube-apiserver load balancer listens on 6443 and fronts controllers with kube-apiserver pods using port 6443. Google Cloud TCP proxy load balancers cannot listen on 6443. However, GCP's load balancer can be made to listen on 443, while kube-apiserver uses 6443 across all platforms.

Related: poseidon/terraform-render-bootstrap#142 poseidon/terraform-render-bootstrap#141

@dghubble dghubble force-pushed the lower-privilege-kube-apiserver branch from 1c827b1 to ee5f58a Compare July 9, 2019 03:50
* Run kube-apiserver as a non-root user (nobody). User
no longer needs to bind low number ports.
* On most platforms, the kube-apiserver load balancer listens
on 6443 and fronts controllers with kube-apiserver pods using
port 6443. Google Cloud TCP proxy load balancers cannot listen
on 6443. However, GCP's load balancer can be made to listen on
443, while kube-apiserver uses 6443 across all platforms.
@dghubble dghubble force-pushed the lower-privilege-kube-apiserver branch from ee5f58a to 69d064b Compare July 9, 2019 03:52
@dghubble dghubble merged commit 69d064b into master Jul 9, 2019
@dghubble dghubble deleted the lower-privilege-kube-apiserver branch July 9, 2019 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant