Quando tento subir o pod do db-noticias recebo status ImagePullBackOff, dando describe no pod tenho:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 10m default-scheduler Successfully assigned default/db-noticias to minikube
Normal Pulling 5m37s (x4 over 10m) kubelet Pulling image "aluracursos/mysql-db:1"
Warning Failed 4m24s (x4 over 9m26s) kubelet Failed to pull image "aluracursos/mysql-db:1": rpc error: code = Unknown desc = context canceled
Warning Failed 4m24s (x4 over 9m26s) kubelet Error: ErrImagePull
Normal BackOff 3m58s (x7 over 9m25s) kubelet Back-off pulling image "aluracursos/mysql-db:1"
Warning Failed 34s (x16 over 9m25s) kubelet Error: ImagePullBackOff
Meu db-noticias.yaml está assim:
apiVersion: v1
kind: Pod
metadata:
name: db-noticias
labels:
app: db-noticias
spec:
containers:
- name: db-noticias-container
image: aluracursos/mysql-db:1
ports:
- containerPort: 3306
env:
- name: "MYSQL_ROOT_PASSWORD"
value: "q1w2e3r4"
- name: "MYSQL_PASSWORD"
value: "q1w2e3r4"
- name: "MYSQL_DATABASE"
value: "empresa"
Agradeço desde já.