Skip to content

Instantly share code, notes, and snippets.

@keitaj
Last active October 16, 2020 00:55
Show Gist options
  • Save keitaj/cb63227c0c7d044c08cf983765d08ced to your computer and use it in GitHub Desktop.
Save keitaj/cb63227c0c7d044c08cf983765d08ced to your computer and use it in GitHub Desktop.
Kubernetes Troubleshooting

The Service "xxx" is invalid: spec.clusterIP: Invalid value: "None": field is immutable

Because clusterIP was already created, first run kubectl delete manually, and then deploy.

kubectl delete -f deploy.yaml
kubectl apply -f deploy.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment