Skip to content

Latest commit

 

History

History

create-replicaset-in-k8s-cluster

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Create Replicaset in Kubernetes Cluster

Problem

The Nautilus DevOps team is going to deploy some applications on kubernetes cluster as they are planning to migrate some of their existing applications there. Recently one of the team members has been assigned a task to write a template as per details mentioned below:

Create a ReplicaSet using httpd image with latest tag only and remember to mention tag i.e httpd:latest and name it as httpd-replicaset.

Labels app should be httpd_app, labels type should be front-end. The container should be named as httpd-container; also make sure replicas counts are 4.

Note: The kubectl utility on jump_host has been configured to work with the kubernetes cluster.

Solution