This PR enables this feature gate and uses it to pass calico CNI manifests in order to install it during cluster bootstrap instead of waiting when it is right time to apply and re-trying in script.
KubeadmControlPlane (kcp) goes from UNAVAILABLE to AVAILABLE without kubectl apply calico in the script.
% k get kcp
NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION
mgmt-control-plane mgmt true true 1 1 1 0 6m19s v1.22.8
%
% k get clusterresourceset
NAME AGE
crs-calico 7m21s
%
% k get clusterresourceset crs-calico -o yaml | yq e '.status' -
conditions:
- lastTransitionTime: "2022-05-29T11:48:08Z"
status: "True"
type: ResourcesApplied
ClusterResourceSet is experimental feature in CAPI: https://cluster-api.sigs.k8s.io/tasks/experimental-features/experimental-features.html?highlight=feature-gates#experimental-features
This PR enables this feature gate and uses it to pass calico CNI manifests in order to install it during cluster bootstrap instead of waiting when it is right time to apply and re-trying in script.
KubeadmControlPlane (kcp) goes from
UNAVAILABLE
toAVAILABLE
without kubectl apply calico in the script.After installing Flux on AWS mgmt cluster: