pod一直重启,报错Back-off restarting failed container
参考资料:https://blog.csdn.net/u012856866/article/details/138701701
es没起起来

查看pod
kubectl describe pod <pod-name> -n <namespace-name>

发现在不断重启
解决方法:
找到对应编排文件中的deployment类型,加上command: ["/bin/bash", "-ce", "tail -f /dev/null"]

重启
kubectl delete -f es.yaml
kubectl apply -f es.yaml
解决了
