Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ spec:
type: ClusterIP
envoyDeployment:
pod:
{{- if .Values.aiGateway.nodeSelector }}
nodeSelector:
cluster-bloom/first-node: "true"
{{- toYaml .Values.aiGateway.nodeSelector | nindent 12 }}
{{- end }}
priorityClassName: "system-cluster-critical"
telemetry:
accessLog:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.rkeCoreDNS.enabled }}
# CoreDNS Configuration for Wildcard Domain Routing
# Copied from kgateway-config with service reference update
# Makes *.domain resolve to envoy-gateway service
Expand Down Expand Up @@ -34,4 +35,5 @@ spec:
parameters: "30"
- name: loop
- name: reload
- name: loadbalance
- name: loadbalance
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ spec:
type: Kubernetes
kubernetes:
envoyService:
{{- if .Values.appsGateway.envoyServiceAnnotations }}
annotations:
{{- toYaml .Values.appsGateway.envoyServiceAnnotations | nindent 10 }}
{{- end }}
{{- if .Values.appsGateway.envoyServicePatch }}
patch:
{{- toYaml .Values.appsGateway.envoyServicePatch | nindent 10 }}
{{- end }}
# LoadBalancer: the apps gateway is the external front door and owns the VIP on :443
# (HTTPS terminate + k8s TLS-passthrough listeners).
type: {{ .Values.appsGateway.serviceType }}
envoyDeployment:
pod:
{{- if .Values.appsGateway.nodeSelector }}
nodeSelector:
cluster-bloom/first-node: "true"
{{- toYaml .Values.appsGateway.nodeSelector | nindent 12 }}
{{- end }}
priorityClassName: "system-cluster-critical"
telemetry:
accessLog:
Expand Down
11 changes: 11 additions & 0 deletions sources/envoy-gateway-config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ ports:
# on the same :443 VIP by SNI. No separate tls-passthrough gateway.
appsGateway:
serviceType: LoadBalancer
nodeSelector:
cluster-bloom/first-node: "true"
envoyServiceAnnotations:
envoyServicePatch:

# Stable ClusterIP `https` selecting the apps-gateway data plane, used by CoreDNS for the
# *.domain rewrite (in-cluster resolution).
Expand All @@ -27,3 +31,10 @@ aiGateway:
# Stable ClusterIP `ai-gateway` (CoreDNS target / passthrough backend).
dnsService:
enabled: true
nodeSelector:
cluster-bloom/first-node: "true"

# Configure RKE2 CoreDNS for Wilcdcard Domain Routing by making *.domain resolve to
# envoy-gateway service
rkeCoreDNS:
enabled: true