Archive for the ‘Kubernetes’ Category

Check the latest stable version available for upgrade? Kubernetes

Tuesday, June 28th, 2022

kubeadm upgrade plan

get pod yaml file

Monday, June 27th, 2022

kubectl get pod orange -o yaml > /root/orange.yaml

Create namespace in kubernetes

Tuesday, May 3rd, 2022
kubectl create namespace default-mem-example

Get deployment to a yaml format

Tuesday, May 3rd, 2022

kubectl get deployments.apps blue -o yaml > blue.yaml

Which nodes pods places on

Tuesday, May 3rd, 2022

kubectl get pods -o wide

Scale the deployment with blue name to 6 replicas

Tuesday, May 3rd, 2022

kubectl scale deployment blue –replicas=6

Create deployment with name “blue” using nginx image

Tuesday, May 3rd, 2022

kubectl create deployment blue –image=nginx