POKE ME for any consultancy

Thursday, April 18, 2024

kubernetes Commands


  •     4  kubectl get replicaset
  •     5  kubectl describe replicaset
  •     7  kubectl get pods
  •     8  kubectl delete new-replica-set-fx2tw
  •     9  kubectl delete pods new-replica-set-fx2tw
  •    10  kubectl get pods
  •    11  kubectl describe replicaset
  •    12  kubectl create replicaset replicaset-definition-1.yaml 
  •    13  kubectl api-resources | grep replicaset
  •    14  kubectl explain replicaset | grep VERSION
  •    15  kubectl create -f /root/replicaset-definition-1.yaml
  • 1 kubectl get pods
  •   42 .\minikube.exe get pods
  •   43 .\minikube.exe get pods
  •   44 ./minikube dashboard
  •   45 .\minikube.exe start
  •   46 .\minikube.exe start
  •   47 ./minikube dashboard


Exam Details

https://www.youtube.com/watch?v=dHXgg9fbP8E

https://www.youtube.com/watch?v=1hF-HRq5Mww

Also check out, my other videos: CKA Exam Questions -    • REAL CKA Exam Questions to Practice a...   What is Kubernetes and How it works?    • Kubernetes Explained - What is Kubern...   Prerequisites to Learn Kubernetes: How I would learn DevOps from scratch    • How I would Learn DevOps from scratch...   DevOps Roadmap 2024:    • DevOps ROADMAP 2024: How to learn and...   How I passed my Terraform Associate Exam:    • How I passed my Hashicorp Certified T...   How I Passed my AWS SAA Exam:    • How I Passed AWS Solutions Architect ...   Top DevOps Certifications for 2024:    • Top 3 DevOps Certification in 2024 ♾️...   All about AWS CCP Certification:    • Everything you need to know about AWS...   DevSecOps Project to deploy Netflix :    • DevSecOps Pipeline Project: Deploy Ne...   DevOps Interview Questions and Answers:    • DevOps Interview Questions and Answer...   GitOps Explained with Examples:    • What is GitOps | GitOps explained wit...   Monitoring explained with popular tools:    • Popular DevOps Monitoring Tools in 2024   CICD explained with a project:    • What is CICD Pipeline? CICD process e...   How much Programming is required in DevOps :    • Is CODING required for Devops? How mu...   How I use Python as DevOps engineer:    • How I use Python as DevOps Engineer |...   How to use ChatGPT as a DevOps Engineer:    • 5 EFFECTIVE ways to use ChatGPT as a ...   CICD Pipeline explained:    • What is CICD Pipeline? CICD process e...   Terraform Tutorial :    • Master Terraform in 60 minutes | Terr...   Terraform Project on AWS:    • Simple DevOps Project to Practice Ter...   How I make money as Devops Freelancer:    • How I make money remotely as Freelanc...   Most used AWS services for DevOps Engineer:    • Important AWS services for DevOps you...  


https://github.com/killercoda/scenario-examples

Kubernetes – Cluster IP vs Node-Port

  1. ClusterIP service: A ClusterIP service is an internal IP address that is allocated by Kubernetes and can only be accessed within the cluster. It's useful for communication between pods in the same cluster.

  2. NodePort service: A NodePort service assigns a fixed port on each node in the cluster, allowing external clients to access the service from outside the cluster using the cluster's IP address and the assigned port number

No comments:

Post a Comment