labels:
name: registry
spec:
+ priorityClassName: "system-cluster-critical"
dnsPolicy: ClusterFirst
nodeSelector:
nodetype: caas_master
value: "{{ caas.registry_port }}"
- name: REGISTRY_CONFIG
value: /etc/docker-registry/docker-registry-main-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-registry/