Я пытаюсь запустить развертывание kube с образом, хранящимся в Google Cloud Platform, я могу загрузить его вручную с помощью docker docker pull gcr.io/<project>/toolkit-image
, привилегии есть, простое развертывание говорит
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 47s default-scheduler Successfully assigned default/testimage-jenkins-5bdc57567f-ss5qh to minikube
Normal BackOff 17s (x3 over 45s) kubelet, minikube Back-off pulling image "gcr.io/toolkit-image:latest"
Warning Failed 17s (x3 over 45s) kubelet, minikube Error: ImagePullBackOff
Normal Pulling 6s (x3 over 46s) kubelet, minikube Pulling image "gcr.io/toolkit-image:latest"
Warning Failed 6s (x3 over 45s) kubelet, minikube Failed to pull image "gcr.io/toolkit-image:latest": rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v2/toolkit-image/manifests/latest: unknown: Project 'project:toolkit-image' not found or deleted.
Warning Failed 6s (x3 over 45s) kubelet, minikube Error: ErrImagePull
и мои значения
master:
adminPassword: <testr_pass>
resources:
limits:
cpu: 500m
memory: 1Gi
podLabels:
nodePort: 32323
serviceType: ClusterIP
image: "gcr.io/<project>/toolkit-image"
tag: "latest"
rbac:
create: true
То же самое происходит, если я пытаюсь вытащить с или без \ project \ val внутри gcr.io/project/toolkit-image
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 53s default-scheduler Successfully assigned default/testimage-jenkins-f5856f9c9-65prx to minikube
Normal BackOff 22s (x2 over 49s) kubelet, minikube Back-off pulling image "gcr.io/<project>/toolkit-image:latest"
Warning Failed 22s (x2 over 49s) kubelet, minikube Error: ImagePullBackOff
Normal Pulling 7s (x3 over 52s) kubelet, minikube Pulling image "gcr.io/<project>/toolkit-image:latest"
Warning Failed 5s (x3 over 49s) kubelet, minikube Failed to pull image "gcr.io/<project>/toolkit-image:latest": rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
Warning Failed 5s (x3 over 49s) kubelet, minikube Error: ErrImagePull
Любые идеи, как сделать kubectl см. частный репозиторий облачной платформы Google?
PS: gcloud auth configure-docker
эта команда аутентификации не помогает вообще