Update the ACI README.md about Tolerations
Add notice about adding tolerations to the pod which desires to be scheduled to the VK nodes.
This commit is contained in:
@@ -299,6 +299,14 @@ spec:
|
|||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Notice that Virtual-Kubelet nodes are tainted by default to avoid unexpected pods running on them, i.e. kube-proxy, other virtual-kubelet pods, etc. To schedule a pod to them, you need to add the tolerations to your pod spec:
|
||||||
|
|
||||||
|
```
|
||||||
|
tolerations:
|
||||||
|
- key: azure.com/aci
|
||||||
|
effect: NoSchedule
|
||||||
|
```
|
||||||
|
|
||||||
Run the application with the [kubectl create][kubectl-create] command.
|
Run the application with the [kubectl create][kubectl-create] command.
|
||||||
|
|
||||||
```cli
|
```cli
|
||||||
|
|||||||
Reference in New Issue
Block a user