Skip to content

Commit

Permalink
Add example file to use with udr type
Browse files Browse the repository at this point in the history
  • Loading branch information
rajan2 committed Mar 29, 2023
1 parent b7292ee commit cd1a8c2
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions examples/create-example-udr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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"
privateCluster: false,
linuxAdminUsername: "rancher-user",
loadBalancerSku: ""
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: "userDefinedRouting"
2 changes: 2 additions & 0 deletions examples/create-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
azureCredentialSecret: "REPLACE_WITH_K8S_SECRETS_NAME"
privateCluster: false,
linuxAdminUsername: "rancher-user",
loadBalancerSku: "standard"
sshPublicKey: "REPLACE_WITH_SSH_PUBLIC_KEY",
kubernetesVersion: "1.19.9"
nodePools:
Expand All @@ -35,3 +36,4 @@ spec:
minCount: 1
maxCount: 6
availabilityZones: [ "1", "2", "3" ]
outboundType: "loadBalancer"

0 comments on commit cd1a8c2

Please sign in to comment.