搜索结果
查询Tags标签: ingress,共有 82条记录-
kubernetes 的ingress controller 的nginx configuration配置参数
下列列举一些参数其中常用的大家可根据实际情况自行添加(影响全局) kubectl edit cm nginx-configuration -n ingress-nginx 配置文件cm的定义: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ 增加到这个位置下边 apiVersion:v1…
2021/10/13 7:17:36 人评论 次浏览 -
kubernetes 的ingress controller 的nginx configuration配置参数
下列列举一些参数其中常用的大家可根据实际情况自行添加(影响全局) kubectl edit cm nginx-configuration -n ingress-nginx 配置文件cm的定义: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ 增加到这个位置下边 apiVersion:v1…
2021/10/13 7:17:36 人评论 次浏览 -
kubernetes ingress-nginx 启用 upstream 长连接,需要注意,否则容易 502
之前踩过这个坑,在《使用 nginx 作反向代理,启用 keepalive 时,遇到 502 错误的调查过程》 中了记录调查过程,当时多个案例同时查,记录的比较乱,这里重新整理一下结论。ingress-nginx 到 upstream 的长连接通过configmap中的 upstream-keepalive-connections 等参数…
2021/10/2 7:14:41 人评论 次浏览 -
kubernetes ingress-nginx 启用 upstream 长连接,需要注意,否则容易 502
之前踩过这个坑,在《使用 nginx 作反向代理,启用 keepalive 时,遇到 502 错误的调查过程》 中了记录调查过程,当时多个案例同时查,记录的比较乱,这里重新整理一下结论。ingress-nginx 到 upstream 的长连接通过configmap中的 upstream-keepalive-connections 等参数…
2021/10/2 7:14:41 人评论 次浏览 -
k8s中ingress以及nginx获取客户端真实IP
1.背景信息公司游戏官网的项目,集群使用ingress开放出去,后端由于是php语言编写,所以在php的pod里面也需要一个nginx来开放连接。所以本次的路由顺序就如以下:腾讯云LB → ingress → nginx所以本次环境,ingress和nginx都需要获取客户端的真实IP。所以本篇文档还是主要…
2021/8/30 7:06:12 人评论 次浏览 -
k8s中ingress以及nginx获取客户端真实IP
1.背景信息公司游戏官网的项目,集群使用ingress开放出去,后端由于是php语言编写,所以在php的pod里面也需要一个nginx来开放连接。所以本次的路由顺序就如以下:腾讯云LB → ingress → nginx所以本次环境,ingress和nginx都需要获取客户端的真实IP。所以本篇文档还是主要…
2021/8/30 7:06:12 人评论 次浏览 -
NGINX Ingress控制器1.0.0升级迁移文档(翻译)
Ingress 是什么Ingress 是对k8s集群中服务的外部访问进行管理的 API 对象,典型的访问方式是 HTTP。 Ingress 可以提供负载均衡、SSL 终结和基于名称的虚拟托管。最近发布了 1.0.0正式版, 有很多不兼容的改动. 名词说明: 注解 annotation 资源 resource 对象 object 控制器…
2021/8/28 7:37:47 人评论 次浏览 -
NGINX Ingress控制器1.0.0升级迁移文档(翻译)
Ingress 是什么Ingress 是对k8s集群中服务的外部访问进行管理的 API 对象,典型的访问方式是 HTTP。 Ingress 可以提供负载均衡、SSL 终结和基于名称的虚拟托管。最近发布了 1.0.0正式版, 有很多不兼容的改动. 名词说明: 注解 annotation 资源 resource 对象 object 控制器…
2021/8/28 7:37:47 人评论 次浏览 -
k8s 执行 ingress yaml 文件报错: error when creating "ingress-myapp.yaml": Internal error occurre
k8s 执行 ingress yaml 文件报错:错误如下: [root@k8s-master01 baremetal]# kubectl apply -f ingress-test.yaml Error from server (InternalError): error when creating "ingress-myapp.yaml": Internal error occurred: failed calling webhook "…
2021/8/27 6:06:02 人评论 次浏览 -
k8s 执行 ingress yaml 文件报错: error when creating "ingress-myapp.yaml": Internal error occurre
k8s 执行 ingress yaml 文件报错:错误如下: [root@k8s-master01 baremetal]# kubectl apply -f ingress-test.yaml Error from server (InternalError): error when creating "ingress-myapp.yaml": Internal error occurred: failed calling webhook "…
2021/8/27 6:06:02 人评论 次浏览 -
【K8s教程】ingress-nginx 通过主机网络部署说明
参考:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network在没有可用的外部负载均衡器但不能使用 NodePorts 的设置中,可以配置 ingress-nginx Pod 使用它们运行的主机的网络,而不是专用的网络命名空间。 这种方法的好处是 NGINX …
2021/8/12 7:07:53 人评论 次浏览 -
【K8s教程】ingress-nginx 通过主机网络部署说明
参考:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network在没有可用的外部负载均衡器但不能使用 NodePorts 的设置中,可以配置 ingress-nginx Pod 使用它们运行的主机的网络,而不是专用的网络命名空间。 这种方法的好处是 NGINX …
2021/8/12 7:07:53 人评论 次浏览 -
k8s filebeat sidecar模式收集ingress nginx日志并可视化展示
本文默认k8s环境以及已经部署ingress controller 公司所用ingress监控是由prometheus+grafana进行,但是监控不够全面,故使用filebeat去采集ingress日志,并自主进行可视化展示 1、ingress nginx日志数据落盘 在ingress controller中将configmap改为kind: ConfigMap apiV…
2021/8/6 7:08:10 人评论 次浏览 -
k8s filebeat sidecar模式收集ingress nginx日志并可视化展示
本文默认k8s环境以及已经部署ingress controller 公司所用ingress监控是由prometheus+grafana进行,但是监控不够全面,故使用filebeat去采集ingress日志,并自主进行可视化展示 1、ingress nginx日志数据落盘 在ingress controller中将configmap改为kind: ConfigMap apiV…
2021/8/6 7:08:10 人评论 次浏览 -
k8s nginx controller中日志切片配置
只需要添加如下信息至configmapapiVersion: v1 data:compute-full-forwarded-for: "true"enable-real-ip: "true"keep-alive-requests: "5000"log-format-upstream: {"time": "$time_iso8601", "k8s_service_name…
2021/7/23 7:11:42 人评论 次浏览