Monday, May 24, 2021

Kubernetes Learning Task 02- Deploy Apache Web Server on Kubernetes

  Deploy Apache Web Server on Kubernetes

        
1. Create a namespace named as httpd-namespace-dev

2. Create a service named as httpd-service-dev under same namespace, targetPort should be 80 and nodePort should be 30005.

3. Create a deployment named as httpd-deployment-dev under the same namespace as mentioned above. Use image httpd with latest tag , and container name should be httpd-container-dev and        make sure replicas counts are 2
Set labels app to httpd_app_dev.

* This is a learning task and you can try to do it in your own learning environment. I have done a sample solution for this task on Ubuntu OS with a single node cluster.

Solution:

check below the sample solution video for the above task.


Self-Learning Task.

Hope you all already learned about the architecture and components of  Kubernetes.
In this section for learning by yourself about a topic from each task.
From this task, learn about  namespace 
what is it/ why we use it


PLEASE SUPPORT ME BY
LIKE || SUBSCRIBE || COMMENTS  on MY YOUTUBE CHANNEL AND BLOG 

STAY TUNED FOR MORE VIDEOS.......

#Learn    #Practice    #Re-Learn    #Improve    #Motivate
    #Continue-Learning    #Apply    #Get-Help    #Help-Others

No comments:

Post a Comment

Docker Learning Task 02 - How to create a basic docker network

 How to create a basic docker network 1. Create a docker network named  mynetwork . 2. Configure it to use bridge drivers. 3. Set it to use ...