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

Minikube node tainted with k8s 1.9.6 - Pods Unschedulable as a result #3028

Closed
huguesalary opened this issue Jul 30, 2018 · 6 comments
Closed
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

@huguesalary
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report

Please provide the following details:

Environment: mac os high sierra and mac os sierra

Minikube version : 0.28.2

  • OS : mac os high sierra and mac os sierra
  • VM Driver : hyperkit

What happened:

When creating a minikube cluster, the minikube node is tainted role.kubernetes.io/master:NoSchedule which prevents pods from being scheduled.

What you expected to happen:

In a minikube cluster, the only node is the minikube node. Minikube should remove the taint upon starting the cluster.

How to reproduce it (as minimally and precisely as possible):

minikube start \
--kubernetes-version v1.9.6 \
--vm-driver=hyperkit 

Anything else do we need to know:

I believe this taint is automatically added by k8s starting version >= 1.6

@dlorenc
Copy link
Contributor

dlorenc commented Jul 30, 2018

Ah, this looks like a bug :(

We started using the NoTaintMaster flag in kubeadm to avoid having to manually remove the taint, but this only became supported in 1.10.0. We'll need to keep supporting the old method of removing the taint until k8s 1.12 is released, and we drop 1.9 support.

@tstromberg tstromberg added approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 18, 2018
@tstromberg tstromberg changed the title Minikube node tainted - Pods Unschedulable as a result Minikube node tainted with k8s 1.9.6 - Pods Unschedulable as a result Sep 20, 2018
@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 Dec 19, 2018
@viteksafronov
Copy link
Contributor

the issue may be closed as fixed.

@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 Jan 18, 2019
@viteksafronov
Copy link
Contributor

/close

@k8s-ci-robot
Copy link
Contributor

@viteksafronov: Closing this issue.

In response to this:

/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

6 participants