ola pessoal,
ao criar o pod do portal de noticias, ocorre um erro ao subir o pod:
Name: portal-noticias
Namespace: default
Priority: 0
Start Time: Tue, 22 Mar 2022 15:45:25 -0300
Labels: <none>
Annotations: <none>
Status: Pending
IP: 10.1.0.30
IPs:
IP: 10.1.0.30
Containers:
portal-noticias-container:
Container ID:
Image: aluracursos/portal-noticias:1
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: ImageInspectError
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-zhz2m (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
kube-api-access-zhz2m:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 35s default-scheduler Successfully assigned default/portal-noticias to docker-desktop
Warning InspectFailed 6s (x5 over 33s) kubelet Failed to inspect image "aluracursos/portal-noticias:1": rpc error: code = Unknown desc = Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
Warning Failed 6s (x5 over 33s) kubelet Error: ImageInspectError
versao do kubernetes: 1.22.5
arquivo yaml:
apiVersion: v1
kind: Pod
metadata:
name: portal-noticias
spec:
containers:
- name: portal-noticias-container
image: aluracursos/portal-noticias:1
OBS: reparei que no describe nao tem o Image ID, enquanto que no video tem