我在开发环境中遵循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
型
1条答案
按热度按时间hlswsv351#
你需要将docker凭证添加为secret,然后将其添加到manifest文件中