构建使用基础镜像
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

29 lines
573 B

kind: Deployment
apiVersion: apps/v1
metadata:
name: syncimages
namespace: ops
labels:
app: tool
component: syncimages
spec:
replicas: 1
selector:
matchLabels:
app: tool
component: syncimages
template:
metadata:
labels:
app: tool
component: syncimages
spec:
containers:
- name: syncimages
image: 'repository.anxinyun.cn/devops/syncimages:0.13'
command:
- ./run.sh
imagePullPolicy: IfNotPresent
securityContext:
privileged: true