-
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
PortalIP assignment #2934
Comments
On Mon, Dec 15, 2014 at 5:23 AM, abonas notifications@github.com wrote:
|
@thockin is there anywhere (or at least planned) the documentation of various errors returned from REST api? I mean beyond the standard 404, 500, etc. |
We do plan to document and test (and, in some cases, fix) status code behavior: #2174. |
@bgrant0607 Brian - you added 1.0 milestone to this issue, but I'm not sure what is the action item here. Can you please explain what should be done? |
The action here is/was to verify the behavior and ensure it is documented correctly. Thanks to @saad-ali we now have general status code behavior documented: It doesn't say what happens in this specific case, though I don't know that it's possible to document every specific case, at least not in a way that's kept up to date. I can confirm that 422 is returned in this case: It would be useful to document that users/clients can specify PortalIP in the services doc: |
I'll take the update to services.md and then close this. |
According to this page:
https://github.com/GoogleCloudPlatform/kubernetes/blob/5ef34bf52311901b997119cc49eff944c610081b/pkg/api/v1beta3/types.go
"PortalIP is usually assigned by the master. If specified by the user
// we will try to respect it or else fail the request. This field can
// not be changed by updates."
PortalIP string
json:"portalIP,omitempty"
The text was updated successfully, but these errors were encountered: