Skip to content

Commit

Permalink
Merge pull request #134 from juicedata/release-operator-driver
Browse files Browse the repository at this point in the history
release operator with dashboard & add metricsPort in CSI driver
  • Loading branch information
zwwhdls authored Jan 16, 2025
2 parents 80b9875 + 3ef0e0f commit 82e34b9
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/juicefs-cache-group-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/juicefs-cache-group-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JuiceFS Cache Group Operator Helm Chart


![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)

This Helm chart installs the JuiceFS Cache Group Operator.

Expand Down
2 changes: 1 addition & 1 deletion charts/juicefs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: juicefs-csi-driver
description: A Helm chart for JuiceFS CSI Driver
type: application
version: 0.22.0
version: 0.22.1
appVersion: 0.26.0
kubeVersion: ">=1.14.0-0"
home: https://github.com/juicedata/juicefs-csi-driver
Expand Down
2 changes: 1 addition & 1 deletion charts/juicefs-csi-driver/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# juicefs-csi-driver

![Version: 0.22.0](https://img.shields.io/badge/Version-0.22.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.26.0](https://img.shields.io/badge/AppVersion-0.26.0-informational?style=flat-square)
![Version: 0.22.1](https://img.shields.io/badge/Version-0.22.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.26.0](https://img.shields.io/badge/AppVersion-0.26.0-informational?style=flat-square)

A Helm chart for JuiceFS CSI Driver

Expand Down
7 changes: 7 additions & 0 deletions charts/juicefs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ spec:
- name: JUICEFS_IMMUTABLE
value: "true"
{{- end }}
{{- if .Values.controller.metricsPort }}
- name: JUICEFS_CSI_WEB_PORT
value: "{{ .Values.controller.metricsPort }}"
{{- end }}
{{- if .Values.controller.envs }}
{{ toYaml .Values.controller.envs | trim | indent 8 }}
{{- end }}
Expand All @@ -138,6 +142,9 @@ spec:
- containerPort: 9909
name: healthz
protocol: TCP
- containerPort: {{ .Values.controller.metricsPort }}
name: metrics
protocol: TCP
securityContext:
capabilities:
add:
Expand Down
6 changes: 5 additions & 1 deletion charts/juicefs-csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ spec:
- name: JUICEFS_IMMUTABLE
value: "true"
{{- end }}
{{- if .Values.node.metricsPort }}
- name: JUICEFS_CSI_WEB_PORT
value: "{{ .Values.node.metricsPort }}"
{{- end }}
{{- if .Values.node.envs }}
{{ toYaml .Values.node.envs | trim | indent 8 }}
{{- end }}
Expand All @@ -129,7 +133,7 @@ spec:
ports:
- containerPort: {{ .Values.node.livenessProbe.httpGet.port }}
protocol: TCP
- containerPort: 6060
- containerPort: {{ .Values.node.metricsPort }}
name: metrics
protocol: TCP
securityContext:
Expand Down
4 changes: 3 additions & 1 deletion charts/juicefs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ controller:
terminationGracePeriodSeconds: 30
labels: {}
annotations: {}
metricsPort: "9567"
# Affinity for CSI Controller pod
affinity: {}
# Node selector for CSI Controller pod
Expand Down Expand Up @@ -222,6 +223,7 @@ node:
terminationGracePeriodSeconds: 30
labels: {}
annotations: {}
metricsPort: "9567"
# Affinity for CSI Node Service pods
affinity: {}
# Node selector for CSI Node Service pods, ref: https://juicefs.com/docs/csi/guide/resource-optimization#csi-node-node-selector
Expand Down Expand Up @@ -261,7 +263,7 @@ metrics:
servicePort: 8080

dashboard:
# CSI Dashboard helps with CSI Driver observation, disabled by default
# CSI Dashboard helps with CSI Driver observation, enabled by default
enabled: true
# Basic auth for dashboard
auth:
Expand Down

0 comments on commit 82e34b9

Please sign in to comment.