Debug School

Harish Kumar G
Harish Kumar G

Posted on

What is Namespace,troubleshoot PODs,ReplicationController,ReplicaSet & Deployement by Harish Kumar G


  • Namespace is used to Structuralize the resources of the Clustered Horizontally. eg.. ram, diskspace, cpu etc
  • Namespaces was introduced to overcome 2 problems, 1.To avoid problems while using the shared resources by diff applications 2.To restrict access over resources
  • Any namespace will be classified under one of the below category, System - Created by Kubernetes Public - Common resources Default - When no namespace is provided Admin - For admin roles
  • When namespace is deleted, all respective pods will get deleted

Accessing resources:

resources can be accessed either via command or config file.
Create- create/ create -f yaml
Read- get/ get -f yaml
Update- edit / apply -f yaml
Delete- delete / delete -f yaml

ReplicationController and Replica Set

  • Replicationcontroller is used to instantiate multiple pods and control the running pods.

  • Replica Set is the updated version of ReplicationController.

Debugging/Troubleshooting strategies

Port forward


Deployment is used to instantiate pod and control the running pods using help of Replica Set and pod.

Top comments (0)