Skip to content

Commit ac85e0e

Browse files
authored
Create ReplicaSet.yml
1 parent a3151d2 commit ac85e0e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Kubernetese/ReplicaSet.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
apiVersion: apps/v1
3+
kind: ReplicaSet
4+
metadata:
5+
name: tomcat-rc
6+
labels:
7+
author: edureka
8+
type: webserver
9+
spec:
10+
replicas: 3
11+
selector:
12+
matchLabels:
13+
type: webserver
14+
template:
15+
metadata:
16+
name: tomcat-pod
17+
labels:
18+
type: webserver
19+
spec:
20+
containers:
21+
- name: mytomcat
22+
image: tomcat

0 commit comments

Comments
 (0)