-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
"kubeadm init" on offline environment #54188
Comments
@khj809
Note: Method 1 will trigger an email to the group. See the group list and label list. |
@khj809 you can add a flag |
@wackxu Thanks! It works! |
Doesn't work on v1.10 offline mode with the statement -> --kubernetes-version=stable-1.10 |
you can try with
it works for me |
You can create config.yaml file, for example
and run |
if Kind and APIVersion is not set in config.yaml. (These are set as omit if empty upstream)
if Kind and APIVersion is not set in config.yaml. (These are set as omit if empty upstream)
NOTE: The For those commands, I was able to use a config.yml that looked simply like: kubernetesVersion: 1.11.2 So, my command was: $ kubeadm alpha phase certs apiserver --config=./config.yml |
Hi. I'm trying to set up kubernetes cluster on my private network.
All machines are RHEL 7.3 and use latest kubernetes version (v1.8.1) with docker-ce 17.03.2.
I thought that everything I need is some packages(kubeadm, kubectl, kubelet, kubernetes-cni and dependencies) and images (starts with gcr.io/google_containers/... and pod network images), so I prepared and installed them. But when I run "kubeadm init", it still requires internet connection with following messages.
Unable to get URL "https://dl.k8s.io/release/stable-1.8.txt": Get https://dl.k8s.io/release/stable-1.8.txt: dial tcp: lookup dl.k8s.io on [::1]:53: read udp [::1]:54829->[::1]:53: read: connection refused
What should I do anything else?
The text was updated successfully, but these errors were encountered: