-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"delete patch type with no merge key defined" when removing mountPath #36024
Comments
|
cc @ymqytw @pwittrock |
I guess you are using
See: http://kubernetes.io/docs/user-guide/kubectl/kubectl_apply/ |
@ymqytw I created and updated the resource using |
@msmans Can you paste the output of |
|
And this is after the second
|
We changed the |
@msmans If you use the same kubectl client version as the server, does this resolve the issue? |
@pwittrock yep — upgrading the client fixed the issue. Closing. |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
delete patch type with no merge key defined
cannot apply deleted mountpath kubernetes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Kubernetes version (use
kubectl version
):Environment:
AWS
Arch Linux
uname -a
):Linux niagara 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux
?
?
What happened: After removing one of the pod container's
volumeMounts
from a deployment spec file and attempted to apply it usingkubectl apply -f test-deploy.yaml
, I got the following error message:What you expected to happen: changes to take effect successfully
How to reproduce it (as minimally and precisely as possible):
Once successfully up, remove the lines below and use
kubectl apply
to update it:Anything else do we need to know:
The text was updated successfully, but these errors were encountered: