Skip to content

Instantly share code, notes, and snippets.

@leeadh
Created May 6, 2020 16:47
Show Gist options
  • Save leeadh/3a994c2a3451f09f8d0d2cf9300ba50a to your computer and use it in GitHub Desktop.
Save leeadh/3a994c2a3451f09f8d0d2cf9300ba50a to your computer and use it in GitHub Desktop.
apiVersion: run.tanzu.vmware.com/v1alpha1 #tkg api endpoint
kind: TanzuKubernetesCluster #required parameter
metadata:
name: {{CLUSTER_NAME}} #cluster name, user defined
namespace: {{GUEST_CLUSTER_NS}} #supervisor namespace
spec:
distribution:
version: v1.16.8 #resolved kubernetes version
topology:
controlPlane:
count: {{MASTER_NODE_COUNT}} #number of master nodes
class: {{MASTER_NODE_SIZE}} #vmclass for master nodes
storageClass: v7-storage-policy #storageclass for master nodes
workers:
count: {{WORKER_NODE_COUNT}} #number of worker nodes
class: {{WORKER_NODE_SIZE}} #vmclass for worker nodes
storageClass: v7-storage-policy #storageclass for worker nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment