HCL Technologies Limited | www.hcltechsw.com 6 Docker and Containers • Multiple Containers runtimes environment • Docker was the first and still the most popular • Others are: CRI-O, containerd, OpenVZ, Mesos, rktlet, and a few more. • Since containers don’t load the OS. They boot in seconds • Containers are ephemeral. Make sure you use persistent volumes. • Less dependencies on the OS allow for portability. • Docker Images go into the Container Registry (think Image Repository) • Docker Hub is a public Registry. You will have your own as well.
HCL Technologies Limited | www.hcltechsw.com 7 YAML • YAML (Yet Another Markup Language) • Others prefer YAML Ain’t Markup Language • Mostly used for Configuration Files and Ansible Playbooks • EXTREMELY sensitive to spaces and proper indentation • No tabs. Space Space • You might want to use a YAML editor for proper alignment
HCL Technologies Limited | www.hcltechsw.com 8 Ansible • Automation • Provisioning • Configuration Management • Continues Delivery • Deployment • Works against Linux (SSH) or Windows (Powershell) • Ansible Playbooks are written on YAML
HCL Technologies Limited | www.hcltechsw.com 11 Kubernetes Nodes and Pods • You can use a single cluster for many workloads or applications (Namespaces) • One application can consist of 1 or multiple nodes • Containers run inside pods • When Applications need to scale, more Pods are added. • When Nodes run out of compute power, new Nodes are added. pods Worker Node