Friday, March 15, 2019

Logs of worker node joining master node


root@allenode1 yum.repos.d # kubeadm join 9.37.242.3:6443 --token uwv0ar.fdelxizta8a3osk6 --discovery-token-ca-cert-hash sha256:d742261b3c2138ccdc87c16405c8179bf8451e573afe860ba4f71f6b6f06e523
[preflight] Running pre-flight checks
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
[discovery] Trying to connect to API Server "9.37.242.3:6443"
[discovery] Created cluster-info discovery client, requesting info from "https://9.37.242.3:6443"
[discovery] Requesting info from "https://9.37.242.3:6443" again to validate TLS against the pinned public key
[discovery] Cluster info signature and contents are valid and TLS certificate validates against pinned roots, will use API Server "9.37.242.3:6443"
[discovery] Successfully established connection with API Server "9.37.242.3:6443"
[join] Reading configuration from the cluster...
[join] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -oyaml'
[kubelet] Downloading configuration for the kubelet from the "kubelet-config-1.13" ConfigMap in the kube-system namespace
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Activating the kubelet service
[tlsbootstrap] Waiting for the kubelet to perform the TLS Bootstrap...
[patchnode] Uploading the CRI Socket information "/var/run/dockershim.sock" to the Node API object "allenode1.rtp.raleigh.ibm.com" as an annotation

This node has joined the cluster:
* Certificate signing request was sent to apiserver and a response was received.
* The Kubelet was informed of the new secure connection details.

Run 'kubectl get nodes' on the master to see this node join the cluster.

Logs for kubeadm installation on k8s nodes


root@allenode1 yum.repos.d # yum install kubeadm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
kubernetes/signature                                                                                                                                    |  454 B  00:00:00     
Retrieving key from https://packages.cloud.google.com/yum/doc/yum-key.gpg
Importing GPG key 0xA7317B0F:
 Userid     : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
 Fingerprint: d0bc 747f d8ca f711 7500 d6fa 3746 c208 a731 7b0f
 From       : https://packages.cloud.google.com/yum/doc/yum-key.gpg
Is this ok [y/N]: y
Retrieving key from https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
kubernetes/signature                                                                                                                                    | 1.4 kB  00:00:02 !!! 
kubernetes/primary                                                                                                                                      |  45 kB  00:00:00     
kubernetes                                                                                                                                                             323/323
Resolving Dependencies
--> Running transaction check
---> Package kubeadm.x86_64 0:1.13.4-0 will be installed
--> Processing Dependency: kubernetes-cni >= 0.6.0 for package: kubeadm-1.13.4-0.x86_64
--> Processing Dependency: kubelet >= 1.6.0 for package: kubeadm-1.13.4-0.x86_64
--> Processing Dependency: kubectl >= 1.6.0 for package: kubeadm-1.13.4-0.x86_64
--> Processing Dependency: cri-tools >= 1.11.0 for package: kubeadm-1.13.4-0.x86_64
--> Running transaction check
---> Package cri-tools.x86_64 0:1.12.0-0 will be installed
---> Package kubectl.x86_64 0:1.13.4-0 will be installed
---> Package kubelet.x86_64 0:1.13.4-0 will be installed
--> Processing Dependency: socat for package: kubelet-1.13.4-0.x86_64
--> Processing Dependency: conntrack for package: kubelet-1.13.4-0.x86_64
---> Package kubernetes-cni.x86_64 0:0.6.0-0 will be installed
--> Running transaction check
---> Package conntrack-tools.x86_64 0:1.4.4-4.el7 will be installed
--> Processing Dependency: libnetfilter_cttimeout.so.1(LIBNETFILTER_CTTIMEOUT_1.1)(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
--> Processing Dependency: libnetfilter_cttimeout.so.1(LIBNETFILTER_CTTIMEOUT_1.0)(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
--> Processing Dependency: libnetfilter_cthelper.so.0(LIBNETFILTER_CTHELPER_1.0)(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
--> Processing Dependency: libnetfilter_queue.so.1()(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
--> Processing Dependency: libnetfilter_cttimeout.so.1()(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
--> Processing Dependency: libnetfilter_cthelper.so.0()(64bit) for package: conntrack-tools-1.4.4-4.el7.x86_64
---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
--> Running transaction check
---> Package libnetfilter_cthelper.x86_64 0:1.0.0-9.el7 will be installed
---> Package libnetfilter_cttimeout.x86_64 0:1.0.0-6.el7 will be installed
---> Package libnetfilter_queue.x86_64 0:1.0.2-2.el7_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
 Package                                            Arch                               Version                                    Repository                              Size
===============================================================================================================================================================================
Installing:
 kubeadm                                            x86_64                             1.13.4-0                                   kubernetes                             7.9 M
Installing for dependencies:
 conntrack-tools                                    x86_64                             1.4.4-4.el7                                base                                   186 k
 cri-tools                                          x86_64                             1.12.0-0                                   kubernetes                             4.2 M
 kubectl                                            x86_64                             1.13.4-0                                   kubernetes                             8.5 M
 kubelet                                            x86_64                             1.13.4-0                                   kubernetes                              21 M
 kubernetes-cni                                     x86_64                             0.6.0-0                                    kubernetes                             8.6 M
 libnetfilter_cthelper                              x86_64                             1.0.0-9.el7                                base                                    18 k
 libnetfilter_cttimeout                             x86_64                             1.0.0-6.el7                                base                                    18 k
 libnetfilter_queue                                 x86_64                             1.0.2-2.el7_2                              base                                    23 k
 socat                                              x86_64                             1.7.3.2-2.el7                              base                                   290 k

Transaction Summary
===============================================================================================================================================================================
Install  1 Package (+9 Dependent packages)

Total download size: 50 M
Installed size: 232 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): conntrack-tools-1.4.4-4.el7.x86_64.rpm                                                                                                          | 186 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/kubernetes/packages/53edc739a0e51a4c17794de26b13ee5df939bd3161b37f503fe2af8980b41a89-cri-tools-1.12.0-0.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 3e1ba8d5: NOKEY
Public key for 53edc739a0e51a4c17794de26b13ee5df939bd3161b37f503fe2af8980b41a89-cri-tools-1.12.0-0.x86_64.rpm is not installed
(2/10): 53edc739a0e51a4c17794de26b13ee5df939bd3161b37f503fe2af8980b41a89-cri-tools-1.12.0-0.x86_64.rpm                                                  | 4.2 MB  00:00:02     
(3/10): ca5618c4268261f3deb7cc4cb12fedf8735db81f6a327436c2b8418b61295256-kubeadm-1.13.4-0.x86_64.rpm                                                    | 7.9 MB  00:00:05     
(4/10): 7d8997e89f52340aecaa7fc2b1586665d2d9b568a8c887a8c84abc651b87c9ff-kubectl-1.13.4-0.x86_64.rpm                                                    | 8.5 MB  00:00:06     
(5/10): libnetfilter_cthelper-1.0.0-9.el7.x86_64.rpm                                                                                                    |  18 kB  00:00:00     
(6/10): libnetfilter_queue-1.0.2-2.el7_2.x86_64.rpm                                                                                                     |  23 kB  00:00:00     
(7/10): socat-1.7.3.2-2.el7.x86_64.rpm                                                                                                                  | 290 kB  00:00:00     
(8/10): libnetfilter_cttimeout-1.0.0-6.el7.x86_64.rpm                                                                                                   |  18 kB  00:00:00     
(9/10): 344d06740c6e21a13712258f16654eb1695ccab66a4149ecd2d383024bbfe5a6-kubelet-1.13.4-0.x86_64.rpm                                                    |  21 MB  00:00:08     
(10/10): fe33057ffe95bfae65e2f269e1b05e99308853176e24a4d027bc082b471a07c0-kubernetes-cni-0.6.0-0.x86_64.rpm                                             | 8.6 MB  00:00:05     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                          3.4 MB/s |  50 MB  00:00:14     
Retrieving key from https://packages.cloud.google.com/yum/doc/yum-key.gpg
Importing GPG key 0xA7317B0F:
 Userid     : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
 Fingerprint: d0bc 747f d8ca f711 7500 d6fa 3746 c208 a731 7b0f
 From       : https://packages.cloud.google.com/yum/doc/yum-key.gpg
Is this ok [y/N]: y
Retrieving key from https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
Importing GPG key 0x3E1BA8D5:
 Userid     : "Google Cloud Packages RPM Signing Key <gc-team@google.com>"
 Fingerprint: 3749 e1ba 95a8 6ce0 5454 6ed2 f09c 394c 3e1b a8d5
 From       : https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : socat-1.7.3.2-2.el7.x86_64                                                                                                                                 1/10 
  Installing : libnetfilter_cthelper-1.0.0-9.el7.x86_64                                                                                                                   2/10 
  Installing : libnetfilter_queue-1.0.2-2.el7_2.x86_64                                                                                                                    3/10 
  Installing : libnetfilter_cttimeout-1.0.0-6.el7.x86_64                                                                                                                  4/10 
  Installing : conntrack-tools-1.4.4-4.el7.x86_64                                                                                                                         5/10 
  Installing : kubernetes-cni-0.6.0-0.x86_64                                                                                                                              6/10 
  Installing : kubelet-1.13.4-0.x86_64                                                                                                                                    7/10 
  Installing : cri-tools-1.12.0-0.x86_64                                                                                                                                  8/10 
  Installing : kubectl-1.13.4-0.x86_64                                                                                                                                    9/10 
  Installing : kubeadm-1.13.4-0.x86_64                                                                                                                                   10/10 
  Verifying  : kubectl-1.13.4-0.x86_64                                                                                                                                    1/10 
  Verifying  : cri-tools-1.12.0-0.x86_64                                                                                                                                  2/10 
  Verifying  : libnetfilter_cttimeout-1.0.0-6.el7.x86_64                                                                                                                  3/10 
  Verifying  : libnetfilter_queue-1.0.2-2.el7_2.x86_64                                                                                                                    4/10 
  Verifying  : kubelet-1.13.4-0.x86_64                                                                                                                                    5/10 
  Verifying  : libnetfilter_cthelper-1.0.0-9.el7.x86_64                                                                                                                   6/10 
  Verifying  : kubernetes-cni-0.6.0-0.x86_64                                                                                                                              7/10 
  Verifying  : socat-1.7.3.2-2.el7.x86_64                                                                                                                                 8/10 
  Verifying  : conntrack-tools-1.4.4-4.el7.x86_64                                                                                                                         9/10 
  Verifying  : kubeadm-1.13.4-0.x86_64                                                                                                                                   10/10 

Installed:
  kubeadm.x86_64 0:1.13.4-0                                                                                                                                                    

Dependency Installed:
  conntrack-tools.x86_64 0:1.4.4-4.el7   cri-tools.x86_64 0:1.12.0-0                  kubectl.x86_64 0:1.13.4-0                     kubelet.x86_64 0:1.13.4-0                  
  kubernetes-cni.x86_64 0:0.6.0-0        libnetfilter_cthelper.x86_64 0:1.0.0-9.el7   libnetfilter_cttimeout.x86_64 0:1.0.0-6.el7   libnetfilter_queue.x86_64 0:1.0.2-2.el7_2  
  socat.x86_64 0:1.7.3.2-2.el7          

Complete!

Logs of docker installation on k8s nodes


root@allenode1 yum.repos.d # yum install docker-ce-18.06.0.ce-3.el7
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 0:18.06.0.ce-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
 Package                                Arch                                Version                                        Repository                                     Size
===============================================================================================================================================================================
Installing:
 docker-ce                              x86_64                              18.06.0.ce-3.el7                               docker-ce-stable                               41 M

Transaction Summary
===============================================================================================================================================================================
Install  1 Package

Total download size: 41 M
Installed size: 41 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/docker-ce-stable/packages/docker-ce-18.06.0.ce-3.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY|  30 MB  00:00:00 ETA 
Public key for docker-ce-18.06.0.ce-3.el7.x86_64.rpm is not installed
docker-ce-18.06.0.ce-3.el7.x86_64.rpm                                                                                                                   |  41 MB  00:00:01     
Retrieving key from https://download.docker.com/linux/centos/gpg
Importing GPG key 0x621E9F35:
 Userid     : "Docker Release (CE rpm) <docker@docker.com>"
 Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
 From       : https://download.docker.com/linux/centos/gpg
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : docker-ce-18.06.0.ce-3.el7.x86_64                                                                                                                           1/1 
  Verifying  : docker-ce-18.06.0.ce-3.el7.x86_64                                                                                                                           1/1 

Installed:
  docker-ce.x86_64 0:18.06.0.ce-3.el7                                                                                                                                          

Complete!

Logs for container-selinux installation on individual nodes


Loaded plugins: fastestmirror
container-selinux-2.74-1.el7.noarch.rpm                                                                                                                 |  38 kB  00:00:00     
Examining /var/tmp/yum-root-fTV5qk/container-selinux-2.74-1.el7.noarch.rpm: 2:container-selinux-2.74-1.el7.noarch
Marking /var/tmp/yum-root-fTV5qk/container-selinux-2.74-1.el7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package container-selinux.noarch 2:2.74-1.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.74-1.el7.noarch
Loading mirror speeds from cached hostfile
base                                                                                                                                                    | 3.6 kB  00:00:00     
updates                                                                                                                                                 | 2.9 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                                                             | 1.4 MB  00:00:00     
--> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.74-1.el7.noarch
--> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.74-1.el7.noarch
--> Processing Dependency: policycoreutils-python for package: 2:container-selinux-2.74-1.el7.noarch
--> Running transaction check
---> Package policycoreutils-python.x86_64 0:2.5-29.el7_6.1 will be installed
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-29.el7_6.1.x86_64
---> Package selinux-policy.noarch 0:3.13.1-229.el7_6.9 will be installed
---> Package selinux-policy-targeted.noarch 0:3.13.1-229.el7_6.9 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.4-4.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-8.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-20.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
 Package                                     Arch                       Version                                 Repository                                                Size
===============================================================================================================================================================================
Installing:
 container-selinux                           noarch                     2:2.74-1.el7                            /container-selinux-2.74-1.el7.noarch                      37 k
Installing for dependencies:
 audit-libs-python                           x86_64                     2.8.4-4.el7                             base                                                      76 k
 checkpolicy                                 x86_64                     2.5-8.el7                               base                                                     295 k
 libcgroup                                   x86_64                     0.41-20.el7                             base                                                      66 k
 libsemanage-python                          x86_64                     2.5-14.el7                              base                                                     113 k
 policycoreutils-python                      x86_64                     2.5-29.el7_6.1                          updates                                                  456 k
 python-IPy                                  noarch                     0.75-6.el7                              base                                                      32 k
 selinux-policy                              noarch                     3.13.1-229.el7_6.9                      updates                                                  483 k
 selinux-policy-targeted                     noarch                     3.13.1-229.el7_6.9                      updates                                                  6.9 M
 setools-libs                                x86_64                     3.3.8-4.el7                             base                                                     620 k

Transaction Summary
===============================================================================================================================================================================
Install  1 Package (+9 Dependent packages)

Total size: 9.0 M
Total download size: 9.0 M
Installed size: 24 M
Is this ok [y/d/N]: y
Is this ok [y/d/N]: y
Downloading packages:
(1/9): audit-libs-python-2.8.4-4.el7.x86_64.rpm                                                                                                         |  76 kB  00:00:00     
(2/9): libcgroup-0.41-20.el7.x86_64.rpm                                                                                                                 |  66 kB  00:00:00     
(3/9): checkpolicy-2.5-8.el7.x86_64.rpm                                                                                                                 | 295 kB  00:00:00     
(4/9): libsemanage-python-2.5-14.el7.x86_64.rpm                                                                                                         | 113 kB  00:00:00     
(5/9): python-IPy-0.75-6.el7.noarch.rpm                                                                                                                 |  32 kB  00:00:00     
(6/9): policycoreutils-python-2.5-29.el7_6.1.x86_64.rpm                                                                                                 | 456 kB  00:00:00     
(7/9): selinux-policy-targeted-3.13.1-229.el7_6.9.noarch.rpm                                                                                            | 6.9 MB  00:00:00     
(8/9): selinux-policy-3.13.1-229.el7_6.9.noarch.rpm                                                                                                     | 483 kB  00:00:00     
(9/9): setools-libs-3.3.8-4.el7.x86_64.rpm                                                                                                              | 620 kB  00:00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                           37 MB/s | 9.0 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : selinux-policy-3.13.1-229.el7_6.9.noarch                                                                                                                   1/10 
  Installing : selinux-policy-targeted-3.13.1-229.el7_6.9.noarch                                                                                                          2/10 
  Installing : setools-libs-3.3.8-4.el7.x86_64                                                                                                                            3/10 
  Installing : audit-libs-python-2.8.4-4.el7.x86_64                                                                                                                       4/10 
  Installing : python-IPy-0.75-6.el7.noarch                                                                                                                               5/10 
  Installing : libsemanage-python-2.5-14.el7.x86_64                                                                                                                       6/10 
  Installing : checkpolicy-2.5-8.el7.x86_64                                                                                                                               7/10 
  Installing : libcgroup-0.41-20.el7.x86_64                                                                                                                               8/10 
  Installing : policycoreutils-python-2.5-29.el7_6.1.x86_64                                                                                                               9/10 
  Installing : 2:container-selinux-2.74-1.el7.noarch                                                                                                                     10/10 
setsebool:  SELinux is disabled.
  Verifying  : libcgroup-0.41-20.el7.x86_64                                                                                                                               1/10 
  Verifying  : checkpolicy-2.5-8.el7.x86_64                                                                                                                               2/10 
  Verifying  : policycoreutils-python-2.5-29.el7_6.1.x86_64                                                                                                               3/10 
  Verifying  : libsemanage-python-2.5-14.el7.x86_64                                                                                                                       4/10 
  Verifying  : selinux-policy-3.13.1-229.el7_6.9.noarch                                                                                                                   5/10 
  Verifying  : selinux-policy-targeted-3.13.1-229.el7_6.9.noarch                                                                                                          6/10 
  Verifying  : python-IPy-0.75-6.el7.noarch                                                                                                                               7/10 
  Verifying  : 2:container-selinux-2.74-1.el7.noarch                                                                                                                      8/10 
  Verifying  : audit-libs-python-2.8.4-4.el7.x86_64                                                                                                                       9/10 
  Verifying  : setools-libs-3.3.8-4.el7.x86_64                                                                                                                           10/10 

Installed:
  container-selinux.noarch 2:2.74-1.el7                                                                                                                                        

Dependency Installed:
  audit-libs-python.x86_64 0:2.8.4-4.el7         checkpolicy.x86_64 0:2.5-8.el7 libcgroup.x86_64 0:0.41-20.el7             libsemanage-python.x86_64 0:2.5-14.el7             
  policycoreutils-python.x86_64 0:2.5-29.el7_6.1 python-IPy.noarch 0:0.75-6.el7 selinux-policy.noarch 0:3.13.1-229.el7_6.9 selinux-policy-targeted.noarch 0:3.13.1-229.el7_6.9
  setools-libs.x86_64 0:3.3.8-4.el7             

Complete!

pod network deployment log


# kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
podsecuritypolicy.extensions/psp.flannel.unprivileged created
clusterrole.rbac.authorization.k8s.io/flannel created
clusterrolebinding.rbac.authorization.k8s.io/flannel created
serviceaccount/flannel created
configmap/kube-flannel-cfg created
daemonset.extensions/kube-flannel-ds-amd64 created
daemonset.extensions/kube-flannel-ds-arm64 created
daemonset.extensions/kube-flannel-ds-arm created
daemonset.extensions/kube-flannel-ds-ppc64le created
daemonset.extensions/kube-flannel-ds-s390x created


root@allek8smaster ~ # kubectl get nodes
NAME                                STATUS   ROLES    AGE   VERSION
allek8smaster.rtp.raleigh.ibm.com   Ready    master   28d   v1.13.3

Kubernetes init log

Kubernetes init log:

# kubeadm init --apiserver-advertise-address=9.37.242.3 --pod-network-cidr=10.244.0.0/16
[init] Using Kubernetes version: v1.13.3
[preflight] Running pre-flight checks
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Activating the kubelet service
[certs] Using certificateDir folder "/etc/kubernetes/pki"
[certs] Generating "ca" certificate and key
[certs] Generating "apiserver-kubelet-client" certificate and key
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [allek8smaster.rtp.raleigh.ibm.com kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 9.37.242.3]
[certs] Generating "front-proxy-ca" certificate and key
[certs] Generating "front-proxy-client" certificate and key
[certs] Generating "etcd/ca" certificate and key
[certs] Generating "etcd/healthcheck-client" certificate and key
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [allek8smaster.rtp.raleigh.ibm.com localhost] and IPs [9.37.242.3 127.0.0.1 ::1]
[certs] Generating "etcd/peer" certificate and key
[certs] etcd/peer serving cert is signed for DNS names [allek8smaster.rtp.raleigh.ibm.com localhost] and IPs [9.37.242.3 127.0.0.1 ::1]
[certs] Generating "apiserver-etcd-client" certificate and key
[certs] Generating "sa" key and public key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
[kubeconfig] Writing "admin.conf" kubeconfig file
[kubeconfig] Writing "kubelet.conf" kubeconfig file
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
[kubeconfig] Writing "scheduler.conf" kubeconfig file
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[apiclient] All control plane components are healthy after 21.506673 seconds
[uploadconfig] storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
[kubelet] Creating a ConfigMap "kubelet-config-1.13" in namespace kube-system with the configuration for the kubelets in the cluster
[patchnode] Uploading the CRI Socket information "/var/run/dockershim.sock" to the Node API object "allek8smaster.rtp.raleigh.ibm.com" as an annotation
[mark-control-plane] Marking the node allek8smaster.rtp.raleigh.ibm.com as control-plane by adding the label "node-role.kubernetes.io/master=''"
[mark-control-plane] Marking the node allek8smaster.rtp.raleigh.ibm.com as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule]
[bootstrap-token] Using token: 8i3fua.5dlkx84emw8e9h0o
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
[bootstraptoken] configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstraptoken] configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstraptoken] configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstraptoken] creating the "cluster-info" ConfigMap in the "kube-public" namespace
[addons] Applied essential addon: CoreDNS
[addons] Applied essential addon: kube-proxy

Your Kubernetes master has initialized successfully