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

fix: enable kubelet serving certificate rotation #651

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tallaxes
Copy link
Collaborator

@tallaxes tallaxes commented Jan 15, 2025

Description

Configures ENABLE_KUBELET_SERVING_CERTIFICATE_ROTATION=true in bootstrap (should fix bootstrap of 202501.12.0 VHD image version).

How was this change tested?

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


@tallaxes tallaxes added area/bootstrap Issues or PRs related to bootstrap area/vm-images Issues or PRs related to VM images or image galleries labels Jan 15, 2025
@tallaxes tallaxes self-assigned this Jan 15, 2025
@@ -116,6 +116,7 @@ HTTPS_PROXY_URLS="{{.HTTPSProxyURLs}}"
NO_PROXY_URLS="{{.NoProxyURLs}}"
ENABLE_TLS_BOOTSTRAPPING="{{.TLSBootstrappingEnabled}}"
ENABLE_SECURE_TLS_BOOTSTRAPPING="{{.SecureTLSBootstrappingEnabled}}"
ENABLE_KUBELET_SERVING_CERTIFICATE_ROTATION="true"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not currently safe to set to true in public cloud regions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once it is safe to do so in any public region, this should only be set to true iff:

  • MC is on k8s 1.27+
  • MC has k8s RBAC enabled

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's already correct, but please also be sure to maintain these settings for --tls-cert-file + --tls-private-key-file:

https://github.com/Azure/karpenter-provider-azure/blob/main/pkg/providers/imagefamily/bootstrap/aksbootstrap.go#L269-L271

@tallaxes tallaxes marked this pull request as draft January 15, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Issues or PRs related to bootstrap area/vm-images Issues or PRs related to VM images or image galleries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants