Skip to content
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

Unable to replace/patch the service or pdb #550

Closed
sandeep-chekuri opened this issue Apr 9, 2019 · 2 comments
Closed

Unable to replace/patch the service or pdb #550

sandeep-chekuri opened this issue Apr 9, 2019 · 2 comments

Comments

@sandeep-chekuri
Copy link

We are getting below error when we try to use replaceNamespacedServiceCall or replaceNamespacedService or patchNamespacedServiceCall or patchNamespacedService in CoreV1Api.
Response{protocol=http/1.1, code=422, message=Unprocessable Entity, url=https://k8s-cluster.test.com:6443/api/v1/namespaces/mynamespace/services/myservice}

We are seeing the similar issue with pdb and we are using PolicyV1beta1Api

@yue9944882
Copy link
Member

sounds like separated issues. for replaceNamespacedServiceCall calls, 422 suggests that the posted service fails the api validation. patchNamespacedService can by caused by illegal patch formats which can be a duplicate of #127

@brendandburns
Copy link
Contributor

Closing this in favor of #127 or possibly just because it's a malformed request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants