2020-03-31 17:07:36,104 p=17663 u=root | fatal: [node02 -> 10.8.230.11]: FAILED! => {
"attempts": 4,
"changed": true,
"cmd": [
"/usr/bin/docker",
"pull",
"10.8.230.11:5000/mirrorgooglecontainers/pause-amd64:3.1"
],
"delta": "0:00:00.063288",
"end": "2020-03-31 17:07:36.083266",
"rc": 1,
"start": "2020-03-31 17:07:36.019978"
}
STDERR:
Error response from daemon: Get https://10.8.230.11:5000/v2/: http: server gave HTTP response to HTTPS client
MSG:
升级的时候出错了
master节点上的registry是http的
咋避开?
/etc/docker/registry # cat config.yml
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3