04 2023 档案
摘要:根据 Deployment+ nodeSeletor+pod 反亲和性策略,把ingress-nginx部署在 k8s 指定的两个 work 节点,nginx-ingress-controller 的网络模式改成NodePort, pod 共享宿主机 ip, keepalive+lvs 实现 ngi
阅读全文
摘要:使用临时容器,需要开启k8s的聚合功能,修改kube-apiserver kube-scheduler kubelet配置文件,具体方式如下: #### 以下命令在master节点配置 编辑 kube-apiserver配置 vi /etc/kubernetes/manifests/kube-api
阅读全文
摘要:[plugins."io.containerd.grpc.v1.cri".registry]# config_path = "/etc/containerd/certs.d" ## 注释掉这一样 [plugins."io.containerd.grpc.v1.cri".registry.auths]
阅读全文
摘要:level=error ts=2018-10-22T14:34:58.632016274Z caller=main.go:617 err="opening storage failed: lock DB directory: open /data/lock: permission denied" 处
阅读全文
摘要:## 分析日志kubectl logs productpage-v1-6b746f74dc-4hdpp istio-init modprobe ip_tablesmodprobe iptable_filtermodprobe iptable_nat ## 验证一下 lsmod |grep -E "i
阅读全文
摘要:1. 下载最新版 的配置文件包 kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.3/components.yaml 或者wget https://github.com/
阅读全文