首页
技术小册
AIGC
面试刷题
技术文章
MAGENTO
云计算
视频课程
源码下载
PDF书籍
「涨薪秘籍」
登录
注册
介绍
1.1. 原理
1.1.1. IC 流量转发
1.1.2. IC Pod 内部逻辑
1.1.3. IC 进程内部逻辑
部署
2.1. 版本说明
2.2. 使用清单文件部署
2.2.1. 配置RBAC
2.2.2. 创建CRD
2.2.3. 部署控制器
2.2.4. LB配置
2.2.5. 验证
2.2.5.1. 默认404页面
2.2.5.2. ingress http 验证
2.2.5.3. ingress https 验证
配置
3.1. Nginx全局配置
3.1.1. 命令行参数
3.1.2. ConfigMap
3.1.2.1. 常规自定义配置
3.1.2.2. 日志配置
3.1.2.3. SSL/TLS 配置
3.1.2.4. Listeners配置
3.1.2.5. Backend配置
3.1.2.6. Snippets & Custom 模板
3.1.2.7. 链路追踪
3.2. Ingress资源配置
3.2.1. annotations
3.2.1.2. Listeners
3.2.1.3. General
3.2.1.4. URI/Header
3.2.1.5. Auth / TLS
3.2.1.6. upstream
3.2.1.7. sinppets
3.2.3. 案例
3.2.3.1. 简单demo
3.2.3.2. kubernetes dashboard
3.2.3.3. jenkins
3.3. CRD配置
3.3.1. TransportServer
运维
4.1. 日志
4.2. 状态页
4.3. 监控
当前位置:
首页>>
技术小册>>
Kubernets合辑2-部署Ingress
小册名称:Kubernets合辑2-部署Ingress
| ConfigMap Key | Description | Default | Example | |-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|-----------------------------------------| | proxy-connect-timeout | Sets the value of the proxy_connect_timeout and grpc_connect_timeout directive. | 60s | | | proxy-read-timeout | Sets the value of the proxy_read_timeout and grpc_read_timeout directive. | 60s | | | proxy-send-timeout | Sets the value of the proxy_send_timeout and grpc_send_timeout directive. | 60s | | | client-max-body-size | Sets the value of the client_max_body_size directive. | 1m | | | proxy-buffering | Enables or disables buffering of responses from the proxied server. | True | | | proxy-buffers | Sets the value of the proxy_buffers directive. | Depends on the platform. | | | proxy-buffer-size | Sets the value of the proxy_buffer_size and grpc_buffer_size directives. | Depends on the platform. | | | proxy-max-temp-file-size | Sets the value of the proxy_max_temp_file_size directive. | 1024m | | | set-real-ip-from | Sets the value of the set_real_ip_from directive. | N/A | | | real-ip-header | Sets the value of the real_ip_header directive. | X-Real-IP | | | real-ip-recursive | Enables or disables the real_ip_recursive directive. | False | | | default-server-return | Configures the return directive in the default server, which handles a client request if none of the hosts of Ingress or VirtualServer resources match. The default value configures NGINX to return a 404 error page. You can configure a fixed response or a redirect. For example, default-server-return: 302 https://nginx.org will redirect a client to https://nginx.org. | 404 | | | server-tokens | Enables or disables the server_tokens directive. Additionally, with the NGINX Plus, you can specify a custom string value, including the empty string value, which disables the emission of the“Server” field. | True | | | worker-processes | Sets the value of the worker_processes directive. | auto | | | worker-rlimit-nofile | Sets the value of the worker_rlimit_nofile directive. | N/A | | | worker-connections | Sets the value of the worker_connections directive. | 1024 | | | worker-cpu-affinity | Sets the value of the worker_cpu_affinity directive. | N/A | | | worker-shutdown-timeout | Sets the value of the worker_shutdown_timeout directive. | N/A | | | server-names-hash-bucket-size | Sets the value of the server_names_hash_bucket_size directive. | 256 | | | server-names-hash-max-size | Sets the value of the server_names_hash_max_size directive. | 1024 | | | resolver-addresses | Sets the value of the resolver addresses. Note: If you use a DNS name (for example, kube-dns.kube-system.svc.cluster.local ) as a resolver address, NGINX Plus will resolve it using the system resolver during the start and on every configuration reload. If the name cannot be resolved or the DNS server doesn’t respond, NGINX Plus will fail to start or reload. To avoid this, we recommend using IP addresses as resolver addresses instead of DNS names. Supported in NGINX Plus only. | N/A | Support for Type ExternalName Services. | | resolver-ipv6 | Enables IPv6 resolution in the resolver. Supported in NGINX Plus only. | True | Support for Type ExternalName Services | | resolver-valid | Sets the time NGINX caches the resolved DNS records. Supported in NGINX Plus only. | TTL value of a DNS record | Support for Type ExternalName Services | | resolver-timeout | Sets the resolver_timeout for name resolution. Supported in NGINX Plus only. | 30s | Support for Type ExternalName Services | | keepalive-timeout | Sets the value of the keepalive_timeout directive. | 65s | | | keepalive-requests | Sets the value of the keepalive_requests directive. | 100 | | | variables-hash-bucket-size | Sets the value of the variables_hash_bucket_size directive. | 256 | | | variables-hash-max-size | Sets the value of the variables-hash-max-size directive. | 1024 | |
上一篇:
3.1.2. ConfigMap
下一篇:
3.1.2.2. 日志配置
该分类下的相关小册推荐:
Kubernetes中文教程(五)
Kubernets合辑7-存储
Kubernetes中文教程(二)
Kubernets合辑12-配置中心
Kubernetes中文教程(六)
Kubernetes合辑1-安装Kubernetes
Kubernets合辑10-网络
Kubernetes中文教程(三)
云原生-K8S入门实战
Kubernets合辑11-持续集成
Kubernets合辑3-kubernetes介绍
Kubernets合辑5-Pod控制器