Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro no pull da image aluracursos/mysql-db:1

Esta pedindo dados de acesso ao subir o pod do MySQL

kubectl logs db-noticias 2022-02-15 00:32:35+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.48-1debian9 started. 2022-02-15 00:32:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2022-02-15 00:32:35+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.48-1debian9 started. 2022-02-15 00:32:35+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD

kubectl get po -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES db-noticias 0/1 CrashLoopBackOff 5 (32s ago) 4m24s 10.1.0.24 docker-desktop portal-noticias 1/1 Running 1 (6m24s ago) 40m 10.1.0.16 docker-desktop sistema-noticias 1/1 Running 1 (6m24s ago) 34m 10.1.0.17 docker-desktop

1 resposta
solução!

favor desconsiderar o topico, problema foi detectado e corrigido. obrigado