Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker_advanced_k8s_intro [2020/04/20 11:40] – andonovj | docker_advanced_k8s_intro [2020/05/30 15:17] (current) – [Overview] andonovj | ||
---|---|---|---|
Line 14: | Line 14: | ||
* CNI - Install support for CNI network (Container network Interface / Spec or Model for Kubernetes Network) | * CNI - Install support for CNI network (Container network Interface / Spec or Model for Kubernetes Network) | ||
- | But first, let' | + | Furhtermore, Kubernetes have various objects, but let' |
+ | |||
+ | * Pods | ||
+ | * Replication Controllers / Replication Sets (When Deployment) | ||
+ | * ClusterIP | ||
+ | =====Package Installation===== | ||
+ | To install the packages we have to: | ||
+ | |||
+ | - Configure the Repos | ||
+ | - Actuall install the packages. | ||
+ | |||
+ | So let's get going :) | ||
+ | |||
+ | ====Configure the Repos==== | ||
The repo is configured very easy using the following script: | The repo is configured very easy using the following script: | ||
Line 77: | Line 90: | ||
root@node-1: | root@node-1: | ||
</ | </ | ||
- | |||
Please run this command on all 3 machines. | Please run this command on all 3 machines. | ||
+ | |||
+ | ====Install the packages==== | ||
+ | So let's install the packages now: | ||
+ | |||
+ | < | ||
+ | root@k8s-master: | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following additional packages will be installed: | ||
+ | bridge-utils cgroupfs-mount conntrack containerd cri-tools ebtables pigz runc socat ubuntu-fan | ||
+ | Suggested packages: | ||
+ | mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils | ||
+ | The following NEW packages will be installed: | ||
+ | bridge-utils cgroupfs-mount conntrack containerd cri-tools docker.io ebtables kubeadm kubectl kubelet kubernetes-cni pigz runc socat ubuntu-fan | ||
+ | 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 104 MB of archives. | ||
+ | After this operation, 532 MB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] y | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | ************************************************************************************************************** | ||
+ | </ | ||
+ | |||
+ | Please execute that on all 3 machines | ||
+ | |||
+ |