Erro ao aplicar um arquivo yaml | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por Edilson

5 meses atrás Edilson

Erro ao aplicar um arquivo yaml

Ao execulta o comandado kubectl create -f file.yaml, é apresentado a senguinte mensagem com o describe: ------------------------------------------------------------------------------------ NAME READY STATUS RESTARTS AGE pod1-3000014560-4nl5j 0/1 ContainerCreating 0 9m [[email protected] etcd]# kubectl describe pods Name: pod1-3000014560-4nl5j Namespace: default Node: 192.168.1.159/192.168.1.159 Start Time: Sat, 09 Jul 2022 22:11:55 -0300 Labels: pod-template-hash=3000014560 run=pod1 Status: Pending IP: Controllers: ReplicaSet/pod1-3000014560 Containers: pod1: Container ID: Image: nginx Image ID: Port: State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Volume Mounts: <none> Environment Variables: <none> Conditions: Type Status Initialized True Ready False PodScheduled True No volumes. QoS Class: BestEffort Tolerations: <none> Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 9m 9m 1 {default-scheduler } Normal Scheduled Successfully assigned pod1-3000014560-4nl5j to 192.168.1.159 9m 8m 4 {kubelet 192.168.1.159} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. details: (open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory)" 9m 7m 6 {kubelet 192.168.1.159} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ImagePullBackOff: "Back-off pulling image \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\"" 6m 1m 6 {kubelet 192.168.1.159} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. details: (open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory)" 6m 2s 26 {kubelet 192.168.1.159} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ImagePullBackOff: "Back-off pulling image \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\""

1 Respostas