And no, let's create the specification for engineers deployment and service because we will deploy
now two different applications, one which will be based on our custom image, and second, which is
based on official Docker image called engineers.
Let's simply copy this file and paste here and let's name this file as an x dot yaml.
And now in this engine x dot yaml file, let's modify names.
Let's again select this and change all occurrences.
And let's name it simply.
Engineers.
Please type exactly as I just did exactly in Genesis, because this name for this service we will utilize
inside of our other deployment, inside of our containers which are running express logs, web server.
We will connect to this deployment by using engine service name.
That's why this name is very important here.
Now, we decided to utilize cluster IP service type for this second deployment.
That's why let's remove type load balancer from here.
By default, cluster IP will be assigned here and let's modify pause section here, let's remove target
port and keep only port and set it to 80.
It is default port where an will run web server.
Also in the deployment section we have to modify image and now it will be simply engineers without your
username because we would like to utilize Default and Phoenix image.
Let's keep resource limits here in place and let's modify here container port to aid like that.
So quantity of the replicas will be, for instance, five instead of three.
Let's save changes here and let's summarize what we did here.
We will create a new service called Engineers.
And name here is important for our setup.
Here is a sports section with single keyboard, and it means that the external port eight will be mapped
to internal port 80.
It is a sport where engine web server is run by default and service type.
Here is cluster IP.
It means that such service will not be available outside of the Kubernetes cluster.
And here in this deployment we utilize official Docker image code and Genesis.
Here is specification for the port containers and container port is set to eight.
That's it.
So we created the two YAML configuration files in Genesis dot YAML and K eight as web to engineers genesis
which utilizes custom built image.
Here is this image name.