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.
29 lines
573 B
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
|
|
|
|
|