diff --git a/stable/metrics-server-exporter/Chart.yaml b/stable/metrics-server-exporter/Chart.yaml index d168c5ccc..9fd9277c6 100644 --- a/stable/metrics-server-exporter/Chart.yaml +++ b/stable/metrics-server-exporter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 appVersion: ">=2.0.0" -version: 0.8.0 +version: 0.9.0 description: K8s metrics exporter in prometheus format name: metrics-server-exporter home: https://iguazio.com @@ -8,7 +8,5 @@ icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png sources: - https://github.com/iguazio/zapp/ maintainers: - - name: odedm - email: odedm@iguazio.com - - name: sahare - email: sahare@iguazio.com + - name: Iguazio + email: support@iguazio.com diff --git a/stable/metrics-server-exporter/templates/metrics-server-exporter-deployment.yaml b/stable/metrics-server-exporter/templates/metrics-server-exporter-deployment.yaml index 13b926a02..2a735b2df 100644 --- a/stable/metrics-server-exporter/templates/metrics-server-exporter-deployment.yaml +++ b/stable/metrics-server-exporter/templates/metrics-server-exporter-deployment.yaml @@ -31,18 +31,28 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["metricsserverexporter"] - args: + args: - --log-level={{ .Values.container.logLevel }} - --namespace={{ .Release.Namespace }} - --listen-addr=:{{ .Values.container.port }} - --handle-gpu-metrics={{ .Values.container.handleGPUMetrics }} ports: - - containerPort: {{ .Values.container.port }} + - containerPort: {{ .Values.container.port }} protocol: {{ .Values.container.protocol }} + startupProbe: + failureThreshold: {{ .Values.startupProbe.failureThreshold }} + httpGet: + path: {{ .Values.container.healthzPath }} + port: {{ .Values.container.port }} + scheme: {{ .Values.container.scheme }} + initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.startupProbe.periodSeconds }} + successThreshold: {{ .Values.startupProbe.successThreshold }} + timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }} livenessProbe: failureThreshold: {{ .Values.livenessProbe.failureThreshold }} httpGet: - path: {{ .Values.container.path }} + path: {{ .Values.container.healthzPath }} port: {{ .Values.container.port }} scheme: {{ .Values.container.scheme }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} @@ -52,7 +62,7 @@ spec: readinessProbe: failureThreshold: {{ .Values.readinessProbe.failureThreshold }} httpGet: - path: {{ .Values.container.path }} + path: {{ .Values.container.healthzPath }} port: {{ .Values.container.port }} scheme: {{ .Values.container.scheme }} initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} diff --git a/stable/metrics-server-exporter/values.yaml b/stable/metrics-server-exporter/values.yaml index 88c25174b..39ffe4695 100644 --- a/stable/metrics-server-exporter/values.yaml +++ b/stable/metrics-server-exporter/values.yaml @@ -1,6 +1,6 @@ image: - repository: iguaziodocker/metrics-server-exporter - tag: 0.1.3 + repository: gcr.io/iguazio/metrics-server-exporter + tag: unstable pullPolicy: IfNotPresent container: @@ -8,6 +8,7 @@ container: protocol: TCP scheme: HTTP path: /metrics + healthzPath: /healthz logLevel: info @@ -18,30 +19,36 @@ service: protocol: TCP livenessProbe: - failureThreshold: 3 - initialDelaySeconds: 30 - periodSeconds: 10 + failureThreshold: 30 + periodSeconds: 30 successThreshold: 1 - timeoutSeconds: 30 + timeoutSeconds: 60 readinessProbe: failureThreshold: 3 - initialDelaySeconds: 5 - periodSeconds: 10 + periodSeconds: 45 + successThreshold: 1 + timeoutSeconds: 30 + +startupProbe: + failureThreshold: 10 + periodSeconds: 15 successThreshold: 1 timeoutSeconds: 10 +## Deployment resources resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 150Mi - # requests: - # cpu: 100m - # memory: 150Mi + +# We usually recommend not to specify default resources and to leave this as a conscious +# choice for the user. This also increases chances charts run on environments with little +# resources, such as Minikube. If you do want to specify resources, uncomment the following +# lines, adjust them as necessary, and remove the curly braces after 'resources:'. +# limits: +# cpu: 100m +# memory: 150Mi +# requests: +# cpu: 100m +# memory: 150Mi ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/