1
1
# Install a downgraded Azure ACI plugin for Virtual Kubelet
2
2
3
- This document presents the instructions to install a previous official Azure ACI plugin using Helm (1.4.1 as an example).
3
+ This document presents the instructions to install a previous official Azure ACI plugin using Helm (1.4.5 as an example).
4
4
5
5
## Prerequisites
6
6
@@ -13,21 +13,21 @@ Install [Helm](https://helm.sh/docs/intro/quickstart/#install-helm)
13
13
``` shell
14
14
$ git clone https://github.com/virtual-kubelet/azure-aci.git
15
15
$ cd azure-aci
16
- $ git checkout v1.4.1
16
+ $ git checkout v1.4.5
17
17
```
18
18
19
19
### Prepare ` env ` variables
20
20
21
21
``` shell
22
22
# Fixed variables
23
23
export CHART_NAME=virtual-kubelet-azure-aci-downgrade
24
- export VK_RELEASE=virtual-kubelet-azure-aci-1.4.1
25
- export NODE_NAME=virtual-kubelet-aci-1.4.1
24
+ export VK_RELEASE=virtual-kubelet-azure-aci-1.4.5
25
+ export NODE_NAME=virtual-kubelet-aci-1.4.5
26
26
export CHART_URL=https://github.com/virtual-kubelet/azure-aci/raw/gh-pages/charts/$VK_RELEASE .tgz
27
27
export MASTER_URI=$( kubectl cluster-info | awk ' /Kubernetes control plane/{print $7}' | sed " s,\x1B\[[0-9;]*[a-zA-Z],,g" )
28
28
export IMG_URL=mcr.microsoft.com
29
29
export IMG_REPO=oss/virtual-kubelet/virtual-kubelet
30
- export IMG_TAG=1.4.1
30
+ export IMG_TAG=1.4.5
31
31
export ENABLE_VNET=true
32
32
33
33
# ASK cluster dependent variables
@@ -69,7 +69,7 @@ helm install "$CHART_NAME" \
69
69
--set providers.azure.vnet.clusterCidr=$CLUSTER_SUBNET_RANGE \
70
70
--set providers.azure.vnet.kubeDnsIp=$KUBE_DNS_IP \
71
71
--set providers.azure.managedIdentityID=$VIRTUALNODE_USER_IDENTITY_CLIENTID \
72
- ./helm
72
+ ./charts/virtual-kubelet
73
73
74
74
```
75
75
@@ -142,19 +142,19 @@ $ kubectl get nodes
142
142
143
143
` ` ` shell
144
144
NAME STATUS ROLES AGE VERSION
145
- virtual-kubelet-aci-1.4.1 Ready agent 2m v1.19.10-vk-azure-aci-v1.4.1
146
- virtual-node-aci-linux Ready agent 150m v1.19.10-vk-azure-aci-v1.4.4 -dev
145
+ virtual-kubelet-aci-1.4.5 Ready agent 2m v1.19.10-vk-azure-aci-v1.4.5
146
+ virtual-node-aci-linux Ready agent 150m v1.19.10-vk-azure-aci-v1.4.6 -dev
147
147
` ` `
148
148
149
- The ` virtual-kubelet-aci-1.4.1 ` virtual node is managed by the downgraded version of ACI virtual kubelet.
150
- Users can add labels/taints to the ` virtual-kubelet-aci-1.4.1 ` node and change the deployment Pod
151
- template accordingly so that new Pods can be scheduled to the ` virtual-kubelet-aci-1.4.1 ` virtual node.
149
+ The ` virtual-kubelet-aci-1.4.5 ` virtual node is managed by the downgraded version of ACI virtual kubelet.
150
+ Users can add labels/taints to the ` virtual-kubelet-aci-1.4.5 ` node and change the deployment Pod
151
+ template accordingly so that new Pods can be scheduled to the ` virtual-kubelet-aci-1.4.5 ` virtual node.
152
152
153
153
# ## Uninstallation
154
154
155
155
Once the downgraded virtual kubelet is not needed anymore, run the following commands to undo the changes.
156
156
157
157
` ` ` shell
158
158
helm uninstall virtual-kubelet-azure-aci-downgrade
159
- kubectl delete node virtual-kubelet-aci-1.4.1
159
+ kubectl delete node virtual-kubelet-aci-1.4.5
160
160
` ` `
0 commit comments