Unified Storage: Adds a few readme updates from issues I ran into with local dev (#93553)

adds a few readme updates from issues I ran into with local dev
This commit is contained in:
owensmallwood 2024-09-23 08:25:19 -06:00 committed by GitHub
parent b9d325884b
commit 8bbfbc61be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

View File

@ -66,7 +66,7 @@ grafanaAPIServerEnsureKubectlAccess = true
kubernetesPlaylists = true
[unified_storage.playlists.playlist.grafana.app]
DualWriterMode = 2
dualWriterMode = 2
```
This will create a development kubeconfig and start a parallel ssl listener. It can be registered by

View File

@ -32,8 +32,20 @@ kubernetesPlaylists = true
[grafana-apiserver]
; use unified storage for k8s apiserver
storage_type = unified
# Dualwriter modes
# 0: disabled (default mode)
# 1: read from legacy, write to legacy, write to unified best-effort
# 2: read from legacy, write to both
# 3: read from unified, write to both
# 4: read from unified, write to unified
# 5: read from unified, write to unified, ignore background sync state
[unified_storage.playlists.playlist.grafana.app]
dualWriterMode = 0
```
**Note**: When using the Dualwriter, Watch will only work with mode 5.
### Folders: baseline configuration
NOTE: allowing folders to be backed by Unified Storage is under development and so are these instructions.
@ -221,6 +233,13 @@ make run
#### Start GRPC storage-server
Make sure you have the gRPC address in the `[grafana-apiserver]` section of your config file:
```ini
[grafana-apiserver]
; your gRPC server address
address = localhost:10000
```
This currently only works with a separate database configuration (see previous section).
Start the storage-server with: