-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve eksctl-anywhere cluster config generation with parameters for…
… bare metal and vSphere Sample command for bare metal is: eksctl anywhere generate clusterconfig <cluster name> \ -p tinkerbell \ -m params_tinkerbell.yaml Sample params_tinkerbell.yaml has content: """ managementClusterName: <management cluster name> podsCidrBlocks: - 192.168.64.0/18 servicesCidrBlocks: - 10.96.0.0/12 kubernetesVersion: 1.26 cpCount: 1 workerCount: 2 cpEndpointHost: <control plane endpoint host ip> tinkerbellIP: <tinkerbellIP> adminIP: <admin machine ip> osFamily: ubuntu osImageURL: <osImageURL of K8s 1.26> hardwareCSV: <hardware CSV file> sshAuthorizedKeyFile: <sshKey.pub file> tinkerbellTemplateConfigTemplateFile: tinkerbellTemplateConfigTemplateUbuntu.yaml """ managementClusterName is optional, the default value is <cluster name> tinkerbellTemplateConfigTemplateFile is for advanced use cases, the default ("") is ok to use Sample command for vSphere is: eksctl anywhere generate clusterconfig <cluster name> -p vsphere -m params_vsphere.yaml Sample params_vsphere.yaml has content: """ managementClusterName: <management cluster name> podsCidrBlocks: - 192.168.192.0/18 servicesCidrBlocks: - 10.96.192.0/18 cpCount: 2 etcdCount: 3 workerCount: 3 cpEndpointHost: <control plane endpoint host ip> kubernetesVersion: 1.28 datacenter: <vDatacenter> insecure: true network: <vCenterNetwork> server: <serverIP> thumbprint: <thumprint> datastore: <vDatastore> folder: <folder> cpDiskGiB: 0 cpMemoryMiB: 0 cpNumCPUs: 0 etcdDiskGiB: 0 etcdMemoryMiB: 0 etcdNumCPUs: 0 workerDiskGiB: 256 workerMemoryMiB: 65536 workerNumCPUs: 16 osFamily: "ubuntu" resourcePool: <resource pool> template: <template name of OS> sshAuthorizedKeyFile: <sshKey.pub> """ managementClusterName is optional, the default value is <cluster name>
- Loading branch information
1 parent
797d0c7
commit f0fb3ad
Showing
13 changed files
with
631 additions
and
48 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
Oops, something went wrong.