Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- apiVersion: apps/v1beta1
- kind: Deployment
- metadata:
- name: microservice-playground
- spec:
- replicas: 1
- template:
- metadata:
- labels:
- app: microservice-playground
- spec:
- containers:
- - name: microservice-playground
- image: mikkelol/microservice-playground:v2
- ports:
- - containerPort: 80
- env:
- - name: ASPNETCORE_URLS
- value: http://*:80
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: microservice-playground
- spec:
- type: LoadBalancer
- ports:
- - port: 80
- selector:
- app: microservice-playground
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement