摘要: 根据 Deployment+ nodeSeletor+pod 反亲和性策略,把ingress-nginx部署在 k8s 指定的两个 work 节点,nginx-ingress-controller 的网络模式改成NodePort, pod 共享宿主机 ip, keepalive+lvs 实现 ngi 阅读全文
posted @ 2023-04-14 10:35 netma 阅读(416) 评论(0) 推荐(0)
摘要: 使用临时容器,需要开启k8s的聚合功能,修改kube-apiserver kube-scheduler kubelet配置文件,具体方式如下: #### 以下命令在master节点配置 编辑 kube-apiserver配置 vi /etc/kubernetes/manifests/kube-api 阅读全文
posted @ 2023-04-13 16:13 netma 阅读(274) 评论(0) 推荐(0)
摘要: [plugins."io.containerd.grpc.v1.cri".registry]# config_path = "/etc/containerd/certs.d" ## 注释掉这一样 [plugins."io.containerd.grpc.v1.cri".registry.auths] 阅读全文
posted @ 2023-04-12 11:25 netma 阅读(771) 评论(0) 推荐(0)
摘要: 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" 处 阅读全文
posted @ 2023-04-12 11:00 netma 阅读(839) 评论(0) 推荐(0)
摘要: ## 分析日志kubectl logs productpage-v1-6b746f74dc-4hdpp istio-init modprobe ip_tablesmodprobe iptable_filtermodprobe iptable_nat ## 验证一下 lsmod |grep -E "i 阅读全文
posted @ 2023-04-12 10:59 netma 阅读(210) 评论(0) 推荐(0)
摘要: 1. 下载最新版 的配置文件包 kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.3/components.yaml 或者wget https://github.com/ 阅读全文
posted @ 2023-04-12 10:52 netma 阅读(1589) 评论(0) 推荐(1)
摘要: svn cleanup 阅读全文
posted @ 2021-01-20 15:00 netma 阅读(329) 评论(0) 推荐(0)
摘要: 对于这个问题,我主要安装了几款软件,分别如下: sudo apt-get install php-pear php-dev sudo apt-get install imagemagick libmagickwand-dev sudo apt-get install ghostscript sudo 阅读全文
posted @ 2020-12-16 10:52 netma 阅读(292) 评论(0) 推荐(0)
摘要: 查看kubectl services简称列表kubectl api-resources 查看ingress-nginx是否在安装 $ kubectl get pods -n ingress-nginx NAME READY STATUS RESTARTS AGE ingress-nginx-cont 阅读全文
posted @ 2020-07-26 18:18 netma 阅读(268) 评论(0) 推荐(0)
摘要: yum -y install ipvsadm modprobe br_netfilter cat > /etc/sysconfig/modules/ipvs.modules <<EOF#!/bin/bashmodprobe -- ip_vsmodprobe -- ip_vs_rrmodprobe - 阅读全文
posted @ 2020-07-26 10:16 netma 阅读(1105) 评论(0) 推荐(0)