Skip to content

Commit 646c767

Browse files
author
Nirmalya Sen
committed
DX-15647: enable VPC internal loadbalancer IP
Change-Id: I73a66d0020b5f61abf08de6c0b2b0a1bf17fc663
1 parent 2ae0a4e commit 646c767

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

charts/dremio/templates/dremio-service-client.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ metadata:
44
name: dremio-client
55
labels:
66
app: dremio-client
7+
{{- if .Values.internalLoadBalancer }}
8+
{{- if eq .Values.internalLoadBalancer true }}
9+
annotations:
10+
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
11+
cloud.google.com/load-balancer-type: "Internal"
12+
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
13+
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
14+
{{- end }}
15+
{{- end }}
716
spec:
817
ports:
918
- port: {{ .Values.coordinator.client.port | default 31010 }}

charts/dremio/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ serviceType: LoadBalancer
2727
# you have one or more coordinators, enable it
2828
#sessionAffinity: ClientIP
2929

30+
# Enable the following flag if you wish to route traffic through a shared VPC
31+
# for the LoadBalancer's external IP.
32+
# The chart is setup for internal IP support for AKS, EKS, GKE.
33+
# For more information, see https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
34+
#internalLoadBalancer: true
35+
3036
# To use custom storage class, uncomment and provide the value here.
3137
# Otherwise the default storage class configured for your K8S cluster is used.
3238
#storageClass: managed-premium

0 commit comments

Comments
 (0)