Some kubernetes files
This commit is contained in:
18
app-rs.yaml
Normal file
18
app-rs.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: apps/v1
|
||||
kind: ReplicaSet
|
||||
metadata:
|
||||
name: app-rs
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
tier: web
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
tier: web
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
|
||||
Reference in New Issue
Block a user