-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into same_publisher_everywhere
- Loading branch information
Showing
44 changed files
with
514 additions
and
162 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "armada.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "armada.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "armada.name" $root }}-server-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "armada.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "armada.name" . }}-server-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "armada.labels.all" . | nindent 4 }} | ||
name: {{ include "armada.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "armada.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "binoculars.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "binoculars.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "binoculars.name" $root }}-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "binoculars.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "binoculars.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "binoculars.labels.all" . | nindent 4 }} | ||
name: {{ include "binoculars.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "binoculars.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
This file contains 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
35 changes: 35 additions & 0 deletions
35
deployment/event-ingester/templates/profiling-ingress.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "event_ingester.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "event_ingester.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "event_ingester.name" $root }}-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "event_ingester.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
19 changes: 19 additions & 0 deletions
19
deployment/event-ingester/templates/profiling-service.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "event_ingester.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "event_ingester.labels.all" . | nindent 4 }} | ||
name: {{ include "event_ingester.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "event_ingester.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "executor.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "executor.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "executor.name" $root }}-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "executor.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "executor.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "executor.labels.all" . | nindent 4 }} | ||
name: {{ include "executor.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "executor.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
This file contains 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
35 changes: 35 additions & 0 deletions
35
deployment/lookout-ingester-v2/templates/profiling-ingress.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "lookout_ingester_v2.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "lookout_ingester_v2.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "lookout_ingester_v2.name" $root }}-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "lookout_ingester_v2.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
19 changes: 19 additions & 0 deletions
19
deployment/lookout-ingester-v2/templates/profiling-service.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "lookout_ingester_v2.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lookout_ingester_v2.labels.all" . | nindent 4 }} | ||
name: {{ include "lookout_ingester_v2.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "lookout_ingester_v2.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.hostnames }} | ||
{{- $root := . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "lookout_v2.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
certmanager.k8s.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
cert-manager.io/cluster-issuer: {{ required "A value is required for .Values.applicationConfig.profiling.clusterIssuer" .Values.applicationConfig.profiling.clusterIssuer }} | ||
labels: | ||
{{- include "lookout_v2.labels.all" . | nindent 4 }} | ||
spec: | ||
rules: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "lookout_v2.name" $root }}-profiling | ||
port: | ||
number: {{ $root.Values.applicationConfig.profiling.port }} | ||
{{ end -}} | ||
tls: | ||
- hosts: | ||
{{- range required "A value is required for .Values.applicationConfig.profiling.hostnames" .Values.applicationConfig.profiling.hostnames }} | ||
- {{ . -}} | ||
{{ end }} | ||
secretName: {{ include "lookout_v2.name" $root }}-profiling-service-tls | ||
--- | ||
{{- end }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if and .Values.applicationConfig.profiling .Values.applicationConfig.profiling.port }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "lookout_v2.name" . }}-profiling | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lookout_v2.labels.all" . | nindent 4 }} | ||
name: {{ include "lookout_v2.name" . }}-profiling | ||
spec: | ||
selector: | ||
app: {{ include "lookout_v2.name" . }} | ||
ports: | ||
- name: profiling | ||
protocol: TCP | ||
port: {{ .Values.applicationConfig.profiling.port }} | ||
--- | ||
{{- end }} | ||
|
Oops, something went wrong.