RUM Session Replay Storage: Azure Blob
Session replay storage is optional. RUM captures views, actions, errors, and resources without it — add it only if you want to record and replay user sessions. This page covers only the Azure Blob-specific steps; the rest of RUM enablement is in RUM Instructions.
Create a Blob container
You can store RUM session recordings in an Azure Blob container. Follow these steps to create a storage account and a blob container:
-
Follow instructions in Azure documentation on how to Create an Azure storage account.
-
Note the following for the next steps:
-
Storage Account Name
-
Container Name
-
Connection String for Storage Account, only if you use the connection-string option in the next step. Find it under Access Keys in the Security + networking section of the storage account’s left pane.
-
Give Kloudfuse access to the container
Choose one of the following.
-
Azure identity (recommended) — no secret. Kloudfuse pods use the AKS node’s managed identity (the kubelet identity). Assign the Storage Blob Data Contributor role to that identity, scoped to the storage account or the container. See Object store prerequisites for Azure for the command.
-
Connection string — run the following command in the cluster that runs Kloudfuse. The command uses
kfuse, the namespace the standard Helm install uses. If you installed Kloudfuse in a different namespace, use that namespace instead; the secret must be in the same namespace as the Helm release.Create a Secret for Kloudfuse Namespacekubectl create secret generic -n kfuse kfuse-rum-azure --from-literal=connectionString=<connectionString>
Add sessionReplayStorage to custom-values.yaml
Merge a sessionReplayStorage block into the global.rum section described in RUM Instructions.
global:
rum:
enabled: true
sessionReplayStorage:
type: azure
useSecret: false
azure:
storageAccount: kfrumstorage (1)
container: rum-session-replay (2)
clientId: "<identityClientId>" (3)
| 1 | storageAccount: Storage account noted in Create a Blob container. |
| 2 | container: Container created for session replay storage, in Create a Blob container. |
| 3 | clientId: Optional. Client ID of the user-assigned managed identity to use, such as the kubelet identity. |
global:
rum:
enabled: true
sessionReplayStorage:
type: azure
useSecret: true
# Below secret name references the secret created earlier
secretName: "kfuse-rum-azure" (1)
azure:
container: rum-session-replay (2)
| 1 | secretName: Secret created in Give Kloudfuse access to the container. |
| 2 | container: Container created for session replay storage, in Create a Blob container. |
Then complete the remaining steps — Kafka topics, TLS, ingress, log-parser rules, and the UI toggle — in RUM Instructions.