作为概念证明,我们正在尝试使用牧场主的Kubernetes.目前,我们共有10台环境机器.
我需要评估在Rancher环境中如何设置Kubernetes API.在K8S仪表板上,只有服务"kubernetes"在端口443上的"默认"命名空间中运行.
我想知道Rancher如何使用哪些容器来运行API?在标签orchestration = true(master-master,master-slave)的主机上使用什么HA模型?API通信流程?外部用户可以从中获得什么?
将不胜感激任何类型的提示,链接和文档.
所以这是我的问题,我想在Kubernetes ingress资源3超时参数中设置.Kubernetes文档中描述的方法是使用入口资源注释或ConfigMap.在下面的示例中,我尝试使用注释,但由于未知原因,更改未生效.
nginx.org/proxy-connect-timeout: 10s
nginx.org/proxy-read-timeout: 10s
nginx.org/proxy-send-timeout: 10s
Run Code Online (Sandbox Code Playgroud)
我在我的入口资源定义中设置这些参数:
kind: Ingress
metadata:
name: my-foobar-ingress
namespace: foobar
annotations:
nginx.org/proxy-send-timeout: "10s"
nginx.org/proxy-connect-timeout: "10s"
nginx.org/proxy-read-timeout: "10s"
spec:
rules:
- host: foobar.foo.bar
http:
paths:
- backend:
serviceName: foobar-svc
servicePort: 8080
path: /
Run Code Online (Sandbox Code Playgroud)
设置nginx配置的另一种方法是通过ConfigMap,但我不想全局这样做,所以我需要使用注释来实现.