Advertisement
wojcieh

master2 join

Jan 13th, 2021
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. sudo kubeadm join kubernetes-cluster.homelab01.local:8443 --token 9uuqk2.zpjblnqrofvuc89v \
  2. > --discovery-token-ca-cert-hash sha256:c0fdf72b7d0d98c6830120da3bd267f4de8a723162861516757e25ae107a3193 \
  3. > --control-plane --certificate-key 9c93dd534871e4867359798d04de29cafeb239eeceeb0ec67c961ff03157d619
  4. [sudo] password for wojcieh:
  5. [preflight] Running pre-flight checks
  6. [preflight] Reading configuration from the cluster...
  7. [preflight] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
  8. [preflight] Running pre-flight checks before initializing the new control plane instance
  9. [preflight] Pulling images required for setting up a Kubernetes cluster
  10. [preflight] This might take a minute or two, depending on the speed of your internet connection
  11. [preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
  12. [download-certs] Downloading the certificates in Secret "kubeadm-certs" in the "kube-system" Namespace
  13. [certs] Using certificateDir folder "/etc/kubernetes/pki"
  14. [certs] Generating "etcd/healthcheck-client" certificate and key
  15. [certs] Generating "apiserver-etcd-client" certificate and key
  16. [certs] Generating "etcd/server" certificate and key
  17. [certs] etcd/server serving cert is signed for DNS names [kubernetes-master2 localhost] and IPs [192.168.255.202 127.0.0.1 ::1]
  18. [certs] Generating "etcd/peer" certificate and key
  19. [certs] etcd/peer serving cert is signed for DNS names [kubernetes-master2 localhost] and IPs [192.168.255.202 127.0.0.1 ::1]
  20. [certs] Generating "apiserver" certificate and key
  21. [certs] apiserver serving cert is signed for DNS names [kubernetes kubernetes-cluster.homelab01.local kubernetes-master2 kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 192.168.255.202]
  22. [certs] Generating "apiserver-kubelet-client" certificate and key
  23. [certs] Generating "front-proxy-client" certificate and key
  24. [certs] Valid certificates and keys now exist in "/etc/kubernetes/pki"
  25. [certs] Using the existing "sa" key
  26. [kubeconfig] Generating kubeconfig files
  27. [kubeconfig] Using kubeconfig folder "/etc/kubernetes"
  28. [endpoint] WARNING: port specified in controlPlaneEndpoint overrides bindPort in the controlplane address
  29. [kubeconfig] Writing "admin.conf" kubeconfig file
  30. [endpoint] WARNING: port specified in controlPlaneEndpoint overrides bindPort in the controlplane address
  31. [kubeconfig] Writing "controller-manager.conf" kubeconfig file
  32. [endpoint] WARNING: port specified in controlPlaneEndpoint overrides bindPort in the controlplane address
  33. [kubeconfig] Writing "scheduler.conf" kubeconfig file
  34. [control-plane] Using manifest folder "/etc/kubernetes/manifests"
  35. [control-plane] Creating static Pod manifest for "kube-apiserver"
  36. [control-plane] Creating static Pod manifest for "kube-controller-manager"
  37. [control-plane] Creating static Pod manifest for "kube-scheduler"
  38. [check-etcd] Checking that the etcd cluster is healthy
  39. [kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
  40. [kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
  41. [kubelet-start] Starting the kubelet
  42. [kubelet-start] Waiting for the kubelet to perform the TLS Bootstrap...
  43. [etcd] Announced new etcd member joining to the existing etcd cluster
  44. [etcd] Creating static Pod manifest for "etcd"
  45. [etcd] Waiting for the new etcd member to join the cluster. This can take up to 40s
  46. [kubelet-check] Initial timeout of 40s passed.
  47.  
  48. Broadcast message from systemd-journald@kubernetes-master2 (Wed 2021-01-13 16:01:27 CET):
  49.  
  50. haproxy[870]: backend apiserver has no server available!
  51.  
  52.  
  53. Broadcast message from systemd-journald@kubernetes-master2 (Wed 2021-01-13 16:01:27 CET):
  54.  
  55. haproxy[870]: backend apiserver has no server available!
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement