Commit Graph

137 Commits

Author SHA1 Message Date
Gregor Tudan
b62f7c5122
helm: restart filer when the s3-configuration changes (#5768)
Restarts the filer when the s3-config inside the secret (existing or generated) changes
2024-07-11 08:56:44 -07:00
chrislu
fbe1316c92 3.69 2024-06-30 23:08:49 -07:00
Reddysekhar Gaduputi
e99eee8ed9
[Helm chart] Remove createClusterRole dependency from serviceAccount usage from filer statefulset (#5724)
* Remove createClusterRole dependency from serviceAccount usage from filer statefulset

* Add automountServiceAccountToken option for service account.
2024-06-29 09:32:12 -07:00
Gregor Tudan
a6a5495477
Move cluster role to a separate template. (#5721)
Move cluster role to a separate template, to allow disabling it without breaking the service account
2024-06-27 08:04:57 -07:00
Gregor Tudan
c7e8906ad2
Helm-Chart: clean up image handling (#5720)
Clean up the image computation to make it consistent with the values file
2024-06-27 08:02:50 -07:00
chrislu
610d397f76 add dev note 2024-06-19 08:40:28 -07:00
JesseBot
bfd3bbac20
fix #5681 convert all resources parameters to maps instead of strings (#5689) 2024-06-17 08:58:51 -07:00
chrislu
a9cd9b0542 3.68 2024-06-09 21:10:46 -07:00
Salah Al Saleh
3fd038fcfe
Allow defining labels and annotations per component (#5657) 2024-06-07 08:12:13 -07:00
Salah Al Saleh
eb33648ab8
Allow using a PVC to store filer and master logs (#5653) 2024-06-06 18:57:43 -07:00
Tomer Eskenazi
fb9fe627f6
increase helm chart version to include the emptyDir storage feature (#5613) 2024-05-23 06:12:18 -07:00
Johnny Cederholm
9497db71e6
Helm: Fix warning when providing resource requests/limits for S3 (#5611) 2024-05-22 13:26:09 -07:00
Tomer Eskenazi
4e00ab4942
helm chart - add support for emptyDir storage type (#5610) 2024-05-22 09:56:48 -07:00
Johnny Cederholm
8c59348d28
Add ability to configure security context for the different components (#5600) 2024-05-17 13:06:00 -07:00
Gregor Tudan
31653e4b1e
Update the Grafana panels using the to the new time series (#5595) 2024-05-14 05:33:29 -07:00
Gregor Tudan
1db3bb9a9c
Helm: Fix warning when rendering with secretExtraEnvVars set (#5594) 2024-05-14 05:30:52 -07:00
Gregor Tudan
262fe2c723
Helm: Allow adding additional labels to the service monitors (#5593) 2024-05-14 05:29:31 -07:00
Gregor Tudan
3f3f0ec17f
Allow selecting the namespace visualized by the grafana dashboard (#5591) 2024-05-13 10:16:58 -07:00
Gregor Tudan
063683786a
Replace hardcoded datasource uids in the grafana dashboard (#5590) 2024-05-13 09:56:10 -07:00
Gregor Tudan
b7d184c740
Helm-Chart: Make MySQL credentials optional (#5583) 2024-05-13 07:20:14 -07:00
chrislu
d3032d1e80 3.67 2024-05-07 08:47:30 -07:00
chrislu
3682eb929f 3.66 2024-05-05 22:23:18 -07:00
JesseBot
70551019d6
helm: Fix annotations parameters to be standard maps (#5543) 2024-04-28 09:33:46 -07:00
chrislu
0edc5aad9a 3.65 2024-04-14 20:15:46 -07:00
yudrywet
8833745fbc
chore: fix some typos in comments (#5497) 2024-04-14 07:42:40 -07:00
mergwyn
881c922972
helm chart: make s3 ingress annotations consistent (#5463)
Make s3 ingress annotations consistent
2024-04-03 09:09:34 -07:00
mergwyn
b4def8f000
Correct type for volume logs and idx values (#5462)
Correct type for volume logs and idx values (#1)

Empty values now correctly set to {}
2024-04-03 08:17:41 -07:00
Tomer Eskenazi
77fd62f6a5
Helm chart readme - clarify details about multiple filers and datastore (#5384) 2024-03-17 15:34:14 -07:00
chrislu
b74e8082ba 3.64 2024-03-16 11:46:40 -07:00
chrislu
54d7748a4a 3.63 2024-02-25 22:17:28 -08:00
Sébastien
abf1dd13d2
k8s-chart-helm: unify extraEnvironmentVars (#5327) 2024-02-22 01:57:00 -08:00
spastorclovr
3b5d8ffb70
Fix/s3 config secret (#5302) 2024-02-14 14:33:05 -08:00
cuisongliu
c5440055fd
helm using external master address (#5267)
using external master address
2024-01-30 20:55:36 -08:00
cuisongliu
9abd3a90c3
helm enable resource for template (#5268)
enable resource for template
2024-01-30 20:54:50 -08:00
cuisongliu
f8c4fb3ebd
fix helm install error for No such file or directory (#5250)
* weed/shell: Cluster check other disk types (#5245)

* week/shell: Cluster check other disk types

The `cluster.check` command only took the empty (`""`) and `hdd` disk types
into consideration, but a cluster with only `ssd` or `nvme` disk types would be
equally valid.

This commit simply checks that _any_ disk type is defined, and that some
volumes are available for it.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Replace loop that copies slice

Use the following construct instead of a `for` loop:

```golang
x = append(x, y...)
```

See https://staticcheck.dev/docs/checks#S1011.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Check disk types when filer is in use

Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes,
so make sure those disk types exist and have volumes associated with them when
Filer is deployed in the cluster.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Cluster check other disk types (#5245)

* week/shell: Cluster check other disk types

The `cluster.check` command only took the empty (`""`) and `hdd` disk types
into consideration, but a cluster with only `ssd` or `nvme` disk types would be
equally valid.

This commit simply checks that _any_ disk type is defined, and that some
volumes are available for it.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Replace loop that copies slice

Use the following construct instead of a `for` loop:

```golang
x = append(x, y...)
```

See https://staticcheck.dev/docs/checks#S1011.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* weed/shell: Check disk types when filer is in use

Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes,
so make sure those disk types exist and have volumes associated with them when
Filer is deployed in the cluster.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>

* fix helm install error for No such file or directory

---------

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
Co-authored-by: Benoît Knecht <bknecht@protonmail.ch>
2024-01-30 20:46:22 -08:00
spastorclovr
5fa8f40fdf
Fix/bad mount path better default value (#5253) 2024-01-29 07:11:37 -08:00
spastorclovr
95787ea89d
Enable multiple disks per volume server. Also streamline the use of /logs & /idx (#5236)
* Enable multiple disks per volume server. Also streamline the use of /logs and /idx

* missing file

* add loop around volume mounts for initContainers

* remove uneeded name for idx
2024-01-24 09:25:17 -08:00
Sébastien
53be97d5be
Fix(k8s-chart-helm): helm upgrade statefulset error (#5207) 2024-01-16 07:40:21 -08:00
chrislu
59b8af99b0 3.62 2024-01-15 20:44:00 -08:00
chrislu
8ae00e47a6 3.61 2024-01-08 00:04:49 -08:00
chrislu
d4e91b6ad9 3.60 2024-01-01 19:11:23 -08:00
Sébastien
59edb84253
fix: k8s-chart-helm master metrics scraping (#5142) 2023-12-28 07:46:42 -08:00
Davidsod
3ec2a898b8
#5122 Add support for sidecar containers (#5125) 2023-12-20 15:04:44 -08:00
JesseBot
2b323a8293
Fix: helm: remove deprecated values that caused helm template error for post install hook (#5108)
* Update post-install-bucket-hook.yaml - remove deprecated volume checks

* Update Chart.yaml - update chart version to 3.60.0
2023-12-14 08:25:33 -08:00
Bálint József Jánvári
43a6b60375 Always include volumes in statefulsets 2023-12-05 22:39:01 -08:00
jessebot
666a22b980 fix defaults for serviceAccountName for each statefulset to follow exact from helm docs
helm docs: https://helm.sh/docs/chart_template_guide/functions_and_pipelines/#using-the-default-function
2023-11-26 09:26:38 -08:00
jessebot
d198fd8af7 fix when we create serviceAccount value for master and volume statefulsets to be when global.createClusterRole is set to true 2023-11-26 09:26:38 -08:00
jessebot
0709361ed2 fix duplicate service account name for filer 2023-11-26 09:26:38 -08:00
jessebot
c332832f0b prefer global.serviceAccountName when available for all statefulsets 2023-11-26 09:26:38 -08:00
jessebot
aff03c1d00 User global.serviceAccountName to populate ServiceAccount, ClusterRole, and ClusterRoleBinding 2023-11-26 09:26:38 -08:00