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

Unable to pull images on Kubernetes v1.10.2: Error: unknown flag: --config #3824

Closed
tstromberg opened this issue Mar 7, 2019 · 0 comments
Closed
Assignees
Labels
area/kubernetes-versions Improving support for versions of Kubernetes co/kubeadm Issues relating to kubeadm kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@tstromberg
Copy link
Contributor

tstromberg commented Mar 7, 2019

On v0.35.0:

Command: /usr/local/bin/minikube start --cpus=4 --memory=4096 --disk-size=30g --vm-driver=hyperkit --kubernetes-version=v1.10.12 --extra-config=apiserver.authorization-mode=RBAC

Output:

❌  Unable to pull images, which may be OK: running cmd: sudo kubeadm config images pull --config /var/lib/kubeadm.yaml: command failed: sudo kubeadm config images pull --config /var/lib/kubeadm.yaml
stdout: 
stderr: Error: unknown flag: --config
Usage:

It seems that we need some logic to invoke the command-line differently in older versions of Kubernetes.

@tstromberg tstromberg added kind/bug Categorizes issue or PR as related to a bug. co/kubeadm Issues relating to kubeadm area/kubernetes-versions Improving support for versions of Kubernetes labels Mar 7, 2019
@tstromberg tstromberg added this to the v1.0.0 milestone Mar 7, 2019
@tstromberg tstromberg added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Mar 8, 2019
@tstromberg tstromberg self-assigned this Mar 8, 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/kubeadm Issues relating to kubeadm kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

1 participant