eks-anywhere
eks-anywhere copied to clipboard
Add control plane failure domains feature for Nutanix provider
Description of changes: Add control plane failure domains feature for Nutanix provider
- change Nutanix Datacenter CRD
- change templates
- generate manifests
- add unit test
Testing (if applicable):
$ eksctl anywhere create cluster -f ./multizone.cluster.yaml -v10 --bundles-override bin/local-bundle-release.yaml
2024-05-21T17:49:24.102Z V6 Executing command {"cmd": "/usr/bin/docker info --format '{{json .MemTotal}}'"}
2024-05-21T17:49:24.149Z V4 Reading bundles manifest {"url": "bin/local-bundle-release.yaml"}
2024-05-21T17:49:24.170Z V4 Using CAPI provider versions {"Core Cluster API": "v1.6.0+ae39aac", "Kubeadm Bootstrap": "v1.6.0+49ef750", "Kubeadm Control Plane": "v1.6.0+a7122b7", "External etcd Bootstrap": "v1.0.10+1ceb898", "External etcd Controller": "v1.0.17+5e33062", "Cluster API Provider Nutanix": "v1.3.3"}
2024-05-21T17:49:24.256Z V5 Retrier: {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2024-05-21T17:49:24.256Z V2 Pulling docker image {"image": "public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.18.6-eks-a-v0.0.0-dev-build.8321"}
2024-05-21T17:49:24.256Z V6 Executing command {"cmd": "/usr/bin/docker pull public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.18.6-eks-a-v0.0.0-dev-build.8321"}
2024-05-21T17:49:24.842Z V5 Retry execution successful {"retries": 1, "duration": "585.928748ms"}
2024-05-21T17:49:24.842Z V3 Initializing long running container {"name": "eksa_1716313764256829428", "image": "public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.18.6-eks-a-v0.0.0-dev-build.8321"}
2024-05-21T17:49:24.842Z V6 Executing command {"cmd": "/usr/bin/docker run -d --name eksa_1716313764256829428 --network host -w /home/ubuntu/multizone -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/multizone:/home/ubuntu/multizone -v /home/ubuntu/multizone:/home/ubuntu/multizone --entrypoint sleep public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.18.6-eks-a-v0.0.0-dev-build.8321 infinity"}
2024-05-21T17:49:25.004Z V0 Using the new workflow using the controller for management cluster create
2024-05-21T17:49:25.005Z V4 Task start {"task_name": "setup-validate"}
2024-05-21T17:49:25.005Z V0 Performing setup and validations
2024-05-21T17:49:25.005Z V0 ValidateClusterSpec for Nutanix datacenter {"NutanixDatacenter": "multizone"}
2024-05-21T17:49:30.699Z V0 ✅ Nutanix Provider setup is valid
2024-05-21T17:49:30.699Z V0 ✅ Validate OS is compatible with registry mirror configuration
2024-05-21T17:49:30.699Z V0 ✅ Validate certificate for registry mirror
2024-05-21T17:49:30.699Z V0 ✅ Validate authentication for git provider
2024-05-21T17:49:30.699Z V0 ✅ Validate cluster's eksaVersion matches EKS-A version
2024-05-21T17:49:30.699Z V4 Task finished {"task_name": "setup-validate", "duration": "5.694920554s"}
2024-05-21T17:49:30.700Z V4 ----------------------------------
...
2024-05-21T17:59:55.978Z V6 Executing command {"cmd": "/usr/bin/docker exec -i eksa_1716313764256829428 kind delete cluster --name multizone-eks-a-cluster"}
2024-05-21T17:59:57.129Z V5 Retry execution successful {"retries": 1, "duration": "1.150870568s"}
2024-05-21T17:59:57.129Z V0 🎉 Cluster created!
2024-05-21T17:59:57.129Z V4 Task finished {"task_name": "delete-kind-cluster", "duration": "1.553823627s"}
2024-05-21T17:59:57.129Z V4 ----------------------------------
2024-05-21T17:59:57.129Z V4 Task start {"task_name": "install-curated-packages"}
--------------------------------------------------------------------------------------
The Amazon EKS Anywhere Curated Packages are only available to customers with the
Amazon EKS Anywhere Enterprise Subscription
--------------------------------------------------------------------------------------
2024-05-21T17:59:57.129Z V0 Enabling curated packages on the cluster
...
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.