Skip to content

Commit 2b88293

Browse files
Added Cheat Sheet for Kubernetes
1 parent c104087 commit 2b88293

1 file changed

Lines changed: 147 additions & 0 deletions

File tree

data/kubernetes.json

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"id": "kubernetes-cheat-sheet",
3+
"title": "কুবারনেট",
4+
"slug": "kubernetes-cheat-sheet",
5+
"description": "কুবারনেট চিটশিট",
6+
"colorPref": "#000",
7+
"contents": [
8+
{
9+
"title": "কুবারনেট রিসউরস দেখা ও খোঁজা",
10+
"items": [
11+
{
12+
"definition": "সার্ভিস লিস্ট",
13+
"code": "kubectl get services"
14+
},
15+
{
16+
"definition": "পোড লিস্ট",
17+
"code": "kubectl get pods"
18+
},
19+
{
20+
"definition": "পোড ডিটেইল লিস্ট",
21+
"code": "kubectl get pods -o wide"
22+
},
23+
{
24+
"definition": "পোড কনফিগ",
25+
"code": "kubectl get pod my-pod -o yaml"
26+
},
27+
{
28+
"definition": "পোড ভলিউম",
29+
"code": "kubectl get pv --sort-by=.spec.capacity.storage"
30+
},
31+
{
32+
"definition": "রানিং পোড",
33+
"code": "kubectl get pods --field-selector=status.phase=Running"
34+
}
35+
]
36+
},
37+
{
38+
"title": "কুবারনেট রসদ পরিবর্তন",
39+
"items": [
40+
{
41+
"definition": "পোড লেবেলিং",
42+
"code": "kubectl label pods my-pod new-label=awesome"
43+
},
44+
{
45+
"definition": "নতুন সনক্রন দেওয়া",
46+
"code": "kubectl set image deployment/frontend www=image:v2"
47+
},
48+
{
49+
"definition": "সনক্রন ইতিহাস",
50+
"code": "kubectl rollout history deployment/frontend"
51+
},
52+
{
53+
"definition": "পূর্বের সনক্রন ফেরত",
54+
"code": "kubectl rollout undo deployment/frontend"
55+
},
56+
{
57+
"definition": "পূর্বের সনক্রন ফেরত",
58+
"code": "kubectl rollout undo deployment/frontend"
59+
}
60+
]
61+
},
62+
{
63+
"title": "কুবারনেট রসদ পরিবর্তন",
64+
"items": [
65+
{
66+
"definition": "পোড লেবেলিং",
67+
"code": "kubectl label pods my-pod new-label=awesome"
68+
},
69+
{
70+
"definition": "নতুন সনক্রন দেওয়া",
71+
"code": "kubectl set image deployment/frontend www=image:v2"
72+
},
73+
{
74+
"definition": "সনক্রন ইতিহাস",
75+
"code": "kubectl rollout history deployment/frontend"
76+
},
77+
{
78+
"definition": "পূর্বের সনক্রন ফেরত",
79+
"code": "kubectl rollout undo deployment/frontend"
80+
},
81+
{
82+
"definition": "নতুন সনক্রনের অবস্থা",
83+
"code": "kubectl rollout status -w deployment/frontend"
84+
},
85+
{
86+
"definition": "পছন্দের এডিটর ব্যাবহার",
87+
"code": "KUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry"
88+
}
89+
]
90+
},
91+
{
92+
"title": "কুবারনেট রসদ বাড়ানো",
93+
"items": [
94+
{
95+
"definition": "অটো ডেপলয় বাড়ানো",
96+
"code": "kubectl autoscale deployment foo --min=2 --max=10"
97+
},
98+
{
99+
"definition": "রসদ কপি বাড়ানো",
100+
"code": "kubectl scale --replicas=3 rs/foo"
101+
},
102+
{
103+
"definition": "রসদ কপি বাড়ানো ফাইল থেকে",
104+
"code": "kubectl scale --replicas=3 -f foo.yaml"
105+
},
106+
{
107+
"definition": "অনেক কপি কন্ট্রোলার বাড়ানো",
108+
"code": "kubectl scale --replicas=5 rc/foo rc/bar rc/baz"
109+
},
110+
{
111+
"definition": "অনেক কপি কন্ট্রোলার বাড়ানো",
112+
"code": "kubectl scale --replicas=5 rc/foo rc/bar rc/baz"
113+
}
114+
]
115+
},
116+
{
117+
"title": "কুবারনেট লগ দেখা ও কমান্ড দেওয়া",
118+
"items": [
119+
{
120+
"definition": "একটি পডের লগ",
121+
"code": "kubectl logs my-pod"
122+
},
123+
{
124+
"definition": "পোড এ কমান্ড রান করা",
125+
"code": "kubectl exec my-pod -- ls /"
126+
},
127+
{
128+
"definition": "পোড এ কমান্ড ব্যাস করা",
129+
"code": "kubectl exec --stdin --tty my-pod -- /bin/sh"
130+
}
131+
]
132+
},
133+
{
134+
"title": "কুবারনেট পোর্ট",
135+
"items": [
136+
{
137+
"definition": "পডের সাথে বাইন্ড \\( ভিতর ৬০০০ বাইরে ৫০০০\\)",
138+
"code": "kubectl port-forward my-pod 5000:6000"
139+
},
140+
{
141+
"definition": "সার্ভিস এর সাথে বাইন্ড",
142+
"code": "kubectl port-forward svc/my-service 5000 "
143+
}
144+
]
145+
}
146+
]
147+
}

0 commit comments

Comments
 (0)