You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add kube-vip static Pod in a Nutanix handler (#558)
**What problem does this PR solve?**:
Stacked on
#554
This PR moves the responsibility of adding the control-plan kube-vip to
CAREN away from infra providers.
This has a big benefit of being able to keep this implementation and the
image version consistent across the different providers.
~Because CAPX is always requires kube-vip to be installed there are no
API changes, but in the future we can add support to disable or change
the provider.~
Added an empty `virtualIP{}` struct to Nutanix `controlPlaneEndpoint`.
```
spec:
topology:
variables:
- name: clusterConfig
value:
nutanix:
controlPlaneEndpoint:
host: x.x.x.x
port: 6443
virtualIP: {}
```
**Which issue(s) this PR fixes**:
Fixes https://jira.nutanix.com/browse/D2IQ-100364
**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->
New unit tests, and tested manually too:
```
clusterctl describe cluster $CLUSTER_NAME
NAME READY SEVERITY REASON SINCE MESSAGE
Cluster/dkkonvoy-042324-nutanix-03 True 76m
├─ClusterInfrastructure - NutanixCluster/dkkonvoy-042324-nutanix-03-wvv6d
├─ControlPlane - KubeadmControlPlane/dkkonvoy-042324-nutanix-03-sv2zb True 76m
│ └─Machine/dkkonvoy-042324-nutanix-03-sv2zb-ds5mv True 76m
│ └─MachineInfrastructure - NutanixMachine/dkkonvoy-042324-nutanix-03-sv2zb-ds5mv
└─Workers
└─MachineDeployment/dkkonvoy-042324-nutanix-03-md-0-w6mls True 74m
└─Machine/dkkonvoy-042324-nutanix-03-md-0-w6mls-979mw-c582s True 74m
└─MachineInfrastructure - NutanixMachine/dkkonvoy-042324-nutanix-03-md-0-w6mls-979mw-c582s
```
**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
---------
Co-authored-by: Jimmi Dyson <[email protected]>
0 commit comments