Posts

Showing posts from September, 2019

Kubernetes 104: Create a 2-node k3s cluster with k3sup

Image
Create a 2-node k3s cluster with k3sup Kubenetes-Master   = 192.168.17.5 Kubenetes-Worker  = 192.168.17.6 k3sup machine        = 192.168.1.131 !!!  Allow ssh access between k3sup  & two nodes of kubernetes       and between two nodes of kubernetes. !!!  Install K3SUP: [root@devops ~]# curl -sLSf https://get.k3sup.dev | sh which: no k3sup in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) x86_64 Downloading package https://github.com/alexellis/k3sup/releases/download/0.3.0/k3sup as /tmp/k3sup Download complete. Running as root - Attempting to move k3sup to /usr/local/bin New version of k3sup installed to /usr/local/bin _ _____ | | _|___ / ___ _ _ _ __ | |/ / |_ \/ __| | | | '_ \ | < ___) \__ \ |_| | |_) | |_|\_\____/|___/\__,_| .__/ |_| Version: 0.3.0 Git Commit: 7d954414def98c52ae1f6de08ac5317e4260e673 [root@devops ~]# !!!...

Podman 101: Practical Labs

Image
     What is Podman? Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System. Example:  1- Deploy Apache web server on podman:  2- Create volume persistent and join  with podman.  3- Test web server access.  4- Change index.html and reload podman  5- Test changed. 6-  use  podman as system services. [root@podman ~]#   mkdir -p /opt/var/www/html  [root@podman ~]#  cd /opt/var/www/html  [root@podman html]# wget --page-requisites --convert-links https://registry.fedoraproject.org/  [root@podman html]#  chown 1001 -R /opt/var  [root@podman ~]#    mkdir -p /opt/var/www/html  Create podman with local volume persistent: [root@podman html]#  podman run -d --name myhttpservice -p 8080:8080 -v                            ...