-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the cardinality of subnet and source of subnet data
The cardinality of subnets in the clusterclass was incorrect and the source of subnet for worker machine deployment was incorrect. This changes the subnet cardinality from 1 to n and changes the source of subnets for worker machine deployments to workermachinedetails variable.
- Loading branch information
1 parent
5c2df1b
commit 2cfc849
Showing
12 changed files
with
207 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
labels: | ||
ccm: nutanix | ||
cluster.x-k8s.io/cluster-name: cluster-with-subnets | ||
name: cluster-with-subnets | ||
spec: | ||
topology: | ||
class: nutanix-quick-start | ||
controlPlane: | ||
metadata: {} | ||
replicas: 1 | ||
variables: | ||
- name: sshKey | ||
value: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMe61GqA9gqeX3zDCiwuU8zEDt3ckLnfVm8ZxN7UuFyL user@host | ||
- name: controlPlaneEndpoint | ||
value: | ||
IP: 1.2.3.4 | ||
port: 6443 | ||
- name: prismCentralEndpoint | ||
value: | ||
address: prismcentral.fake | ||
credentialSecret: nutanix-quick-start-pc-creds | ||
insecure: false | ||
port: 9440 | ||
- name: controlPlaneMachineDetails | ||
value: | ||
bootType: legacy | ||
clusterName: fake-cluster | ||
imageName: ubuntu-2204-kube-v1.29.2.qcow2 | ||
memorySize: 4Gi | ||
subnets: | ||
- type: name | ||
name: shared-subnet | ||
- type: name | ||
name: controlplane-subnet | ||
systemDiskSize: 40Gi | ||
vcpuSockets: 2 | ||
vcpusPerSocket: 1 | ||
- name: workerMachineDetails | ||
value: | ||
bootType: legacy | ||
clusterName: fake-cluster | ||
imageName: ubuntu-2204-kube-v1.29.2.qcow2 | ||
memorySize: 4Gi | ||
subnets: | ||
- type: name | ||
name: shared-subnet | ||
- type: name | ||
name: worker-subnet | ||
systemDiskSize: 40Gi | ||
vcpuSockets: 2 | ||
vcpusPerSocket: 1 | ||
version: v1.29.2 | ||
workers: | ||
machineDeployments: | ||
- class: nutanix-quick-start-worker | ||
name: md-0 | ||
replicas: 2 |
Oops, something went wrong.