Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungBreeze TTS 2 vs ElevenLabs: Open Source TTS Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungAgentic AI vs Generative AI: The 2026 Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungI made my agent prove every quote against the source document(23.09.2026 um 05:45 Uhr)
Sichere Programmierung8mb.video Alternative: Skip the Line, Skip the Upsell(23.09.2026 um 05:47 Uhr)
Sichere ProgrammierungBuilding a GTA 6 JSON API for entities and current status(23.09.2026 um 05:52 Uhr)
Sichere ProgrammierungEvery filter needs a documented exception(23.09.2026 um 06:01 Uhr)
Sichere ProgrammierungBreeze TTS 2 vs ElevenLabs: Open Source TTS Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungAgentic AI vs Generative AI: The 2026 Verdict(23.09.2026 um 05:44 Uhr)
Sichere ProgrammierungI made my agent prove every quote against the source document(23.09.2026 um 05:45 Uhr)
Sichere Programmierung8mb.video Alternative: Skip the Line, Skip the Upsell(23.09.2026 um 05:47 Uhr)
Sichere ProgrammierungBuilding a GTA 6 JSON API for entities and current status(23.09.2026 um 05:52 Uhr)
Sichere ProgrammierungEvery filter needs a documented exception(23.09.2026 um 06:01 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Kubernetes Cheatsheet

Introduction I often forget these kubernetes or K8s commands. So I have created this sheet to quickly look any command. It might be helpful for you to quickly look for any command. You can bookmark this blog for quick search. …

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Introduction



I often forget these kubernetes or K8s commands. So I have created this sheet to quickly look any command.

It might be helpful for you to quickly look for any command. You can bookmark this blog for quick search.









📦 Kubectl Basics







kubectl version # Show kubectl & cluster version
kubectl config view # View kubeconfig details
kubectl get nodes # List all cluster nodes
kubectl get all # List all resources in the current namespace
kubectl get pods -A # List all pods in all namespaces
kubectl get services # List all services












🚀 Pods







kubectl run nginx --image=nginx # Create a new pod
kubectl get pods # List all pods
kubectl describe pod <pod-name> # Detailed info about a pod
kubectl logs <pod-name> # View logs
kubectl exec -it <pod-name> -- /bin/bash # Shell into a pod
kubectl delete pod <pod-name> # Delete a pod












🏗️ Deployments






kubectl create deployment myapp --image=myimage    # Create a deployment
kubectl get deployments # List deployments
kubectl scale deployment myapp --replicas=3 # Scale deployment
kubectl edit deployment myapp # Edit deployment config
kubectl rollout status deployment/myapp # Check rollout status
kubectl rollout undo deployment/myapp # Rollback deployment
kubectl delete deployment myapp # Delete deployment












🌐 Services






kubectl expose deployment myapp --type=ClusterIP --port=80     # Create service
kubectl get svc # List services
kubectl describe svc myapp # Service details
kubectl delete svc myapp # Delete service








  • Service Types: ClusterIP (default), NodePort, LoadBalancer, ExternalName









🛠️ ConfigMaps & Secrets







kubectl create configmap myconfig --from-literal=key=value
kubectl get configmaps
kubectl describe configmap myconfig

kubectl create secret generic mysecret --from-literal=password=mypassword
kubectl get secrets
kubectl describe secret mysecret












📂 Namespaces







kubectl get namespaces
kubectl create namespace dev
kubectl config set-context --current --namespace=dev












📄 YAML Manifest Commands







kubectl apply -f config.yaml # Apply from file
kubectl delete -f config.yaml # Delete resources from file
kubectl create -f config.yaml # Create resources from file
kubectl explain pod # Explain resource structure












📊 Monitoring & Debugging







kubectl top pod # Show resource usage
kubectl describe node <node-name> # Node info
kubectl get events # Cluster event












📚 Bonus: Useful Shortcuts







kubectl get po # po = pods
kubectl get deploy # deploy = deployments
kubectl get svc # svc = services
kubectl get ns # ns = namespaces


Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Kubernetes Cheatsheet

Thematisch verwandte Begriffe: Kubernetes, Cheatsheet · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-18163 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick