Upgrade Kubernetes to 1.21.2

https://github.com/airshipit/airshipctl/issues/589

Change-Id: I2141b4637ffa9ebbd22ba6c46421a97e901dda12
Signed-off-by: diwakar thyagaraj <dt241s@att.com>
This commit is contained in:
diwakar thyagaraj 2021-07-27 20:39:55 +00:00
parent cc155f3379
commit fae854bcef
4 changed files with 7 additions and 7 deletions

View File

@ -18,10 +18,10 @@ spec:
resourceGroup: <Azure Resource Group Name> resourceGroup: <Azure Resource Group Name>
region: <Azure Region, e.g., centralus> region: <Azure Region, e.g., centralus>
cluster: cluster:
k8sVersion: <Kubernetes version, e.g., 1.18.6> k8sVersion: <Kubernetes version, e.g., 1.21.2>
vmSize: <Azure Compute VM Type, e.g., Standard_B2s> vmSize: <Azure Compute VM Type, e.g., Standard_B2s>
replicas: <Node Replica Number for the cluster. Default is 1> replicas: <Node Replica Number for the cluster. Default is 1>
kubeconfig: <Kubernetes version, e.g., 1.18.2> kubeconfig: <Kubernetes version, e.g., 1.21.2>
</YAML> </YAML>
It also accepts the JSON file format. It also accepts the JSON file format.
@ -42,10 +42,10 @@ It also accepts the JSON file format.
"resourceGroup":"<Azure Resource Group Name>", "resourceGroup":"<Azure Resource Group Name>",
"region":"<Azure Region, e.g., centralus>", "region":"<Azure Region, e.g., centralus>",
"cluster":{ "cluster":{
"k8sVersion":"<Kubernetes version, e.g., 1.18.6>", "k8sVersion":"<Kubernetes version, e.g., 1.21.2>",
"vmSize":"<Azure Compute VM Type, e.g., Standard_B2s>", "vmSize":"<Azure Compute VM Type, e.g., Standard_B2s>",
"replicas":<Node Replica Number for the cluster>, "replicas":<Node Replica Number for the cluster>,
"kubeconfig":"<Kubernetes version, e.g., 1.18.2>" "kubeconfig":"<Kubernetes version, e.g., 1.21.2>"
} }
} }
} }

View File

@ -13,7 +13,7 @@
"resourceGroup":"airship2-zuul-rg", "resourceGroup":"airship2-zuul-rg",
"spec":{ "spec":{
"cluster":{ "cluster":{
"k8sVersion":"1.18.6", "k8sVersion":"1.21.2",
"kubeconfig":"capz.kubeconfig", "kubeconfig":"capz.kubeconfig",
"replicas":1, "replicas":1,
"vmSize":"Standard_B2s" "vmSize":"Standard_B2s"

View File

@ -22,7 +22,7 @@ spec:
resourceGroup: airship2-zuul-rg resourceGroup: airship2-zuul-rg
region: centralus region: centralus
cluster: cluster:
k8sVersion: 1.18.6 k8sVersion: 1.21.2
vmSize: Standard_B2s vmSize: Standard_B2s
replicas: 1 replicas: 1
kubeconfig: capz.kubeconfig kubeconfig: capz.kubeconfig

View File

@ -47,7 +47,7 @@ const (
defaultResourceGroup = "airship2-aks-rg" defaultResourceGroup = "airship2-aks-rg"
defaultClusterName = "capi-azure" defaultClusterName = "capi-azure"
defaultVMSize = "Standard_B2s" defaultVMSize = "Standard_B2s"
defaultK8SVersion = "1.18.6" defaultK8SVersion = "1.21.2"
defaultKubeconfig = "kubeconfig" defaultKubeconfig = "kubeconfig"
) )