---
title: "Discussion on \"K8s Cheat sheet\" | Hashnode"
description: "Discussion on \"K8s Cheat sheet\". Pods, Deployments and Services\nkubectl run nginx --image=nginx --port=80\nkubectl run nginx --image=nginx --port=80 --expose=true\nkubectl run nginx --image=nginx --labels=\"app=web,tier=frontend\"\n\nkubectl create deployment nginx --image=nginx\nkubectl c..."
url: "https://hashnode.com/posts/k8s-cheat-sheet/693ce6ba641ca776a555ff1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [K8s Cheat sheet](https://blog.gautamsuraj.com.np/k8s-cheat-sheet?utm_source=hashnode&utm_medium=feed)

Pods, Deployments and Services kubectl run nginx --image=nginx --port=80 kubectl run nginx --image=nginx --port=80 --expose=true kubectl run nginx --image=nginx --labels="app=web,tier=frontend" kubectl create deployment nginx --image=nginx kubectl c...

Dec 13, 2025 · 2 min read · blog.gautamsuraj.com.np  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#ckad](https://hashnode.com/tag/ckad)
-   [#k8s](https://hashnode.com/tag/k8s)

## Written by

[Suraj gautam](https://hashnode.com/@surajgautam)

@surajgautam · DFW, United States

  
[View profile](https://hashnode.com/@surajgautam)

I code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
