Created
August 26, 2020 15:04
-
-
Save bryanl/8e0b16bfddc3111248bf3ea8f8bdbd39 to your computer and use it in GitHub Desktop.
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
apiVersion: run.tanzu.vmware.com/v1alpha1 | |
kind: TanzuKubernetesCluster | |
metadata: | |
name: ${CLUSTER_NAME} | |
namespace: ${NAMESPACE} | |
spec: | |
distribution: | |
version: ${KUBERNETES_VERSION} | |
settings: | |
network: | |
cni: | |
name: calico | |
pods: | |
cidrBlocks: | |
- ${CLUSTER_CIDR} # CIDR block used by Calico | |
serviceDomain: ${SERVICE_DOMAIN} | |
services: | |
cidrBlocks: | |
- ${SERVICE_CIDR} # CIDR block used by Calico | |
storage: | |
classes: | |
[${STORAGE_CLASSES}] | |
defaultClass: "${DEFAULT_STORAGE_CLASS}" | |
topology: | |
controlPlane: | |
class: ${CONTROL_PLANE_VM_CLASS} | |
count: ${CONTROL_PLANE_MACHINE_COUNT} | |
storageClass: ${CONTROL_PLANE_STORAGE_CLASS} | |
workers: | |
class: ${WORKER_VM_CLASS} | |
count: ${WORKER_MACHINE_COUNT} | |
storageClass: ${WORKER_STORAGE_CLASS} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment