1 changed files with 29 additions and 0 deletions
@ -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 |
||||
|
|
Reference in new issue