Devops Learning Day – 8

Ok today we learn what is Deployment

In my analogy, in deployment kubernetes is similar concept like docker compose

kubernetes deployment is writing multi pod and service in single config file and also can set how many replica.

like docker compose is combining image and service in to single config file

minikube start

kubectl apply -f phpmyadmin-deployment.yaml (deployment_file) -n ammar (namespace)

minikube service phpmyadmin (sample_service)

kubernetes set random port for service and pod usually above 30000

Share the Post:

Related Posts