https://rancher.com/ logo
Title
a

astonishing-king-67727

05/10/2023, 4:08 AM
Where are the agents configuration and RBAC roles and roles bindings stored? I seem to loose them all when backing up and restoring the cluster's namespace using velero.
I guess these things are stored in jetstream, the helm chart defines an emptyDir for the data:
apiVersion: <http://core.opni.io/v1beta1|core.opni.io/v1beta1>
kind: NatsCluster
metadata:
  name: opni
  namespace: {{ include "opni.namespace" . }}
spec:
  replicas: 3
  authMethod: nkey
  jetStream:
    enabled: true
    memoryStorageSize: 1Gi
    fileStorage:
      emptyDir: {}
      enabled: true
      size: 5Gi
I guess this should be configurable as persistent storage?
f

famous-dusk-36365

05/15/2023, 10:25 PM
Yeah the downstream cluster info is stored in there. We are working on making that persistent, and also adding back up and restore options. We do have an option to import downstream clusters; could you open an issue on the github repo for this?