File tree 4 files changed +58
-2
lines changed
4 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 26
26
svc : example
27
27
spec :
28
28
containers :
29
- - name : hello-world
29
+ - name : main
30
30
image : ondrejsika/training-example:green
31
31
ports :
32
32
- containerPort : 80
Original file line number Diff line number Diff line change 26
26
svc : example
27
27
spec :
28
28
containers :
29
- - name : hello-world
29
+ - name : main
30
30
image : ondrejsika/training-example:yellow
31
31
ports :
32
32
- containerPort : 80
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : StatefulSet
3
+ metadata :
4
+ name : hello-world
5
+ spec :
6
+ selector :
7
+ matchLabels :
8
+ app : hello-world-sts
9
+ replicas : 5
10
+ template :
11
+ metadata :
12
+ labels :
13
+ app : hello-world-sts
14
+ svc : example
15
+ spec :
16
+ containers :
17
+ - name : main
18
+ image : ondrejsika/training-example:green
19
+ ports :
20
+ - containerPort : 80
21
+ resources :
22
+ requests :
23
+ cpu : 10m
24
+ memory : 10Mi
25
+ limits :
26
+ memory : 20Mi
27
+ cpu : 20m
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : StatefulSet
3
+ metadata :
4
+ name : hello-world
5
+ labels :
6
+ app : hello-world-sts
7
+ spec :
8
+ selector :
9
+ matchLabels :
10
+ app : hello-world-sts
11
+ replicas : 6
12
+ template :
13
+ metadata :
14
+ labels :
15
+ app : hello-world-sts
16
+ svc : example
17
+ spec :
18
+ containers :
19
+ - name : main
20
+ image : ondrejsika/training-example:yellow
21
+ ports :
22
+ - containerPort : 80
23
+ resources :
24
+ requests :
25
+ cpu : 10m
26
+ memory : 10Mi
27
+ limits :
28
+ memory : 20Mi
29
+ cpu : 20m
You can’t perform that action at this time.
0 commit comments