X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fregistry%2Ftemplates%2Fupdate%2Fdocker-registry-update.yml;h=89b23870e63658c258e9992af60e37bb289197c6;hb=83fe528257a74893d0761ebd467ff604aa80cb62;hp=39b0ce9800e613b9d52209f53763e97a33306048;hpb=2ed671c54dad28dd81763928b28cd17d5c76df66;p=ta%2Fcaas-registry.git diff --git a/ansible/roles/registry/templates/update/docker-registry-update.yml b/ansible/roles/registry/templates/update/docker-registry-update.yml index 39b0ce9..89b2387 100644 --- a/ansible/roles/registry/templates/update/docker-registry-update.yml +++ b/ansible/roles/registry/templates/update/docker-registry-update.yml @@ -35,6 +35,7 @@ spec: labels: name: registry-update spec: + priorityClassName: "system-cluster-critical" dnsPolicy: ClusterFirst nodeSelector: nodename: caas_master1 @@ -50,7 +51,13 @@ spec: value: "{{ caas.update_registry_port }}" - name: REGISTRY_CONFIG value: /etc/docker-registry/docker-registry-update-config.yml + resources: + requests: + cpu: "10m" volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: config mountPath: /etc/docker-registry/ readOnly: true @@ -60,6 +67,9 @@ spec: mountPath: /etc/ssl/certs/ readOnly: true volumes: + - name: time-mount + hostPath: + path: /etc/localtime - name: config hostPath: path: /etc/docker-update-registry/