mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Use entrypoint from Docker image and fix probe paths (#10873)
* Use entrypoint from Docker image Signed-off-by: Robbie deMuth <robbie.demuth@appian.com> * Update probe paths to match those set in the Java application Signed-off-by: Robbie deMuth <robbie.demuth@appian.com> * Update chart version Signed-off-by: Robbie deMuth <robbie.demuth@appian.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
87d4f5cf6b
commit
347c73a0e5
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "0.5.0"
|
||||
description: A Helm chart for prometheus cloudwatch-exporter
|
||||
name: prometheus-cloudwatch-exporter
|
||||
version: 0.2.1
|
||||
version: 0.3.0
|
||||
home: https://github.com/prometheus/cloudwatch_exporter
|
||||
sources:
|
||||
- https://github.com/prometheus/cloudwatch_exporter
|
||||
|
||||
@@ -51,7 +51,6 @@ The following table lists the configurable parameters of the Cloudwatch Exporter
|
||||
| `service.type` | Service type | `ClusterIP` |
|
||||
| `service.port` | The service port | `80` |
|
||||
| `service.portName` | The name of the service port | `http` |
|
||||
| `service.targetPort` | The target port of the container | `9100` |
|
||||
| `service.annotations` | Custom annotations for service | `{}` |
|
||||
| `service.labels` | Additional custom labels for the service | `{}` |
|
||||
| `resources` | | `{}` |
|
||||
|
||||
@@ -8,5 +8,5 @@ metadata:
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
data:
|
||||
config.yaml: |
|
||||
{{ printf .Values.config | indent 4 }}
|
||||
config.yml: |
|
||||
{{ printf .Values.config | indent 4 }}
|
||||
|
||||
@@ -24,12 +24,6 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
command:
|
||||
- java
|
||||
- -jar
|
||||
- /cloudwatch_exporter.jar
|
||||
- "{{ .Values.service.targetPort }}"
|
||||
- /config/config.yaml
|
||||
{{- if not .Values.aws.role }}
|
||||
{{- if and .Values.aws.aws_secret_access_key .Values.aws.aws_access_key_id }}
|
||||
env:
|
||||
@@ -49,11 +43,11 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: {{ .Values.service.portName }}
|
||||
containerPort: {{ .Values.service.targetPort }}
|
||||
containerPort: 9106
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthy/
|
||||
path: /-/healthy
|
||||
port: {{ .Values.service.portName }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds}}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
@@ -62,7 +56,7 @@ spec:
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ready/
|
||||
path: /-/ready
|
||||
port: {{ .Values.service.portName }}
|
||||
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds}}
|
||||
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||
|
||||
@@ -12,7 +12,6 @@ image:
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
targetPort: 9100
|
||||
portName: http
|
||||
annotations: {}
|
||||
labels: {}
|
||||
|
||||
Reference in New Issue
Block a user