随笔分类 -  k8s and docker

摘要:Understanding Kubernetes Security Components In Kubernetes, security is implemented through several components that work together to control access an 阅读全文
posted @ 2025-09-22 12:20 iTech 阅读(13) 评论(0) 推荐(0)
摘要:在 Kubernetes 中,`readiness`、`startup` 和 `liveness` 探针可以同时定义,并且它们的生命周期和作用是不同的。以下是它们的详细区别和生命周期: ### 1. **Readiness Probe**- **作用**: 用于判断容器是否已经准备好接收流量。- * 阅读全文
posted @ 2025-07-28 10:37 iTech 阅读(35) 评论(0) 推荐(0)
摘要:Node taints 和 tolerations 是 Kubernetes 中用于控制和影响 pod 调度到节点上的机制。它们帮助确保某些 pod 仅调度到特定节点,或者防止 pod 调度到不适合它们的节点。 ### **Node Taints****taint** 是应用于节点的一种属性,用于标 阅读全文
posted @ 2025-07-28 10:24 iTech 阅读(89) 评论(0) 推荐(0)
摘要:minikue ssh到node上可以直接访问pod 和 service。 例如curl pod_ip 或者curl servcie_ip。 如果想在外面访问: 需要ingress 或者nodePort类型,curl $(minikube ip) 或者需要port-forward,curl $(mi 阅读全文
posted @ 2025-07-27 11:49 iTech 阅读(18) 评论(0) 推荐(0)