Browse Source

添加 'syncimages/deployment.yaml'

main
凌文龙 3 years ago
parent
commit
3d64e04b92
  1. 29
      syncimages/deployment.yaml

29
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