Day33 ----> 90DaysOfDevOps Challenge @TWS

Day33 ----> 90DaysOfDevOps Challenge @TWS

Congrats🎊🎉 on updating your Deployment yesterday💥🙌

In Kubernetes, Namespaces are used to create isolated environments for resources. Each Namespace is like a separate cluster within the same physical cluster. Services are used to expose your Pods and Deployments to the network. Read more about Namespace Here

  • Create a Namespace for your Deployment

  • Use the command kubectl create namespace <namespace-name> to create a Namespace

  • kubectl create namespace test-ns

image

  • Update the deployment.yml file to include the Namespace

image

  • Apply the updated deployment using the command:

    kubectl apply -f deployment.yml -n <namespace-name>

    kubectl apply -f Deployment.yml -n test-ns

image

  • Verify that the Namespace has been created by checking the status of the Namespaces in your cluster.

image

  • Read about Services, Load Balancing, and Networking in Kubernetes. Refer official documentation of Kubernetes Link

  • Need help with Namespaces? Check out this video for assistance.

Happy Learning! :)

90DaysOfDevOps Tasks👇

github.com/Chaitannyaa/90DaysOfDevOps.git

Chaitannyaa Gaikwad | LinkedIn