labels:
name: registry-update
spec:
+ priorityClassName: "system-cluster-critical"
dnsPolicy: ClusterFirst
nodeSelector:
nodename: caas_master1
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
mountPath: /etc/ssl/certs/
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: config
hostPath:
path: /etc/docker-update-registry/