Skip to content

Commit 08f97db

Browse files
authored
Create statefulset.yml
1 parent 5521521 commit 08f97db

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: apps/v1
2+
kind: StatefulSet
3+
metadata:
4+
name: mysts
5+
spec:
6+
replicas: 3
7+
serviceName: svc-hl
8+
selector:
9+
matchLabels:
10+
tag: label-sts
11+
template:
12+
metadata:
13+
labels:
14+
tag: label-sts
15+
spec:
16+
containers:
17+
- image: httpd
18+
name: c1

0 commit comments

Comments
 (0)