k8s日常问题记录

1.statefulset类型的Pod,当Node节点down掉之后,不会发生重新调度
结论:设计如此
参考资料:
https://github.com/kubernetes/kubernetes/issues/74689
https://cloud.tencent.com/developer/article/1397084

2.Pod中有两个容器,一个容器正常运行,另一个处于一直重启状态,那么Pod的状态是什么?
答: Running

The Pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting.

3.当StatefulSet的pod处于异常状态时,去更新statefulset能成功吗?
答:不能
参考资料:
https://github.com/kubernetes/kubernetes/issues/67250
源码
4.开源产品中遇到的问题
1)进行镜像仓库配置校验的时候,https校验不过;
2)配置管理中,对于子路径挂载没有很好的支持;

猜你喜欢

转载自blog.csdn.net/moxiyi9990/article/details/121243393