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

Update static Pod manifests for Kubernetes v1.21.0 #257

Merged
merged 1 commit into from
Apr 11, 2021
Merged

Conversation

dghubble
Copy link
Member

  • Set kube-apiserver service-account-jwks-uri because conformance ServiceAccountIssuerDiscovery OIDC discovery will access a JWT endpoint using the kube-apiserver's advertise address by default, instead of using the intended in-cluster service (10.3.0.1) resolved by cluster DNS kubernetes.default.svc.cluster.local, which causes a cert SAN error
  • Set the authentication and authorization kubeconfig for kube-scheduler and kube-controller-manager. Here, authn/z refer to aggregated API use cases only, so its not strictly neccessary and warnings about missing extension-apiserver-authentication when enable_aggregation is false can be ignored
  • Mount /var/lib/kubelet/volumeplugins to to the default location expected within kube-controller-manager to remove the need for a flag
  • Enable tokencleaner controller to automatically delete expired bootstrap tokens (default node token is good 1 year, so cleanup won't really matter at that point, but enable regardless)
  • Remove unused cloud-provider flag, we never intend to use in-tree cloud providers or support custom providers

* Set `kube-apiserver` `service-account-jwks-uri` because conformance
ServiceAccountIssuerDiscovery OIDC discovery will access a JWT endpoint
using the kube-apiserver's advertise address by default, instead of
using the intended in-cluster service (10.3.0.1) resolved by cluster DNS
`kubernetes.default.svc.cluster.local`, which causes a cert SAN error
* Set the authentication and authorization kubeconfig for kube-scheduler
and kube-controller-manager. Here, authn/z refer to aggregated API
use cases only, so its not strictly neccessary and warnings about
missing `extension-apiserver-authentication` when enable_aggregation
is false can be ignored
* Mount `/var/lib/kubelet/volumeplugins` to to the default location
expected within kube-controller-manager to remove the need for a flag
* Enable `tokencleaner` controller to automatically delete expired
bootstrap tokens (default node token is good 1 year, so cleanup won't
really matter at that point, but enable regardless)
* Remove unused `cloud-provider` flag, we never intend to use in-tree
cloud providers or support custom providers
@dghubble dghubble merged commit a4ecf16 into master Apr 11, 2021
@dghubble dghubble deleted the static-pods branch April 11, 2021 22:10
dghubble-robot pushed a commit to poseidon/terraform-azure-kubernetes that referenced this pull request Apr 11, 2021
dghubble-robot pushed a commit to poseidon/terraform-onprem-kubernetes that referenced this pull request Apr 11, 2021
dghubble-robot pushed a commit to poseidon/terraform-google-kubernetes that referenced this pull request Apr 11, 2021
dghubble-robot pushed a commit to poseidon/terraform-aws-kubernetes that referenced this pull request Apr 11, 2021
dghubble-robot pushed a commit to poseidon/terraform-digitalocean-kubernetes that referenced this pull request Apr 11, 2021
Snaipe pushed a commit to aristanetworks/monsoon that referenced this pull request Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant