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

kubelet: unknown flag: --bootstrap-kubeconfig on old k8s versions (1.6) #3120

Closed
Sicaine opened this issue Sep 6, 2018 · 5 comments
Closed
Labels
area/kubernetes-versions Improving support for versions of Kubernetes co/kubelet Kubelet config issues help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. 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. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/obsolete Bugs that no longer occur in the latest stable release

Comments

@Sicaine
Copy link

Sicaine commented Sep 6, 2018

BUG REPORT

Environment:
Minikube version (use minikube version): v0.28.2, v0.27.0, v0.26.0

  • OS (e.g. from /etc/os-release): MacOS 10.13.6
  • VM driver: "DriverName": "virtualbox",
  • ISO version "Boot2DockerURL": "file:///Users/d073468/.minikube/cache/iso/minikube-v0.27.0.iso (also, v026.0.iso etc.)

What happened: Hang on 'Starting Cluster Components' when starting v1.6.4 kubernetes cluster. Logfile shows hint of unkown flag on kubelet: "unkown flag: --bootstrap-kubeconfig"

What you expected to happen: minikube starting normally

How to reproduce it (as minimally and precisely as possible): Make sure everything is clean, than start with specific version: minikube start --kubernetes-version v1.6.4

Output of minikube logs (if applicable):
Sep 06 11:56:47 minikube systemd[1]: kubelet.service: Unit entered failed state.
Sep 06 11:56:47 minikube systemd[1]: kubelet.service: Failed with result 'exit-code'.
Sep 06 11:56:58 minikube systemd[1]: kubelet.service: Service hold-off time over, scheduling restart.
Sep 06 11:56:58 minikube systemd[1]: Stopped kubelet: The Kubernetes Node Agent.
Sep 06 11:56:58 minikube systemd[1]: Started kubelet: The Kubernetes Node Agent.
Sep 06 11:56:58 minikube kubelet[4129]: unknown flag: --bootstrap-kubeconfig
Sep 06 11:56:58 minikube kubelet[4129]: Usage of /usr/bin/kubelet:

@tstromberg
Copy link
Contributor

Sorry to hear about this being broken.

We should explicitly call-out which versions we support and fail early for combinations we know are not going to work. Kubernetes 1.6.4 is now 487 days old, and probably not possible for us to support unless someone provides patches to do so.

My guess is that --bootstrap-kubeconfig was added sometime within the last year, and we ended up finding it useful.

@tstromberg tstromberg added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. area/kubernetes-versions Improving support for versions of Kubernetes kind/bug Categorizes issue or PR as related to a bug. co/kubelet Kubelet config issues labels Sep 18, 2018
@tstromberg tstromberg changed the title Older k8s versions not working anymore kubeletservice unkown flag: --bootstrap-kubeconfig kubelet: unknown flag: --bootstrap-kubeconfig on old k8s versions (1.6) Sep 19, 2018
@Sicaine
Copy link
Author

Sicaine commented Sep 20, 2018

@tstromberg i'm just surprised that there is no versioning in between. I'm absolutely fine if Kubernetes in 1.6 runs on/with software which is similar old.

@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
@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
@tstromberg tstromberg added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jan 24, 2019
@tstromberg
Copy link
Contributor

Closing, as Kubernetes v1.11.7 is the oldest supported version as per the Kubernetes versions policy.

@tstromberg tstromberg added the triage/obsolete Bugs that no longer occur in the latest stable release label Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes-versions Improving support for versions of Kubernetes co/kubelet Kubelet config issues help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. 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. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/obsolete Bugs that no longer occur in the latest stable release
Projects
None yet
Development

No branches or pull requests

4 participants