_Backup/ Restore
This document is invalidated due to the dependencies on the outcome of the procedure mentioned here. Please do not use it.
We need longhorn installed before proceeding with this setup.
Cert Manager
If you have not installed rancher, thus you might not have installed cert-manager. We need to install it first.
# If you have installed the CRDs manually instead of with the `--set installCRDs=true` option added to your Helm install command, you should upgrade your CRD resources before upgrading the Helm chart:
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.5.1/cert-manager.crds.yaml
# Add the Jetstack Helm repository
helm repo add jetstack https://charts.jetstack.io
# Update your local Helm chart repository cache
helm repo update
# Install the cert-manager Helm chart
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.5.1
Start with cloning the repository from gitlab.
git clone -b develop https://gitlab.expertflow.com/kubernetes/cim-kubernetes.git
Navigate to backups
directory
cd cim-kubernetes/backups
we now apply the kubernetes manifest to deploy minio.
kubectl apply -f minio-deploy.yaml
If you want to access minio console, edit the minio-service
type: ClusterIP
to type: NodePort
in default namespace. Default username and password for Minio Console is:
expertflow
Expertflow123#
Configs in Longhorn UI
Go to the Longhorn UI. In the top navigation bar, click Settings. In the Backup section, set Backup Target to
s3://backupbucket@us-east-1/
And set Backup Target Credential Secret to:
minio-secret
Application | Sub-component of application | Status | |
---|---|---|---|
1 | Minio | ||
2 | MongoDB | ||
3 | Postgres | ||
4 | Monitoring | Grafana | |
Prometheus | |||
5 | Logging with Loki | Loki | |
6 | Logging with EFK | Elasticsearch | |
Kibana |