1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
Commit graph

49 commits

Author SHA1 Message Date
romange
d73ffc27b9 chore(helm-chart): update to v1.18.1 2024-05-16 13:22:25 +00:00
romange
ab2ce0fef8 chore(helm-chart): update to v1.18.0 2024-05-09 08:44:05 +00:00
Tarun Pothulapati
6545809852
Namespace support in prometheus rule (#2931)
* helm templating and test cases for namespace support in prometheus rule crd

* updated prometheus rules

---------

Co-authored-by: Yash Jagdale <yash@databahn.ai>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
2024-04-19 09:31:29 +00:00
romange
e352edd018 chore(helm-chart): update to v1.17.1 2024-04-18 05:09:32 +00:00
romange
f58ded488c chore(helm-chart): update to v1.17.0 2024-04-16 09:48:29 +00:00
romange
2e00d42fa6 chore(helm-chart): update to v1.16.1 2024-04-08 14:56:04 +00:00
romange
3e71ab7bde chore(helm-chart): update to v1.16.0 2024-04-03 05:34:24 +00:00
Fabiano Arruda
30ec81c456
Improve Helm chart to be rendered locally and on machines where is not the application target (#2706)
* fix(helm): add issuer group to create the certificate without wait for the previous created issuer

Signed-off-by: Fabiano Arruda Ferreira das Graças <fafg@fafg-mbm1.fritz.box>

* fix(helm): remove condition that can prevent the helm chart be rendered on machines where monitoring.coreos.com is not installed or is not the end target of the helm template command

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* fix(helm): lint - remove blank line

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* add(helm): missing service monitor test files

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* add(helm): add missing cert-manager test files

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* fix(helm): lint - add missing blank lines

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* fix(helm): rebase

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* Revert "fix(helm): rebase"

This reverts commit c4ce16b76e.

* fix(helm): fix service monitor namespace rendering

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* fix(helm): add missing up to date golden file

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* fix(helm): merge upstream

Signed-off-by: fafg <fabiano.arruda@hotmail.com>

* update golden files

* also install prom operator dependencies

* also install cert-manager

* skip cert-manager chart

* skip cert-manager value

* remove CI TLS files

* fix formatting

* fix formatting

* fix actions

---------

Signed-off-by: Fabiano Arruda Ferreira das Graças <fafg@fafg-mbm1.fritz.box>
Signed-off-by: fafg <fabiano.arruda@hotmail.com>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
Co-authored-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2024-03-25 12:29:42 +05:30
Roman Gershman
f7292de4e7
chore: Introduce fiber stack allocator (#2730)
1. Use clib malloc for allocating fiber stacks but reduce the fiber stack size.
   clib malloc uses default 4K OS pages when reserving memory from the OS.
   The reason for not using mi_malloc, because we use 2MB large OS pages with mimalloc.
   However, allocating stacks is one of the cases, when using smaller 4KB memory pages is actually more
   RSS efficient because memory pages become hot at better granularity.

2. Add "memory_fiberstack_vms_bytes" metric exposing fiber stack vm usage.
3. Fix macos dependencies & update ci versions.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2024-03-18 13:51:33 +02:00
romange
e9734e7c11 chore(helm-chart): update to v1.15.1 2024-03-12 15:49:57 +00:00
romange
cf889486bc chore(helm-chart): update to v1.15.0 2024-03-04 05:54:31 +00:00
romange
d551c2a3d3 chore(helm-chart): update to v1.14.7 2024-03-04 04:24:20 +00:00
romange
7148479965 chore(helm-chart): update to v1.14.6 2024-03-01 02:51:15 +00:00
romange
ea98513a30 chore(helm-chart): update to v1.14.5 2024-02-22 08:17:26 +00:00
romange
8cce14ce85 chore(helm-chart): update to v1.14.4 2024-02-20 16:55:13 +00:00
romange
5b96e269a3 chore(helm-chart): update to v1.14.3 2024-02-07 06:19:10 +00:00
Michael Primeaux
951b0897e6
bug: DFLY_PASSWORD environment variable deprecation (#2539)
* If the image.tag version is equal to 14.0.0 or greater then specify the DFLY_requirepass environment variable. Otherwise use the DFLY_PASSWORD environment variable.

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* Corrected version logic and added golden test

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* Updated golden file for TLS + image.tag

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* fix CI for chart linting test

* rename new test specific to password

* use v1.13.0

* update golden chart

---------

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>
Signed-off-by: Michael Primeaux <mprimeaux@users.noreply.github.com>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2024-02-06 13:42:05 +05:30
romange
97982eef2c chore(helm-chart): update to v1.14.2 2024-02-05 12:21:23 +00:00
romange
1e982cafe8 chore(helm-chart): update to v1.14.1 2024-01-25 12:22:19 +00:00
romange
fab811252b chore(helm-chart): update to v1.14.0 2024-01-22 07:09:27 +00:00
romange
1900e499ba chore(helm-chart): update to v1.13.0 2023-12-05 15:22:54 +00:00
Danya Smol
9bfdbca6cd
feat(helm): add priority class name for pod (#2183)
add priorityClassname to pod definition
2023-11-22 13:57:21 +02:00
romange
5f03fa4380 chore(helm-chart): update to v1.12.1 2023-11-06 17:46:48 +00:00
romange
21cc7e9aaf chore(helm-chart): update to v1.12.0 2023-11-03 06:43:21 +00:00
romange
4e0126d72e chore(helm-chart): update to v1.11.0 2023-10-16 10:40:31 +00:00
romange
c185a0b6ce chore(helm-chart): update to v1.10.0 2023-09-13 12:08:27 +00:00
romange
b8a9d1f093 chore(helm-chart): update to v1.9.0 2023-09-05 14:33:11 +00:00
David Mutia
82c3690e75
feat(helm) - Enable configuring service type LoadBalancer with a Static IP (#1689)
* Enable configuring service type LoadBalancer IP

Signed-off-by: David Mutia <davidmutia47@gmail.com>

* Add tests for loadBalancerIP

Signed-off-by: David Mutia <davidmutia47@gmail.com>

* chore: get rid of cmdstats_map (#1687)

cmdstats_map were on the hotpath and are needed only to update the command stats.
Instead, I introduced the stats withing the CommandId itself that we lookup anyways.
Also, it removes fragile dependency on naked command name char* pointers.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

---------

Signed-off-by: David Mutia <davidmutia47@gmail.com>
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
2023-08-14 14:04:35 +05:30
Tarun Pothulapati
df2745df64
fix(ci): use auth mechanism with tls helm values (#1696)
fix(ci): Fix Chart install Tests

One of the install test seems to fail, This PR tries to
fix that by also including password with tls test
2023-08-14 11:24:12 +05:30
romange
db3721b6e2 chore(helm-chart): update to v1.8.0 2023-08-09 07:03:09 +00:00
romange
3103c6b2ed chore(helm-chart): update to v1.7.1 2023-08-02 16:30:14 +00:00
romange
6e9f092fa2 chore(helm-chart): update to v1.6.2 2023-07-19 14:05:23 +00:00
romange
e2b61a3839 chore(helm-chart): update to v1.6.1 2023-07-13 06:52:02 +00:00
romange
698cbefac1 chore(helm-chart): update to v1.6.0 2023-07-10 12:17:11 +00:00
romange
7f3dc1dd51 chore(helm-chart): update to v1.4.0 2023-06-19 03:53:33 +00:00
kbelokon
956b39c553
bug(helm) Fix tolerations and affinity mishandling in Helm template (#1373)
* bug(helm) Fix tolerations and affinity mishandling in Helm template

Signed-off-by: Kirill Belokon <belokon@mindbox.cloud>

* add golden test case

* increase resource requests

* add node label to test

---------

Signed-off-by: Kirill Belokon <belokon@mindbox.cloud>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2023-06-15 20:34:45 +05:30
romange
f19fdce6b2 chore(helm-chart): update to v1.3.0 2023-05-18 09:19:30 +00:00
romange
e23755d51e chore(helm-chart): update to v1.2.1 2023-04-26 17:41:27 +00:00
romange
fd7c973ff8 chore(helm-chart): update to v1.2.0 2023-04-24 12:58:54 +00:00
romange
905593b47e chore(helm-chart): update to v1.1.2 2023-04-04 09:53:23 +00:00
romange
525eda1f85 chore(helm-chart): update to v1.1.1 2023-04-03 02:49:55 +00:00
romange
daf4bae473 chore(helm-chart): update to v1.1.0 2023-04-02 18:10:08 +00:00
Frédéric Marchand
10e831825a
bug(helm): Fix parsing error with statefulset (#985)
* Fix parsing error with persistence and password secret configuration

---------

Signed-off-by: Frédéric Marchand <frederic.marchand@kudelskisecurity.com>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2023-03-30 19:07:08 +05:30
romange
23e055e675 chore(helm-chart): update to v1.0.0 2023-03-20 08:52:56 +00:00
Tarun Pothulapati
1fc7ef5eaa
chore(helm): update golden files to latest version (#915)
As Version is encoded into the rendered Helm manifests,
They need to be updated with each release so that these
files are in sync with the latest release version.
2023-03-06 19:53:12 +05:30
Tarun Pothulapati
60d22eba47
fix(charts): Use Release.Namespace everywhere (#884)
This updates all the namespace fields in the Helm chart to use the
`Release.Namespace` template variable. This is the recommended way to
do it in Helm 3, and allows the chart to be installed in a namespace
as set by the user, without having to modify the chart or use
`--namespace` in `kubectl`.
2023-02-28 18:36:20 +05:30
Tarun Pothulapati
5dfaa1d061
test(chart): add golden file output rendering tests (#882)
This commit adds a new `golden_test.go` file into the helm chart
which essentially renders the chart with a set of values and
compares that with the expected golden file, and errors if
they don't match.

This builds on the existing CI values files in `ci/` directory. As
this is the first time, The golden files are rendered and added. This
means for all the future changes, The golden files can be updated
by running `go test -update` and the CI will fail if the golden files
are not updated. By doing this, Both the committer and reviewer
can be sure that the changes are intentional, without having to render
the chart manually.
2023-02-28 18:02:15 +05:30
ashotland
d6043c7d6d
feat(charts): Update helm chart to support password from secret (#799)
* feat(server): Enable overriding --requirepass form env var

Signed-off-by: ashotland <ari@dragonflydb.io>

* Change precednce order
Elaborate test

Signed-off-by: ashotland <ari@dragonflydb.io>

* Update helm chart to support passowrd from secret

Using recently added capability of setting dragonfly passowrd with the
DFLY_PASSWORD environment variable

Signed-off-by: ashotland <ari@dragonflydb.io>

* rename to existingSecret* + CI file

Signed-off-by: ashotland <ari@dragonflydb.io>

* fix typo in comment

Signed-off-by: ashotland <ari@dragonflydb.io>

---------

Signed-off-by: ashotland <ari@dragonflydb.io>
2023-02-17 16:19:02 +02:00
Philipp B
c3de3ef2f3
chore: overhaul chart (#620)
This should greatly improve readability of the chart itself
- moved the `Pod` spec for both the `Deployment` and `StatefulSet` into a common template in `_pod.yaml`
- replace a bunch of `if $value; print $value`-type blocks with `with $value; print .`
- replaced `command.set` in `values.yaml` with `command` directly
  - this was broken anyways, as the chart wrongly referenced `command.cmd` for both `Deployment` and `StatefulSet`
- populated contrib/charts/dragonfly/ci/ folder for development/CI purposes

Signed-off-by: Philipp Born <git@pborn.eu>

Signed-off-by: Philipp Born <git@pborn.eu>
2022-12-30 08:30:11 +02:00