Closed PC-Admin closed 1 year ago
the only think we'd want it for IMO is doing dumps of AWX's database routinely as a backup/recovery method.
Longhorn is not a valid place to store backups - look at S3 or MooseFS instead.
Wasn't thinking about storing them there, just having is as a temporary space that AWX can write to for it's dumps. (which would then me moved elsewhere)
Isn't Longhorn supposed to be what actually makes this storage available to AWX? How could I directly mount S3 or MooseFS to it instead?
If this really no use for it when I guess we'll just tear the longhorn section out and move on.
No, I'm not saying there's no use for it. longhorn is used for storing AWX data...
It's just that Longhorn is not meant to be a place to store backups. It's simply not that level of trustworthy.
Turns out Longhorn becomes the standard storage class for RKE2 when installed, so AWX is already using it.
As for persistence, charts, playbooks, variables are best defined in Git. The DB of the prod AWX setup will eventually be located in our Postgresql cluster where we can do backups from.
this command is fine to install Rancher:
$ helm install rancher rancher-stable/rancher --namespace cattle-system --set hostname=rancher.estuary.tech --set ingress.tls.source=secret --set bootstrapPassword=REDACTED --create-namespace --set replicas=3
We don't actually need to use longhorn storage for it, the only think we'd want it for IMO is doing dumps of AWX's database routinely as a backup/recovery method.