Why Did a CCE Workload Fail to Pull an Image from SWR and a Message "Not Logged In" Was Displayed?
Symptom
A CCE workload failed to pull an image from SWR, and a message "Not Logged In" was displayed.
Solution
If a CCE workload cannot pull an SWR image and a message "Not logged in" is displayed, check whether the YAML file of the workload contains the imagePullSecrets field and whether the value of name is fixed to default-secret.
Example:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginx
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: nginx
spec:
containers:
- image: nginx
imagePullPolicy: Always
name: nginx
imagePullSecrets:
- name: default-secret What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot