Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: xxxxxxxxxxxxx
- labels:
- app: xxxxxxxx
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: xxxxxxxxx
- template:
- metadata:
- labels:
- app: xxxxxxxx
- spec:
- containers:
- - name: xxxxx
- image: xxxxxxxxx
- ports:
- - containerPort: 3000
- ---
- kind: Service
- apiVersion: v1
- metadata:
- name: xxxxxxxxx
- spec:
- selector:
- app: xxxxxxxx
- ports:
- - protocol: TCP
- port: 8080
- targetPort: 3000
- type: LoadBalancer
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: yyyyyy
- labels:
- app: yyyyyy
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: yyyyyy
- template:
- metadata:
- labels:
- app: yyyyyy
- spec:
- containers:
- - name: yyyyyy
- image: yyyyyy
- ports:
- - containerPort: 3000
- ---
- kind: Service
- apiVersion: v1
- metadata:
- name: yyyyyy
- spec:
- selector:
- app: yyyyyy
- ports:
- - protocol: TCP
- port: 80
- targetPort: 3000
- type: LoadBalancer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement