mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-27 20:38:41 +08:00
26 lines
516 B
YAML
26 lines
516 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: unaryserver-deployment
|
|
namespace: adhoc
|
|
labels:
|
|
app: unaryserver
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: unaryserver
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: unaryserver
|
|
spec:
|
|
containers:
|
|
- name: unaryserver
|
|
image: registry-vpc.cn-hangzhou.aliyuncs.com/xapp/unaryserver:v1
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3456
|
|
imagePullSecrets:
|
|
- name: aliyun
|