1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00
2020-12-26 15:17:20 +00:00

28 lines
507 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
namespace: micro
name: micro-web
spec:
replicas: 1
selector:
matchLabels:
name: micro-web
template:
metadata:
labels:
name: micro-web
spec:
containers:
- name: web
env:
- name: MICRO_ENABLE_STATS
value: "true"
args:
- web
image: microhq/micro:kubernetes
imagePullPolicy: Always
ports:
- containerPort: 8082
name: web-port