kubernetes K8ssandra/cass-management-API映像拉取错误

qnyhuwrf  于 2023-08-03  发布在  Kubernetes
关注(0)|答案(1)|浏览(93)

我在开发环境中遵循Single Cluster Installation
kubectl get pods -n k8ssandra-operator给出以下输出-

NAME                                               READY   STATUS             RESTARTS   AGE
demo-dc1-default-sts-0                             1/2     ErrImagePull       0          81m
demo-dc1-default-sts-1                             1/2     ImagePullBackOff   0          81m
demo-dc1-default-sts-2                             1/2     ImagePullBackOff   0          81m
k8ssandra-operator-7568db8d8f-7l6vb                1/1     Running            0          84m
k8ssandra-operator-cass-operator-f6df9b874-gmsbp   1/1     Running            0          84m

字符串
kubectl describe pod demo-dc1-default-sts-1 -n k8ssandra-operator输出如下-

Warning Failed 101s (x8 over 65m) kubelet Failed to pull image "k8ssandra/cass-management-api:4.0.1": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/k8ssandra/cass-management-api:4.0.1": failed to copy: httpReadSeeker: failed open: server message: invalid_token: authorization failed

hlswsv35

hlswsv351#

你需要将docker凭证添加为secret,然后将其添加到manifest文件中

相关问题