Repository navigation
Let the CCM deployment start on a fresh cluster - #118
Open
bhouse-nexthop wants to merge 1 commit into
Open
bhouse-nexthop wants to merge 1 commit into
bhouse-nexthop wants to merge 1 commit into
Conversation
- hostNetwork: true: no pod network until nodes are initialised, and the CCM is what initialises them - dnsPolicy: Default: use the node's resolver, CoreDNS may not be running yet - declare port 10258 so the scheduler never puts two CCM pods on one host; rolling update maxSurge 0 / maxUnavailable 1 so a single replica can be replaced on a single eligible node - tolerate the node.kubernetes.io/not-ready, node.kubernetes.io/network-unavailable, control-plane and master NoSchedule taints - prefer control-plane nodes - e2e comment and development docs: drop the reason that pods cannot use docker's DNS, which no longer holds on the host network Signed-off-by: Brad House <bhouse@nexthop.ai>
Author
Lab test: passedTested on a nested KVM CloudStack lab running a main (24.0.0-SNAPSHOT) build. The kubelets ran with
On every node:
A LoadBalancer Service got a public IP and answered HTTP 200 through it. There were no restart loops and no CCM DNS errors. |
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets the CCM in
deployment.yamlstart on a fresh cluster, before the CNI and CoreDNS are up. CloudStack CKS ships this manifest in its binaries ISO.hostNetwork: truednsPolicy: DefaultClusterFirstWithHostNetwould point at it. As a result, theapi-urlcan no longer be a cluster Service name.not-readyandnetwork-unavailableNoSchedule taintscontrol-planeandmasterNoSchedule taints, and prefer control-plane nodesmastercovers clusters older than 1.25.containerPort: 10258maxSurge: 0,maxUnavailable: 1docs/development.mdThe existing
uninitializedtoleration is unchanged.Testing
go build ./... && go test ./...k8s.io/api/apps/v1, and parsed every document as YAML.Fixes #117