diff --git a/shared/data/registry.json b/shared/data/registry.json
index 748f3582be..1f91fb6b29 100644
--- a/shared/data/registry.json
+++ b/shared/data/registry.json
@@ -1244,6 +1244,35 @@
"deprecated": []
}
},
+ "valkey": {
+ "description": "",
+ "repo_name": "valkey",
+ "disk": false,
+ "docs": {
+ "relationship_name": "valkey",
+ "service_name": "valkey",
+ "url": "/add-services/valkey.html"
+ },
+ "endpoint": "http+stats",
+ "min_disk_size": null,
+ "configuration": " configuration:\n vcl: !include\n type: string\n path: config.vcl",
+ "service_relationships": "application: 'app:http'",
+ "name": "Valkey",
+ "runtime": false,
+ "type": "valkey",
+ "versions": {
+ "supported": [
+ "8.0"
+ ],
+ "deprecated": []
+ },
+ "versions-dedicated-gen-2": {
+ "supported": [
+ "8.0"
+ ],
+ "deprecated": []
+ }
+ },
"varnish": {
"description": "",
"repo_name": "varnish",
diff --git a/sites/platform/src/add-services/valkey.md b/sites/platform/src/add-services/valkey.md
index 168b5c4c33..e5cfac441d 100644
--- a/sites/platform/src/add-services/valkey.md
+++ b/sites/platform/src/add-services/valkey.md
@@ -23,13 +23,44 @@ You can select the major and minor version.
Patch versions are applied periodically for bug fixes and the like. When you deploy your app, you always get the latest available patches.
-All products support the 8.0 version of Valkey.
-
-
-| Grid | Dedicated Gen 2 |
-| --------------- | --------------- |
-| **8.0** | **8.0** |
-
+
+
+
+ Grid |
+ Dedicated Gen 2 |
+
+
+
+
+ {{< image-versions image="valkey" status="supported" environment="grid" >}} |
+ {{< image-versions image="valkey" status="supported" environment="dedicated-gen-2" >}}
+ |
+
+
+
+
## Service types
@@ -59,7 +90,7 @@ So your apps should only rely on the `{{% vendor/prefix %}}_RELATIONSHIPS` envir
"path": null,
"query": [],
"password": null,
- "type": "valkey:8.0",
+ "type": "valkey:{{% latest "valkey" %}}",
"public": false,
"host_mapped": false
}
@@ -365,7 +396,7 @@ runtime:
```yaml {configFile="services"}
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey:8.0
+ type: valkey:{{% latest "valkey" %}}
disk: 256
```
@@ -426,7 +457,7 @@ For example, if you define a `valkey-persistent` database as follows:
```yaml {configFile="services"}
postgresql:
- type: "valkey-persistent:8.0"
+ type: "valkey-persistent:{{% latest "valkey" %}}"
disk: 2048
configuration:
databases:
@@ -474,7 +505,7 @@ To customize those cache cleanups, set up an eviction policy such as the followi
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: "valkey:8.0"
+ type: "valkey:{{% latest "valkey" %}}"
configuration:
maxmemory_policy: allkeys-lfu
```
@@ -577,7 +608,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkeysession:
- type: "valkey-persistent:8.0"
+ type: "valkey-persistent:{{% latest "valkey" %}}"
```
<--->
@@ -622,7 +653,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkeysession:
- type: "valkey-persistent:8.0"
+ type: "valkey-persistent:{{% latest "valkey" %}}"
```
{{< /codetabs >}}
@@ -639,10 +670,9 @@ my_service_name:
with the following:
-```
-json
+```json
my_service_name:
- type: valkey-persistent:8.0
+ type: valkey-persistent:{{% latest "valkey" %}}
disk: 256
```
diff --git a/sites/upsun/src/add-services/valkey.md b/sites/upsun/src/add-services/valkey.md
index b0f96a91ec..bc198d9c9c 100644
--- a/sites/upsun/src/add-services/valkey.md
+++ b/sites/upsun/src/add-services/valkey.md
@@ -17,7 +17,13 @@ You can select the major and minor version.
Patch versions are applied periodically for bug fixes and the like. When you deploy your app, you always get the latest available patches.
-- 8.0
+{{< image-versions image="valkey" status="supported" environment="grid" >}}
+{{% comment %}} uncomment this when Upsun deprecates Valkey v8.0 {{% /comment %}}
+{{% comment %}}
+{{% deprecated-versions %}}
+
+{{< image-versions image="valkey" status="deprecated" environment="grid" >}}
+{{% /comment %}}
## Service types
@@ -56,7 +62,7 @@ VALKEY_REL=valkey
VALKEY_PATH=
VALKEY_QUERY={}
VALKEY_PASSWORD=
-VALKEY_TYPE=valkey:8.0
+VALKEY_TYPE=valkey:{{% latest "valkey" %}}
VALKEY_PUBLIC=false
VALKEY_HOST_MAPPED=false
```
@@ -86,7 +92,7 @@ The structure of the `PLATFORM_RELATIONSHIPS` environment variable can be obtain
"epoch": 0,
"rel": "valkey",
"scheme": "valkey",
- "type": "valkey:8.0",
+ "type": "valkey:{{% latest "valkey" %}}",
"public": false
}
```
@@ -128,9 +134,9 @@ To switch from persistent to ephemeral Valkey, set up a new service with a diffe
- Disk size
- The amount of memory allocated to the service container
-For instance, if your Valkey container has 3072 MB of disk space and 1024 MB of memory,only 512 MB of RAM are actually available to the service (3072/6 = 512).
+For instance, if your Valkey container has 3072 MB of disk space and 1024 MB of memory, only 512 MB of RAM are actually available to the service (3072/6 = 512).
-But if your Valkey container has 3072 MB of disk space and 256 MB of memory,only 256 MB of Valkey are actually available to the service (as per the container limit).
+But if your Valkey container has 3072 MB of disk space and 256 MB of memory, only 256 MB of Valkey are actually available to the service (as per the container limit).
{{% /note %}}
@@ -291,7 +297,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- valkey: valkey-persistent: 8.0
+ valkey: valkey-persistent: {{% latest "valkey" %}}"
```
<--->
@@ -324,7 +330,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey-persistent: 8.0
+ type: valkey-persistent:{{% latest "valkey" %}}"
```
{{< /codetabs >}}
@@ -518,7 +524,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey: 8.0
+ type: valkey: {{% latest "valkey" %}}"
```
<--->
@@ -551,7 +557,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey: 8.0
+ type: valkey: {{% latest "valkey" %}}"
```
{{< /codetabs >}}
@@ -588,7 +594,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey: 8.0
+ type: valkey: {{% latest "valkey" %}}"
<--->
+++
@@ -618,7 +624,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: valkey: 8.0
+ type: valkey: {{% latest "valkey" %}}"
```
{{< /codetabs >}}
@@ -660,7 +666,7 @@ To customize those cache cleanups, set up an eviction policy such as the followi
services:
# The name of the service container. Must be unique within a project.
valkey:
- type: "valkey:8.0"
+ type: "valkey:{{% latest "valkey" %}}"
configuration:
maxmemory_policy: allkeys-lfu
```
@@ -762,7 +768,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkeysession:
- type: "valkey-persistent:8.0"
+ type: "valkey-persistent:{{% latest "valkey" %}}"
```
<--->
@@ -807,7 +813,7 @@ applications:
services:
# The name of the service container. Must be unique within a project.
valkeysession:
- type: "valkey-persistent:8.0"
+ type: "valkey-persistent:{{% latest "valkey" %}}""
```
{{< /codetabs >}}
@@ -824,10 +830,9 @@ my_service_name:
with the following:
-```
-json
+```json
my_service_name:
- type: valkey-persistent:8.0
+ type: valkey-persistent:{{% latest "valkey" %}}"
disk: 256
```