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.
27 lines
463 B
YAML
27 lines
463 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: pub-deployment
|
|
namespace: adhoc
|
|
labels:
|
|
app: pub
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: pub
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: pub
|
|
spec:
|
|
containers:
|
|
- name: pub
|
|
image: registry-vpc.cn-hangzhou.aliyuncs.com/xapp/pub:v200213172101
|
|
command:
|
|
- /app/pub
|
|
- -v
|
|
- ccc
|
|
imagePullSecrets:
|
|
- name: aliyun
|