-
Notifications
You must be signed in to change notification settings - Fork 715
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 hangs on ppc64le #120
Comments
You should compile the
The thing is that there has to be a docker image built for ppc64le that can be used for bootstrapping the control plane. Right now there are no images for ppc64le to use; hence the hanging kubeadm; it waits for kubelet to start images that don't exist. |
Here is where I'm stuck at from past 30 minutes.. |
You have to use v1.4+ for kubeadm, build hyperkube fron the PR I linked |
I believe this should suffice . as this is >1.4+ |
I'm talking about the image of k8s you're really using: 'KUBE_HYPERKUBE_IMAGE=gcr.io/google_containers/hyperkube-ppc64le` is now version v1.3.0-alpha.3 and you should build a hyperkube image with version v1.4-HEAD from this PR: kubernetes/kubernetes#38926 |
Apologizes for the delayed response. Here is what I have done to create the respective docker image :- /opt/gopath/src/github.com/kubernetes/cluster/images/hyperkube# git branch
I had to make couple of changes to Makefile as well Dockerfile to get "ARCH=ppc64le make build VERSION=1.4" working. docker images gcr.io/google_containers/hyperkube-ppc64le However from last 20 minutes I'm stuck at same point KUBE_HYPERKUBE_IMAGE=gcr.io/google_containers/hyperkube-ppc64le:1.4 kubeadm init |
I have finally figured out a way to get it working, followed this approach to setup Master as well Worker node https://github.com/kubernetes/kube-deploy/tree/master/docker-multinode One observation was, it was looking for a docker images gcr.io/google_containers/hyperkube-ppc64le:v1.5.2 and also assumes etcd and flanneld are already in place. That said, thank you for your help. And I'm closing this issue. |
@harsha544 the issue was with missing gcr.io/google_containers/etcd-ppc64le:3.0.17 image. Now image is available in the repo, can you try now and let me know your findings with upstream kubeadm. |
@mkumatag Thanks for the response, I shall give it a try and let you know :) |
@harsha544 is this still an issue or can we close now? |
I'll close this. I'll work with Manju incase i find any difficulties. |
Facing the below issue ..
SELINUX is disabled.
OS : Ubuntu 1604
ARCH : ppc64le
iptables/firewalld : disabled
Natively compiled Kubernetes (release 1.5) and tried " kubeadm init ". Hangs here :-
[kubeadm] WARNING: kubeadm is in alpha, please do not use it for production clusters.
[preflight] Running pre-flight checks
[preflight] WARNING: kubelet service does not exist
[init] Using Kubernetes version: v1.5.2
[certificates] Generated Certificate Authority key and certificate.
[certificates] Generated API Server key and certificate
[certificates] Generated Service Account signing keys
[certificates] Created keys and certificates in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[apiclient] Created API client, waiting for the control plane to become ready
@luxas
The text was updated successfully, but these errors were encountered: