Skip to content

Commit

Permalink
DX-15647: enable VPC internal loadbalancer IP
Browse files Browse the repository at this point in the history
Change-Id: I73a66d0020b5f61abf08de6c0b2b0a1bf17fc663
  • Loading branch information
Nirmalya Sen committed Mar 22, 2019
1 parent 2ae0a4e commit 646c767
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/dremio/templates/dremio-service-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ metadata:
name: dremio-client
labels:
app: dremio-client
{{- if .Values.internalLoadBalancer }}
{{- if eq .Values.internalLoadBalancer true }}
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
cloud.google.com/load-balancer-type: "Internal"
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
{{- end }}
{{- end }}
spec:
ports:
- port: {{ .Values.coordinator.client.port | default 31010 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/dremio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ serviceType: LoadBalancer
# you have one or more coordinators, enable it
#sessionAffinity: ClientIP

# Enable the following flag if you wish to route traffic through a shared VPC
# for the LoadBalancer's external IP.
# The chart is setup for internal IP support for AKS, EKS, GKE.
# For more information, see https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
#internalLoadBalancer: true

# To use custom storage class, uncomment and provide the value here.
# Otherwise the default storage class configured for your K8S cluster is used.
#storageClass: managed-premium
Expand Down

0 comments on commit 646c767

Please sign in to comment.