k8s集群:postgresql的pod启动失败
# kubectl describe pods postgresql-7669f8b7f5-4m4mg -n kube-ops
# kubectl logs postgresql-7669f8b7f5-4m4mg -n kube-ops
在env中添加:
env: - name: POSTGRES_PASSWORD value: gitpswd
#kubectl delete -f gitlab-postgresql.yaml
重新启动: