Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: metrics disable service in case of pod monitor #65

Merged
merged 1 commit into from
Sep 29, 2023
Merged
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
2 changes: 1 addition & 1 deletion charts/camunda-bpm-platform/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
{{- include "camunda-bpm-platform.selectorLabels" . | nindent 4 }}
{{- end }}
---
{{- if .Values.metrics.enabled }}
{{- if and .Values.metrics.enabled .Values.metrics.service.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand Down
16 changes: 11 additions & 5 deletions charts/camunda-bpm-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ service:
metrics:
enabled: false
service:
enabled: true
port: 9404
portName: metrics
protocol: TCP
Expand Down Expand Up @@ -115,7 +116,8 @@ livenessProbe:

ingress:
enabled: false
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand All @@ -136,15 +138,17 @@ podAnnotations: {}
podSecurityContext:
fsGroup: 1000

securityContext: {}
securityContext:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000

resources: {}
resources:
{}
# If you do want to specify resources, uncomment the following lines,
# adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
Expand All @@ -154,11 +158,13 @@ resources: {}
# cpu: 100m
# memory: 128Mi

extraVolumeMounts: []
extraVolumeMounts:
[]
# - name: dummy-volume
# mountPath: /dummy/volume

extraVolumes: []
extraVolumes:
[]
# - name: dummy-volume
# hostPath:
# path: /tmp/dummy-volume
Expand Down
Loading