docker_advanced_k8s_intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker_advanced_k8s_intro [2020/04/20 11:40] andonovjdocker_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'configure the repo.+FurhtermoreKubernetes have various objects, but let'examine the main ones: 
 + 
 +  * 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:~#
 </sxh> </sxh>
- 
  
 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:
 +
 +<Code:shell|Install packages>
 +root@k8s-master:~# apt-get install -y docker.io kubeadm kubectl kubelet kubernetes-cni
 +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://archive.ubuntu.com/ubuntu xenial/universe amd64 pigz amd64 2.3.1-2 [61.1 kB]
 +Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
 +**************************************************************************************************************
 +</Code>
 +
 +Please execute that on all 3 machines
 +
 +
  • docker_advanced_k8s_intro.1587382803.txt.gz
  • Last modified: 2020/04/20 11:40
  • by andonovj