zoukankan      html  css  js  c++  java
  • aws eks上部署 ingress-nginx 加NLB

    转载自https://kubernetes.github.io/ingress-nginx/deploy/#aws
    In AWS we use a Network load balancer (NLB) to expose the NGINX Ingress controller behind a Service of Type=LoadBalancer.

    NETWORK LOAD BALANCER (NLB)
    kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.43.0/deploy/static/provider/aws/deploy.yaml
    TLS TERMINATION IN AWS LOAD BALANCER (ELB)¶
    In some scenarios is required to terminate TLS in the Load Balancer and not in the ingress controller.
    For this purpose we provide a template:

    • Download deploy-tls-termination.yaml
      wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.43.0/deploy/static/provider/aws/deploy-tls-termination.yaml
    • Edit the file and change:
    • VPC CIDR in use for the Kubernetes cluster:
      proxy-real-ip-cidr: XXX.XXX.XXX/XX
    • AWS Certificate Manager (ACM) ID
      arn:aws:acm:us-west-2:XXXXXXXX:certificate/XXXXXX-XXXXXXX-XXXXXXX-XXXXXXXX
    • Deploy the manifest:
      kubectl apply -f deploy-tls-termination.yaml
      NLB IDLE TIMEOUTS¶
      Idle timeout value for TCP flows is 350 seconds and cannot be modified.
      For this reason, you need to ensure the keepalive_timeout value is configured less than 350 seconds to work as expected.
      By default NGINX keepalive_timeout is set to 75s.
      More information with regards to timeouts can be found in the official AWS documentation
    本人水平有限,还在不断学习中 难免有很多错误或者遗漏,望见谅
  • 相关阅读:
    22个免费和高级WordPress的滑块插件
    asp.net mvc 4.0的部署
    苹果公布2011年度最佳iOS应用
    18 个 jQuery Mobile 开发贴士和教程
    给asp.net mvc小白扫盲用的
    JM8.6中的MV计算及上层块预测方法
    CAVLC算法解析
    JM8.6中的关于写比特流的问题
    JM8.6中对cofAC及相关数组的探讨
    JM8.6中三个RDCost函数的对比分析
  • 原文地址:https://www.cnblogs.com/faberbeta/p/14268513.html
Copyright © 2011-2022 走看看