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

Issue with k8s.io/docs/tutorials/stateful-application/basic-stateful-set/ #15507

Closed
IhorHryshkov opened this issue Jul 23, 2019 · 0 comments · Fixed by #15510
Closed

Issue with k8s.io/docs/tutorials/stateful-application/basic-stateful-set/ #15507

IhorHryshkov opened this issue Jul 23, 2019 · 0 comments · Fixed by #15510

Comments

@IhorHryshkov
Copy link

IhorHryshkov commented Jul 23, 2019

This is a Bug Report
Is not a bug, but I think this is feature.

Problem:
In version 1.15.0 kubernetes does not return error, how writing in documentation:

In a second terminal, recreate the StatefulSet. Note that, unless you deleted the nginx Service ( which you should not have ), you will see an error indicating that the Service already exists.

kubectl apply -f web.yaml
statefulset.apps/web created
Error from server (AlreadyExists): error when creating "web.yaml": services "nginx" already exists

Proposed Solution:
I think need update documentation for 1.15.0 version and add next response if user install 1.15.0 version:

kubectl apply -f web.yaml
service/nginx unchanged
statefulset.apps/web created

Page to Update:
https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/

Kubernetes Version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-21T13:09:06Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:32:14Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

Additional Information:
Linux tester-tester 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

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

Successfully merging a pull request may close this issue.

1 participant