Skip to content

Commit 193457f

Browse files
committed
feat(kubernetes): add deployments lab with ReplicaSets and self-healing
1 parent 33f4e52 commit 193457f

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,19 @@ This repository was created to:
135135
- [x] Create Pods
136136
- [x] Inspect Pods
137137
- [x] Delete Pods
138-
- [ ] Deployments
138+
- [x] Deployments
139+
- [x] Deployment Fundamentals
140+
- [x] ReplicaSets
141+
- [x] Self-Healing
142+
- [ ] Scaling Deployments
139143
- [ ] Services
144+
- [ ] Labels
145+
- [ ] Selectors
146+
- [ ] ClusterIP
147+
- [ ] NodePort
148+
- [ ] LoadBalancer
149+
- [ ] Exposing Deployments
150+
- [ ] Pod Networking
140151
- [ ] ConfigMaps
141152
- [ ] Secrets
142153
- [ ] Helm
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: apps/v1
2+
3+
kind: Deployment
4+
5+
metadata:
6+
name: hello-deployment
7+
8+
spec:
9+
replicas: 1
10+
11+
selector:
12+
matchLabels:
13+
app: hello
14+
15+
template:
16+
metadata:
17+
labels:
18+
app: hello
19+
20+
spec:
21+
containers:
22+
- name: nginx-container
23+
image: nginx:latest
24+
25+
ports:
26+
- containerPort: 80

0 commit comments

Comments
 (0)