Devops Learning Day – 6

Tonight we have our group presentation for CCSD Methodology Operation Presentation

I had did gitlab-ci config file for our Laravel based ecommerce,

After finish around 9.30 pm , we start to setup our machine with minikube

so after this we will only kubernetes

minikube start

for better learning exp need to try typing rather than copy-pasting

  1. Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.
# Run a test container image that includes a webserver
kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080

2. View the Deployment:

kubectl get deployments

3. View the Pod:

kubectl get pods

Output :

NAME                          READY     STATUS    RESTARTS   AGE
hello-node-5f76cf6ccf-br9b5   1/1       Running   0          1m

Enjoy the process.

Share the Post:

Related Posts