Merge pull request #11482 from kirillvelikov/master
feat(helm-chart): add support for loadBalancerClass
This commit is contained in:
commit
a663a64f73
|
@ -73,6 +73,7 @@ The following table lists the configurable parameters of the emqx chart and thei
|
||||||
| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
|
| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
|
||||||
| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
|
| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
|
||||||
| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
|
| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
|
||||||
|
| `service.loadBalancerClass` | The load balancer implementation this Service belongs to | |
|
||||||
| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
|
| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
|
||||||
| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
|
| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
|
||||||
| `service.externalIPs` | ExternalIPs for the service | [] |
|
| `service.externalIPs` | ExternalIPs for the service | [] |
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | default "Cluster" }}
|
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | default "Cluster" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if eq .Values.service.type "LoadBalancer" }}
|
{{- if eq .Values.service.type "LoadBalancer" }}
|
||||||
|
{{- if .Values.service.loadBalancerClass }}
|
||||||
|
loadBalancerClass: {{ .Values.service.loadBalancerClass }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.service.loadBalancerIP }}
|
{{- if .Values.service.loadBalancerIP }}
|
||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -163,6 +163,10 @@ service:
|
||||||
wss:
|
wss:
|
||||||
dashboard:
|
dashboard:
|
||||||
dashboardtls:
|
dashboardtls:
|
||||||
|
## Specifies the load balancer implementation this Service belongs to.
|
||||||
|
## Once set, it can not be changed.
|
||||||
|
##
|
||||||
|
# loadBalancerClass:
|
||||||
## Set the LoadBalancer service type to internal only.
|
## Set the LoadBalancer service type to internal only.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||||
##
|
##
|
||||||
|
@ -245,7 +249,7 @@ ssl:
|
||||||
useExisting: false
|
useExisting: false
|
||||||
existingName: emqx-tls
|
existingName: emqx-tls
|
||||||
dnsnames: []
|
dnsnames: []
|
||||||
commonName:
|
commonName:
|
||||||
issuer:
|
issuer:
|
||||||
name: letsencrypt-dns
|
name: letsencrypt-dns
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
|
|
|
@ -74,6 +74,7 @@ The following table lists the configurable parameters of the emqx chart and thei
|
||||||
| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
|
| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
|
||||||
| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
|
| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
|
||||||
| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
|
| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
|
||||||
|
| `service.loadBalancerClass` | The load balancer implementation this Service belongs to | |
|
||||||
| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
|
| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
|
||||||
| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
|
| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
|
||||||
| `service.externalIPs` | ExternalIPs for the service | [] |
|
| `service.externalIPs` | ExternalIPs for the service | [] |
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | default "Cluster" }}
|
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | default "Cluster" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if eq .Values.service.type "LoadBalancer" }}
|
{{- if eq .Values.service.type "LoadBalancer" }}
|
||||||
|
{{- if .Values.service.loadBalancerClass }}
|
||||||
|
loadBalancerClass: {{ .Values.service.loadBalancerClass }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.service.loadBalancerIP }}
|
{{- if .Values.service.loadBalancerIP }}
|
||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -163,6 +163,10 @@ service:
|
||||||
wss:
|
wss:
|
||||||
dashboard:
|
dashboard:
|
||||||
dashboardtls:
|
dashboardtls:
|
||||||
|
## Specifies the load balancer implementation this Service belongs to.
|
||||||
|
## Once set, it can not be changed.
|
||||||
|
##
|
||||||
|
# loadBalancerClass:
|
||||||
## Set the LoadBalancer service type to internal only.
|
## Set the LoadBalancer service type to internal only.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||||
##
|
##
|
||||||
|
@ -245,7 +249,7 @@ ssl:
|
||||||
useExisting: false
|
useExisting: false
|
||||||
existingName: emqx-tls
|
existingName: emqx-tls
|
||||||
dnsnames: []
|
dnsnames: []
|
||||||
commonName:
|
commonName:
|
||||||
issuer:
|
issuer:
|
||||||
name: letsencrypt-dns
|
name: letsencrypt-dns
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
|
|
Loading…
Reference in New Issue