mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-23 17:53:05 +02:00
28 lines
519 B
YAML
28 lines
519 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: micro
|
|
name: micro-proxy
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
name: micro-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: micro-proxy
|
|
spec:
|
|
containers:
|
|
- name: proxy
|
|
env:
|
|
- name: MICRO_ENABLE_STATS
|
|
value: "true"
|
|
args:
|
|
- proxy
|
|
image: microhq/micro:kubernetes
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8081
|
|
name: proxy-port
|