You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
516 B
YAML
26 lines
516 B
YAML
4 years ago
|
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
|