Skip to content
Snippets Groups Projects

Replace Kubernetes YAML sed-replacements by Kustomize

Closed Björn Vonheiden requested to merge stu202077/theodolite:feature/kustomize into master
Files
42
@@ -14,8 +14,8 @@ spec:
@@ -14,8 +14,8 @@ spec:
spec:
spec:
terminationGracePeriodSeconds: 0
terminationGracePeriodSeconds: 0
containers:
containers:
- name: uc3-application
- name: uc-application
image: "theodolite/theodolite-uc3-kstreams-app:latest"
image: uc-app:latest
ports:
ports:
- containerPort: 5555
- containerPort: 5555
name: jmx
name: jmx
@@ -27,13 +27,13 @@ spec:
@@ -27,13 +27,13 @@ spec:
- name: KAFKA_WINDOW_DURATION_MINUTES
- name: KAFKA_WINDOW_DURATION_MINUTES
value: "1"
value: "1"
- name: COMMIT_INTERVAL_MS
- name: COMMIT_INTERVAL_MS
value: "{{KAFKA_STREAMS_COMMIT_INTERVAL_MS}}"
value: "100"
- name: JAVA_OPTS
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
resources:
resources:
limits:
limits:
memory: "{{MEMORY_LIMIT}}"
memory: 4Gi
cpu: "{{CPU_LIMIT}}"
cpu: 1000m
- name: prometheus-jmx-exporter
- name: prometheus-jmx-exporter
image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
image: "solsson/kafka-prometheus-jmx-exporter@sha256:6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143"
command:
command:
Loading