diff --git a/syncimages/deployment.yaml b/syncimages/deployment.yaml new file mode 100644 index 0000000..1a83d93 --- /dev/null +++ b/syncimages/deployment.yaml @@ -0,0 +1,29 @@ +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 +