Debug School

Namrata
Namrata

Posted on

Day 2-Namrata

Namespace
Pod
Replication Controller
Deployment

Namespace is for isolation and management of kubernets resources.
kubectl get namespaces

Pod:
Troubleshooting of pods
attach
port-forward
exec
kubectl auth can-i create pod

Replication Controller
Scale 1 pod to many controller

apiVersion: v1
kind: ReplicationController
metadata:
name: rajeshrc
spec:
replicas: 5
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: scmgalaxy/nginx-devopsschoolv1

Deployment

replication
rollout
controlling
rollback

Top comments (0)