Created
March 26, 2021 18:50
-
-
Save M00nF1sh/84d380b4e08017a5bc958658f7010914 to your computer and use it in GitHub Desktop.
KubeProxy patch - Hostname mismatch
This file contains 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
spec: | |
template: | |
spec: | |
containers: | |
- name: kube-proxy | |
command: | |
- kube-proxy | |
- --hostname-override=$(NODE_NAME) | |
- --v=2 | |
- --config=/var/lib/kube-proxy-config/config | |
env: | |
- name: NODE_NAME | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: spec.nodeName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment