Skip to content

Commit

Permalink
add ako overlay for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
warroyo committed Jan 31, 2022
1 parent 71d7f61 commit 54405bc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions windows/ako/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# add tolerations for AKO pod on windows clusters

this can be applied after the fact to a mgmt cluster in order to allow for the AKO pods to run on the control plane nodes which is necessary on windows clusters


# Usage

Connect to your management cluster and run the following.

on linux

```
export AKO_OVERLAY=`cat ako-toleration-overlay.yml| base64 -w 0`
```

on mac:

```
export AKO_OVERLAY=`cat ako-toleration-overlay.yml| base64`
```

Run the below commands to patch the secret and add the overlay.

get the secret name to modify. the below command will list out some secrets, grab the name of the one that has your cluster name as a prefix.


```
kubectl get secrets | grep ingress
```

```
kubectl patch secret <secret-from-above> -p '{"data": {"overlays.yaml": "'$AKO_OVERLAY'"}}'
```


connect to your windows cluster and you should see the AKO pod recreate shortly after.
Empty file.

0 comments on commit 54405bc

Please sign in to comment.