Created
July 4, 2019 18:53
-
-
Save mariusv/2f06d52aac839e0d79c84e8e43bd8371 to your computer and use it in GitHub Desktop.
Patch kops DNS controller to `--watch-ingress=true`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps for the workaround: | |
Check the yaml of current deployment for the dns-controller. Here you will find the path to the --watch-ingress setting. | |
`kubectl get deployment -n kube-system dns-controller -o yaml` | |
Use the path and make a patch of the deployment. I think the path here will work for most. | |
```kubectl patch deployment -n kube-system dns-controller --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/command/1", "value":"--watch-ingress=true"}]'``` | |
Check the patched pod for changes. | |
`kubectl get pod -n kube-system dns-controller-84dc7cc57f-46ztt -o yaml` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment