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

Edit service kubernetes-dashboard failed with ClusterIP #76730

Closed
ylacaute opened this issue Apr 17, 2019 · 5 comments
Closed

Edit service kubernetes-dashboard failed with ClusterIP #76730

ylacaute opened this issue Apr 17, 2019 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/ui Categorizes an issue or PR as relevant to SIG UI.

Comments

@ylacaute
Copy link

ylacaute commented Apr 17, 2019

Environment
Installation method: kubeadm (manual)
Hardware configuration: VPS OVH (dedicated host, 2 CPU, 8Go RAM)
OS: Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
Kubernetes version: v1.14.1
Dashboard version: 1.10.1
Node.js version ('node --version' output): No node installed
Go version ('go version' output): No go installed
Steps to reproduce

With a running cluster with a single node master :
Add the dashboard:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml 

Then edit the config by changing type ClusterIP to NodePort :

kubectl -n kube-system edit service kubernetes-dashboard

Everything ok, then do it again and change type NodePort to ClusterIP :

kubectl -n kube-system edit service kubernetes-dashboard
Observed result

We are unable to save back to ClusterIP type with the following output :

error: services "kubernetes-dashboard" is invalid
A copy of your changes has been stored to "/tmp/kubectl-edit-bhe72.yaml"
error: Edit cancelled, no valid changes were saved.
Expected result

We should be able to update the file exactly as it was after a fresh installation.

Comments

I opened the issue on dashboard repo but we told me the issue should be here.
Related but different issue : #24040

Sorry if this is not bug, I am still discovering K8S.
@kubernetes/sig-contributor-experience-bugs

@ylacaute ylacaute added the kind/bug Categorizes issue or PR as related to a bug. label Apr 17, 2019
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Apr 17, 2019
@neolit123
Copy link
Member

neolit123 commented Apr 18, 2019

/sig ui

@k8s-ci-robot k8s-ci-robot added sig/ui Categorizes an issue or PR as relevant to SIG UI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Apr 18, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 17, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 16, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/ui Categorizes an issue or PR as relevant to SIG UI.
Projects
None yet
Development

No branches or pull requests

4 participants