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

feat: CSE-based bootstrapping with bootstrapping client mode #527

Merged
merged 73 commits into from
Oct 25, 2024

Conversation

comtalyst
Copy link
Collaborator

@comtalyst comtalyst commented Oct 16, 2024

Fixes #

Description

Using provision servers provide opportunities for us to delegate deterministic bootstrapping details away to keep our maintenance focus on autoscaling.
For the first mode introduced here—the bootstrapping client—will also switch back to CSE-based bootstrapping for general stability. The server is expected to provide custom data and CSE based on our inputs of ProvisionProfile. See swagger file for specifics.

This pathway will be supported by NAP only, for now.

How was this change tested?

Does this change impact docs?

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

Release Note

NONE

(and migration to kube-system)
@comtalyst comtalyst force-pushed the comtalyst/nap-cse-bootstrapping branch from 9c691b3 to ff4706a Compare October 19, 2024 08:25
comtalyst and others added 7 commits October 20, 2024 11:58
This requires quite a bit of hacking, mostly overriding certain things
in the ctx. The major items are:

 * Copy and modify knative/pkg/webhook/resourcesemantics/conversion to
   support CRD clientConfig.url in addition to clientConfig.service.
 * Copy and modify karpenter/pkg/webhooks/webhooks.go to support
   overriding the informer factory, so that we can point it at the
   CCP APIServer rather than overlay.
 * Override Start and supporting methods on the provider specific
   operator in pkg/operator/operator.go to allow invoking our modified
   version of karpenter/pkg/webhooks/webhooks.go.
@comtalyst comtalyst merged commit 4f922e8 into main Oct 25, 2024
20 of 22 checks passed
@comtalyst comtalyst deleted the comtalyst/nap-cse-bootstrapping branch October 25, 2024 00:36
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants