aks-operator/examples/create-example.yaml

41 lines
1.0 KiB
YAML

apiVersion: aks.cattle.io/v1
kind: AKSClusterConfig
metadata:
name: my-cluster
spec:
resourceLocation: "germanywestcentral"
resourceGroup: "my-group"
clusterName: "my-cluster"
baseUrl: "https://management.azure.com/"
authBaseUrl: "https://login.microsoftonline.com"
azureCredentialSecret: "REPLACE_WITH_K8S_SECRETS_NAME"
dnsPrefix: "example-dns"
privateCluster: false
linuxAdminUsername: "rancher-user"
loadBalancerSku: "standard"
sshPublicKey: "REPLACE_WITH_SSH_PUBLIC_KEY"
kubernetesVersion: "1.19.9"
nodePools:
- name: "masters"
count: 1
vmSize: "Standard_DS2_v2"
osDiskSizeGB: 128
osDiskType: "Managed"
maxPods: 110
mode: "System"
osType: "Linux"
- name: "workers"
orchestratorVersion: "1.19.9"
count: 6
vmSize: "Standard_DS2_v2"
osDiskSizeGB: 128
osDiskType: "Managed"
maxPods: 110
mode: "User"
osType: "Linux"
enableAutoScaling: true
minCount: 1
maxCount: 6
availabilityZones: [ "1", "2", "3" ]
outboundType: "loadBalancer"