Gerei o seguinte arquivo Yaml
apiVersion: v1
kind: Pod
metadata:
name: portal-noticias
spec:
containers:
- name: portal-noticias-container
image: aluracursos/portal-noticiais:1
Ao executar gera o erro:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 3m54s default-scheduler Successfully assigned default/portal-noticias to minikube
Warning Failed 2m13s (x4 over 3m47s) kubelet Failed to pull image "aluracursos/portal-noticiais:1": rpc error: code = Unknown desc = Error response from daemon: pull access denied for aluracursos/portal-noticiais, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Warning Failed 2m13s (x4 over 3m47s) kubelet Error: ErrImagePull
Normal Pulling 2m7s (x4 over 3m49s) kubelet Pulling image "aluracursos/portal-noticiais:1"
Warning Failed 107s (x6 over 3m46s) kubelet Error: ImagePullBackOff
Normal BackOff 93s (x7 over 3m46s) kubelet Back-off pulling image "aluracursos/portal-noticiais:1"