filmov
tv
kubernetes tutorial | Kubernetes Namespace | Demo
Показать описание
*CERTIFIED KUBERNETES ADMINISTRATOR*
-------------------------------------------------------------------------
kubernetes tutorial | Kubernetes Namespace | Demo
*Description*
----------------------
In this video, you are going to learn the concepts of kubernetes namespaces.
we are also going to see a demo on the namespaces as well.
*Kubernetes Namespace*
-------------------------------------------
1. What is a Kubernetes Namespace ?
2. Why & When to use Kubernetes Namespace ?
3. Not all the objects are in the namespace !
4. Default Namespaces
5. How can pods communicate across Kubernetes namespaces?
6. DEMO
7. Thank you
For suggestions/feedback/doubts contact
Happy Learning !!!
============================================================
*USEFUL LINKS*
----------------------------
*API References:*
*Kubectl Command Reference:*
*Kubernetes Namespaces*
============================================================
#vsparkz #kubernetes #k8s #containers
*DEMO STEPS*
-------------------------
*Step 1: Access & Inspect the Kubernetes Cluster*
$ kubectl cluster-info
$ kubectl get nodes
$ kubectl get pods -n kube-system
*Step 2: Inspect the default namespaces*
$ kubectl get namespace
*Step 3: Create Namespaces - development, production*
$ kubectl create namespace development
$ kubectl create namespace production
*Step 4: Deploy and Inspect pods in development namespace*
$ kubectl run nginx --image=nginx --namespace=development
$ kubectl get pods --namespace=development
*Step 5: Deploy and Inspect pods in "production" namespace*
$ kubectl run nginx --image=nginx --namespace=production --dry-run=client -o yaml
_========================================
apiVersion: v1
kind: Pod
metadata:
labels:
run: nginx
name: nginx
namespace: production
spec:
containers:
- image: nginx
name: nginx
========================================_
THE END
-------------------------------------------------------------------------
kubernetes tutorial | Kubernetes Namespace | Demo
*Description*
----------------------
In this video, you are going to learn the concepts of kubernetes namespaces.
we are also going to see a demo on the namespaces as well.
*Kubernetes Namespace*
-------------------------------------------
1. What is a Kubernetes Namespace ?
2. Why & When to use Kubernetes Namespace ?
3. Not all the objects are in the namespace !
4. Default Namespaces
5. How can pods communicate across Kubernetes namespaces?
6. DEMO
7. Thank you
For suggestions/feedback/doubts contact
Happy Learning !!!
============================================================
*USEFUL LINKS*
----------------------------
*API References:*
*Kubectl Command Reference:*
*Kubernetes Namespaces*
============================================================
#vsparkz #kubernetes #k8s #containers
*DEMO STEPS*
-------------------------
*Step 1: Access & Inspect the Kubernetes Cluster*
$ kubectl cluster-info
$ kubectl get nodes
$ kubectl get pods -n kube-system
*Step 2: Inspect the default namespaces*
$ kubectl get namespace
*Step 3: Create Namespaces - development, production*
$ kubectl create namespace development
$ kubectl create namespace production
*Step 4: Deploy and Inspect pods in development namespace*
$ kubectl run nginx --image=nginx --namespace=development
$ kubectl get pods --namespace=development
*Step 5: Deploy and Inspect pods in "production" namespace*
$ kubectl run nginx --image=nginx --namespace=production --dry-run=client -o yaml
_========================================
apiVersion: v1
kind: Pod
metadata:
labels:
run: nginx
name: nginx
namespace: production
spec:
containers:
- image: nginx
name: nginx
========================================_
THE END
Комментарии