05 2022 档案

摘要:深入ingress-nginx 1. 使用deployment 是否合适 2. 四层代理 3. 定制配置(超时, buffersize 设置) 4. https服务 5. 访问控制(session保持,支不支持AB测试) 错误页面是发生错误时显示的网页。错误页面会警告用户发生的错误类型,并可能为用户 阅读全文
posted @ 2022-05-29 18:34 fengjian1585 阅读(670) 评论(0) 推荐(0) 编辑
摘要:下载地址:https://github.com/prometheus-operator/kube-prometheus 安装后, 无法获取 kubectl top pod 监控数据, 经过prometheus 查询 container_cpu_usage_seconds_total, 发现conta 阅读全文
posted @ 2022-05-27 11:03 fengjian1585 阅读(300) 评论(0) 推荐(0) 编辑
摘要:设置tab 补齐方法 vim /etc/profile 前提: 安装了bash-completion.noarch source <(kubectl completion bash) source /etc/profile 阅读全文
posted @ 2022-05-27 09:18 fengjian1585 阅读(59) 评论(0) 推荐(0) 编辑
摘要:一、系统环境Traefik版本: 2.5.6Kubernetes 版本:1.23.3 二、helm 安装2.1 系统环境Kubernetes 1.23+Helm 3.x 2.2 安装添加Traefik chart 仓库 helm repo add traefik https://helm.traef 阅读全文
posted @ 2022-05-16 20:31 fengjian1585 阅读(402) 评论(0) 推荐(0) 编辑
摘要:清除 curl -u admin:123456 -X POST http://192.168.0.202/api/v2.0/system/gc/schedule -H 'accept: application/json' -H 'Content-Type: application/json' -d 阅读全文
posted @ 2022-05-12 19:32 fengjian1585 阅读(341) 评论(0) 推荐(0) 编辑
摘要:生产随机字符串 [root@localhost harbor]# openssl rand -base64 16 Pkxoo3CC7pTD222nxTL6ucRSA== 阅读全文
posted @ 2022-05-12 14:43 fengjian1585 阅读(285) 评论(0) 推荐(0) 编辑