Created
December 17, 2021 13:49
-
-
Save lusoal/a8fea4c6c5e17d103ba6d57adf2e66c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| controller: | |
| ingressClassResource: | |
| name: nginx-internal # default: nginx | |
| enabled: true | |
| default: false | |
| controllerValue: "k8s.io/ingress-nginx-internal" # default: k8s.io/ingress-nginx | |
| service: | |
| enabled: true | |
| ## If enabled is adding an appProtocol option for Kubernetes service. An appProtocol field replacing annotations that were | |
| ## using for setting a backend protocol. Here is an example for AWS: service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http | |
| ## It allows choosing the protocol for each backend specified in the Kubernetes service. | |
| ## See the following GitHub issue for more details about the purpose: https://github.com/kubernetes/kubernetes/issues/40244 | |
| ## Will be ignored for Kubernetes versions older than 1.20 | |
| ## | |
| appProtocol: true | |
| # Annotation for huawei to ensure LoadBalancer | |
| annotations: | |
| service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 | |
| labels: {} | |
| # clusterIP: "" | |
| ## List of IP addresses at which the controller services are available | |
| ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips | |
| ## | |
| externalIPs: [] | |
| # loadBalancerIP: "" | |
| loadBalancerSourceRanges: [] | |
| enableHttp: true | |
| enableHttps: true | |
| ## Set external traffic policy to: "Local" to preserve source IP on providers supporting it. | |
| ## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer | |
| # externalTrafficPolicy: "" | |
| ## Must be either "None" or "ClientIP" if set. Kubernetes will default to "None". | |
| ## Ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | |
| # sessionAffinity: "" | |
| ## Specifies the health check node port (numeric port number) for the service. If healthCheckNodePort isn’t specified, | |
| ## the service controller allocates a port from your cluster’s NodePort range. | |
| ## Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip | |
| # healthCheckNodePort: 0 | |
| ## Represents the dual-stack-ness requested or required by this Service. Possible values are | |
| ## SingleStack, PreferDualStack or RequireDualStack. | |
| ## The ipFamilies and clusterIPs fields depend on the value of this field. | |
| ## Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/ | |
| ipFamilyPolicy: "SingleStack" | |
| ## List of IP families (e.g. IPv4, IPv6) assigned to the service. This field is usually assigned automatically | |
| ## based on cluster configuration and the ipFamilyPolicy field. | |
| ## Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/ | |
| ipFamilies: | |
| - IPv4 | |
| ports: | |
| http: 80 | |
| https: 443 | |
| targetPorts: | |
| http: http | |
| https: https | |
| type: LoadBalancer | |
| # type: NodePort | |
| # nodePorts: | |
| # http: 32080 | |
| # https: 32443 | |
| # tcp: | |
| # 8080: 32808 | |
| nodePorts: | |
| http: "" | |
| https: "" | |
| tcp: {} | |
| udp: {} | |
| external: | |
| enabled: true | |
| ## Enables an additional internal load balancer (besides the external one). | |
| ## Annotations are mandatory for the load balancer to come up. Varies with the cloud service. | |
| internal: | |
| enabled: false | |
| annotations: {} | |
| # loadBalancerIP: "" | |
| ## Restrict access For LoadBalancer service. Defaults to 0.0.0.0/0. | |
| loadBalancerSourceRanges: [] | |
| ## Set external traffic policy to: "Local" to preserve source IP on | |
| ## providers supporting it | |
| ## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer | |
| # externalTrafficPolicy: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment