High Availability (HA) Deployment
While OpenObserve can be installed and run in HA mode on bare metal servers, VMs, Kubernetes and possibly other platforms, we currently provide installation using helm charts officially. We may provide additional installers like terraform in future. Local disk storage is not supported in HA mode and as such configuring an object store is mandatory.
Helm charts
For accessing the object store we recommend the best security practice of using IAM roles wherever possible. In case of Amazon EKS you can use IAM roles for Service Accounts (IRSA).
You must download the values.yaml file and make required changes. At a minimum you must provide the details of bucket to be used for data storage and credentials (IAM role or keys) to access it. You can download the file using following command:
curl https://raw.githubusercontent.com/zinclabs/openobserve-helm-chart/main/values.yaml -o values.yaml
Configuration
Amazon EKS + S3
You must set a minimum of 2 values:
- S3 bucket where data will be stored
- IAM role for the serviceAccount to gain AWS IAM credentials to access s3
Once you have configured the above in your values.yaml file, you can run the below commands to install OpenObserve.
Follow AWS documentation to enable IRSA and create an IAM role that you can use. You can also refer to the IRSA introduction blog.
Sample IAM policy.
{
"Id": "Policy1678319681097",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1678319677242",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::mysuperduperbucket/*"
}
]
}
Any Kubernetes + s3
Add/Modify following to values.yaml
- S3 bucket where data will be stored
Any Kubernetes + minio
Add/Modify following to values.yaml
- S3 bucket where data will be stored
Any Kubernetes + GCS
Add/Modify following to values.yaml
- GCS bucket where data will be stored
You can generate keys for GCS bucket using following steps:
- Go to Google cloud console > Cloud Storage > Settings > Interoperability
- Make sure you are in the right project.
- Access keys for your user account > Click "CREATE A KEY"
Any Kubernetes + Openstack swift
Add/Modify following to values.yaml
- swift bucket where data will be stored
Any Kubernetes + civo object store
Add/Modify following to values.yaml
- civo object store will store the data
Setup
Installation
helm repo add openobserve https://charts.openobserve.ai
helm repo update
kubectl create ns openobserve
helm --namespace openobserve -f values.yaml install zo1 openobserve/openobserve