개념정리/Docker & Kubernetes

Kubernetes Commands(2)

backtwobasic 2025. 1. 31. 17:33

Monitoring Usage Commands

  • kubectl top node : Get node cpu and memory utilization
  • kubectl top pods : Get pod cpu and memory utilization

 

Deployment Commands

  • kubectl get deployment : Get Deployment
  • kubectl get deployment -o yaml : Get Deployment in YAML Format
  • kubectl get deployment -o wide : Get Deployment Wide Information
  • kubectl edit deployment : Edit Deployment
  • kubectl describe deployment : Describe Deployment
  • kubectl delete deployment : Delete Deployment
  • kubectl scale deployment -- replicas= : Scale Deployment with Replicas

 

Service Commands

  • kubectl get service : Get Service
  • kubectl get service -o yaml : Get Service in YAML Format
  • kubectl get service -o wide : Get Service Wide Information
  • kubectl edit service : Edit Service
  • kubectl describe service : Describe Service
  • kubectl delete service : Delete Service

 

Ingress Commands

  • kubectl get ingress ; Get Ingress
  • kubectl get ingress -o yaml : Get Ingress in YAML Format
  • kubectl get ingress -o wide :Get Ingress Wide Information
  • kubectl edit ingress <ingress_name> : Edit Ingress
  • kubectl describe ingress <ingress_name> : Describe Ingress
  • kubectl delete ingress <ingress_name> : Descirbe Ingress

 

Endpoints Commands

  • kubectl get endpoints : Get endpoints

'개념정리 > Docker & Kubernetes' 카테고리의 다른 글

Kubernetes Commands(3)  (0) 2025.01.31
Kubernetes Commands(1)  (0) 2025.01.31