You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace Redis configuration with Valkey configuration and update related tests and documentation (#90)
* Replace Redis configuration with Valkey configuration and update related tests and documentation
* Replace Redis configuration with Valkey configuration
* Bump version to 1.5.0
This project is a web application built with React and React Router that provides a user interface for configuring advanced settings on DigitalOcean Managed Databases. The tool allows you to customize configuration options for various database engines (MySQL, PostgreSQL, Redis, MongoDB, Kafka, OpenSearch) and then generates API requests (including preformatted `curl` and `doctl` commands) so you can update your databases via DigitalOcean's API.
5
+
This project is a web application built with React and React Router that provides a user interface for configuring advanced settings on DigitalOcean Managed Databases. The tool allows you to customize configuration options for various database engines (MySQL, PostgreSQL, Valkey, MongoDB, Kafka, OpenSearch) and then generates API requests (including preformatted `curl` and `doctl` commands) so you can update your databases via DigitalOcean's API.
6
6
7
7
---
8
8
@@ -24,7 +24,7 @@ When you open the application in your browser, you will see a multi-section inte
24
24
An input field where you provide your database's unique ID. (You can get your database ID by using the `doctl databases list` command.)
25
25
26
26
-**Configuration Forms:**
27
-
A tabbed interface lets you choose which database engine's settings you'd like to adjust (MySQL, PostgreSQL, Redis, MongoDB, Kafka, or OpenSearch). Each tab displays relevant fields along with details (range, expected input format, examples).
27
+
A tabbed interface lets you choose which database engine's settings you'd like to adjust (MySQL, PostgreSQL, Valkey, MongoDB, Kafka, or OpenSearch). Each tab displays relevant fields along with details (range, expected input format, examples).
28
28
29
29
-**Command Generation:**
30
30
Once you fill out the settings, the tool generates preformatted `curl` and `doctl` commands based on your inputs. Click the "Copy" button to copy the command to your clipboard.
description: `A string specifying the desired eviction policy for the Redis cluster.
11
+
description: `A string specifying the desired eviction policy for the Valkey cluster.
12
12
13
13
noeviction: Don't evict any data, returns error when memory limit is reached.
14
14
allkeys-lru: Evict any key, least recently used (LRU) first.
@@ -18,66 +18,66 @@ volatile-random: Evict keys with expiration only in a random order.
18
18
volatile-ttl: Evict keys with expiration only, shortest time-to-live (TTL) first.`,
19
19
example: 'volatile_lru'
20
20
},
21
-
redis_pubsub_client_output_buffer_limit: {
21
+
valkey_pubsub_client_output_buffer_limit: {
22
22
type: 'integer',
23
23
min: 32,
24
24
max: 512,
25
25
description: 'Set output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.',
26
26
example: 128
27
27
},
28
-
redis_number_of_databases: {
28
+
valkey_number_of_databases: {
29
29
type: 'integer',
30
30
min: 1,
31
31
max: 128,
32
-
description: 'Set number of redis databases. Changing this will cause a restart of redis service.',
32
+
description: 'Set number of valkey databases. Changing this will cause a restart of valkey service.',
33
33
example: 4
34
34
},
35
-
redis_io_threads: {
35
+
valkey_io_threads: {
36
36
type: 'integer',
37
37
min: 1,
38
38
max: 32,
39
-
description: 'Redis IO thread count',
39
+
description: 'Valkey IO thread count',
40
40
example: 4
41
41
},
42
-
redis_lfu_log_factor: {
42
+
valkey_lfu_log_factor: {
43
43
type: 'integer',
44
44
min: 0,
45
45
max: 100,
46
46
description: 'Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies',
47
47
example: 12
48
48
},
49
-
redis_lfu_decay_time: {
49
+
valkey_lfu_decay_time: {
50
50
type: 'integer',
51
51
min: 1,
52
52
max: 120,
53
53
description: 'LFU maxmemory-policy counter decay time in minutes',
54
54
example: 5
55
55
},
56
-
redis_ssl: {
56
+
valkey_ssl: {
57
57
type: 'checkbox',
58
-
description: 'Require SSL to access Redis. When enabled, Redis accepts only SSL connections on port `25061`. When disabled, port `25060` is opened for non-SSL connections, while port `25061` remains available for SSL connections.',
58
+
description: 'Require SSL to access Valkey. When enabled, Valkey accepts only SSL connections on port `25061`. When disabled, port `25060` is opened for non-SSL connections, while port `25061` remains available for SSL connections.',
59
59
},
60
-
redis_timeout: {
60
+
valkey_timeout: {
61
61
type: 'integer',
62
62
min: 0,
63
63
max: 31536000,
64
-
description: 'Redis idle connection timeout in seconds',
64
+
description: 'Valkey idle connection timeout in seconds',
65
65
example: 120
66
66
},
67
-
redis_notify_keyspace_events: {
67
+
valkey_notify_keyspace_events: {
68
68
type: 'text',
69
69
pattern: '^[KEg\\$lshzxeA]*$',
70
70
maxLength: 32,
71
71
description: 'Set notify-keyspace-events option. Requires at least `K` or `E` and accepts any combination of the following options: K (Keyspace events), E (Keyevent events), g (Generic commands), $ (String commands), l (List commands), s (Set commands), h (Hash commands), z (Sorted set commands), t (Stream commands), d (Module key type events), x (Expired events), e (Evicted events), m (Key miss events), n (New key events), A (Alias for "g$lshztxed")',
72
72
example: 'Ex'
73
73
},
74
-
redis_persistence: {
74
+
valkey_persistence: {
75
75
type: 'select',
76
76
options: ['off','rdb'],
77
77
description: 'Creates an RDB dump of the database every 10 minutes that can be used to recover data after a node crash. The database does not create the dump if no keys have changed since the last dump. When set to `off`, the database cannot fork services, and data can be lost if a service is restarted or powered off.',
78
78
example: 'rdb'
79
79
},
80
-
redis_acl_channels_default: {
80
+
valkey_acl_channels_default: {
81
81
type: 'select',
82
82
options: ['allchannels','resetchannels'],
83
83
description: 'Determines default pub/sub channels\' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility.',
0 commit comments