Container Orchestration:
When we are running our application in our container technology, we need to have some control over it, so that we can see zero downtime deployments, also how can scale individual applications, we need something to control that.
Kubernetes is made open source to control multiple containers running on multiple machines we need some orchestrator, and that orchestrator is Kubernetes.
Docker and Kubernetes are interrelated, Kubernetes runs containers and the best container technology is Docker.
The most popular container technology is Docker
Container Orchestration (Kubernetes)
Long back If you want to run an Apache server/Jenkins, take a Linux machine, in it you need to install software, Jenkins requires Java so you need to install Java, in that you can run Jenkins.
Running multiple web servers on the same machine:
It is possible but difficult to run two Jenkins, on the same Machine.
Let's see how Docker does this,
Go to play with Docker
Click on login to the site
sign in/log in with your credentials
click on Start and get started.
The interface looks like this and gets started working.
Go to add new instance, it will expire in 3:30 hours time duration.
Then enter the commands:
the help command will help give you the list of commands needed to run
need to run the Jenkins server, this command will help to get into it
if you want to run the nginx server then enter the command.
if you want to run nginx servers on the same machine then use the commands
To know how much memory the nginx takes go to this command
You can run two nginx servers on the same machine
without installing Java we can run servers as shown,
It is possible to run multiple servers without installing Java because of the container technology.