Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

docker pull cluster-proportional-autoscaler-amd64:1.6.0 error #5806

Open
a18090 opened this issue Sep 26, 2022 · 1 comment
Open

docker pull cluster-proportional-autoscaler-amd64:1.6.0 error #5806

a18090 opened this issue Sep 26, 2022 · 1 comment

Comments

@a18090
Copy link

a18090 commented Sep 26, 2022

use quick-start-kubespray.sh
run docker pull cpa plugin.
config.yaml change to china docker mirrors.
gcr_image_repo: "registry.aliyuncs.com"
kube_image_repo: "registry.aliyuncs.com/google_containers"
dnsautoscaler_image_repo: "mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"

i im manual use
docker pull gcr.io/google-containers/cluster-proportional-autoscaler-amd64:1.6.0 download to local, save to a file
sudo docker import < file

docker images:
gcr.io/google-containers/cluster-proportional-autoscaler-amd64 1.6.0 dfe4432cd2e2 3 years ago 47.7MB
k8s.gcr.io/cluster-proportional-autoscaler-amd64 1.6.0 dfe4432cd2e2 3 years ago 47.7MB

i want stop this download or delete this docker yaml code

i use github search "cluster-proportional-autoscaler" pai and kubespray:2.11 not find this line.

this log.

FAILED - RETRYING: download_container | Download image if required (4 retries left).
FAILED - RETRYING: download_container | Download image if required (3 retries left).
FAILED - RETRYING: download_container | Download image if required (2 retries left).
FAILED - RETRYING: download_container | Download image if required (1 retries left).
TASK [download_container | Download image if required] **************************************************************************************************************************************************************************************************************fatal: [master -> 192.168.100.4]: FAILED! => {"attempts": 4, "changed": true, "cmd": ["/usr/bin/docker", "pull", "k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.6.0"], "delta": "0:00:15.059807", "end": "2022-09-26 15:10:45.398968", "msg": "non-zero return code", "rc": 1, "start": "2022-09-26 15:10:30.339161", "stderr": "Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)", "stderr_lines": ["Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"], "stdout": "", "stdout_lines": []}

thk

@HaoLiuHust
Copy link

you can try to set dnsautoscaler_image_repo: "docker.io/mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants