KUBERNETES What are containers Before we dive into Container Orchestration, let's review first what containers are. Containers are an application-centric way to deliver high-performing, scalable applications on the infrastructure of your choice. With a container image, we bundle the application along with its runtime and dependencies. We use that image to create an isolated executable environment, also known as container . We can deploy containers from a given image on the platform of our choice, such as desktops, VMs, Cloud, etc. Container Orchestration ? In Development and Quality Assurance (QA) environments, we can get away with running containers on a single host to develop and test applications. However, when we go to production, we do not have the same liberty, as we need to ensure that our applications: Are fault-tolerant Can scale, and do this on-demand Use resources optimally Can discover other applications automatically, and c...
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Sol: Run the below command sudo sysctl -w net.ipv4.tcp_mtu_probing=1 To make this permanently, add the following line to /etc/sysctl.conf : net.ipv4.tcp_mtu_probing=1
What is Docker? World before Docker no virtualization hypervisor-based virtualization container-based virtualization Architecture Docker uses a client-server architecture Main Docker elements deamon : process that runs on a host machine (server) client : primary Docker interface image : read-only template (build component) registry : public or private image repositories (distribution, ship component) container : created form image, holds everything that is needed for an application to run (run component) Benefits of Docker separation of roles and concerns developers focuses on building applications system administrators focuses on deployment portability: build in one environment, distributed and run on many others faster development, testing, deployment scalability: easy to spin up new containers or migrate to more powerful hosts better ...
Comments
Post a Comment