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

worker node do not have roles #298

Closed
gyliu513 opened this issue Apr 4, 2019 · 8 comments
Closed

worker node do not have roles #298

gyliu513 opened this issue Apr 4, 2019 · 8 comments
Assignees
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.

Comments

@gyliu513
Copy link
Contributor

gyliu513 commented Apr 4, 2019

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

After my cluster was provisioned, I found that the worker node role is none, but master node do have a role named as master, so I think that we should also add a role for worker node as well.

root@liugya-master-cpr5j:~# kubectl get nodes
NAME                  STATUS   ROLES    AGE     VERSION
liugya-master-cpr5j   Ready    master   3h50m   v1.14.0
liugya-node-ngw58     Ready    <none>   3h47m   v1.14.0

/cc @jichenjc @chrigl

What did you expect to happen:

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 4, 2019
@jichenjc
Copy link
Contributor

jichenjc commented Apr 4, 2019

I found same situation, will something like 'worker' enough @gyliu513 ?

@gyliu513
Copy link
Contributor Author

gyliu513 commented Apr 4, 2019

@jichenjc Yes, I think we can set it as worker first.

@jichenjc
Copy link
Contributor

jichenjc commented Apr 4, 2019

I am working on this, seems

kubectl label node minikube node-role.kubernetes.io/worker=

works, however, the issue is we need create master first then apply the nodes after that
then we are done..so need some place to add this logic,maybe in cluster-api??

kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready master 33h v1.12.7
root@kvm-017751:/go/src/sigs.k8s.io/cluster-api-provider-openstack/cmd/clusterctl/examples/openstack/provider-component/user-data/ubuntu# kubectl label node minikube node-role.kubernetes.io/worker=
node/minikube labeled
root@kvm-017751:
/go/src/sigs.k8s.io/cluster-api-provider-openstack/cmd/clusterctl/examples/openstack/provider-component/user-data/ubuntu# kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready master,worker 33h v1.12.7

@jichenjc
Copy link
Contributor

jichenjc commented Apr 4, 2019

/assign

@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 3, 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 2, 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.
Projects
None yet
Development

No branches or pull requests

4 participants