Kubernetes
Install Parseable on Kubernetes with Helm. The Enterprise setup below lets you ingest up to 50 GB per month with the built-in license. If you want to use OSS, follow the OSS setup steps.
For Enterprise standalone with local-store, use the standalone Kubernetes guide.
Prerequisites
Before you begin, make sure you have:
kubectlinstalled and configured for the Kubernetes cluster where you want to install Parseable- Helm 3 or later
- A Kubernetes storage class
- An existing, empty object-store bucket with access credentials
Use Helm chart 3.2.8 or later for this guide and Enterprise image v3.2.8 or later for the Enterprise values. Updating only the image tag on an older chart is not enough.
Confirm the Kubernetes context and find an available storage class:
kubectl config current-context
kubectl get storageclassThe kubectl config current-context output should point to the cluster where
you want to install Parseable. Use one of the storage class names returned by
kubectl get storageclass in the values file below.
1. Create the namespace
kubectl create namespace parseableIf you are testing in a shared cluster, use a separate namespace for your test
installation and replace parseable in the commands below with that namespace.
2. Choose an object store
Choose exactly one object store below. Replace every <...> placeholder in the selected option before running the command.
After completing one option, continue to step 3.
Option A: MinIO
This single-node MinIO setup is for testing only. Skip the installation if you already have a MinIO or another S3-compatible object store.
Install MinIO and create a bucket named parseable:
Replace <storage-class> with one of the storage class names returned by kubectl get storageclass.
helm repo add minio https://charts.min.io/
helm upgrade --install minio minio/minio \
--namespace minio \
--create-namespace \
--set 'buckets[0].name=parseable' \
--set 'buckets[0].policy=none' \
--set 'buckets[0].purge=false' \
--set rootUser=minioadmin \
--set rootPassword=minioadmin \
--set replicas=1 \
--set persistence.enabled=true \
--set persistence.storageClass=<storage-class> \
--set resources.requests.memory=128Mi \
--set mode=standalone \
--set image.repository=docker.io/openebs/minio \
--set mcImage.repository=docker.io/openebs/mcForward the MinIO console port:
kubectl port-forward svc/minio-console -n minio 9001:9001Open http://localhost:9001. A bucket named parseable should be available.
Create a file named parseable-env-secret. These defaults work with the MinIO installation above:
cat << EOF > parseable-env-secret
s3.url=http://minio.minio.svc.cluster.local:9000
s3.access.key=minioadmin
s3.secret.key=minioadmin
s3.region=us-east-1
s3.bucket=parseable
username=admin
password=admin
cluster.secret=$(openssl rand -hex 8)
EOFThese credentials are for testing only. Before creating the Kubernetes Secret, replace the MinIO and Parseable administrator credentials with secure values that match your MinIO deployment.
Use s3-store in enterprise-values.yaml.
Option B: Amazon S3
Create a file named parseable-env-secret using the bucket, region, access key, and secret key provided by your AWS administrator:
cat << EOF > parseable-env-secret
username=admin
password=admin
s3.url=<s3.url>
s3.access.key=<s3.access.key>
s3.secret.key=<s3.secret.key>
s3.bucket=<s3.bucket>
s3.region=<s3.region>
cluster.secret=$(openssl rand -hex 8)
EOFUsing Amazon EKS IRSA with Helm chart 3.0.1 or later? Omit s3.access.key
and s3.secret.key and configure the Parseable ServiceAccount instead. Follow the
S3 IRSA guide.
Use s3-store in enterprise-values.yaml.
Option C: Google Cloud Storage
Create a file named parseable-env-secret using the bucket details provided by your Google Cloud administrator:
cat << EOF > parseable-env-secret
username=admin
password=admin
gcs.url=<gcs.url>
gcs.bucket=<gcs.bucket>
cluster.secret=$(openssl rand -hex 8)
EOFKeep the service-account JSON file ready. You will create its Kubernetes Secret after creating the main Secret.
The service-account JSON file is a credential. Store it securely and never commit it to source control.
Use gcs-store in enterprise-values.yaml.
Option D: Azure Blob Storage
Create a file named parseable-env-secret using the storage account, container, and access key provided by your Azure administrator:
cat << EOF > parseable-env-secret
username=admin
password=admin
azr.access_key=<azr.access_key>
azr.account=<azr.account>
azr.container=<azr.container>
azr.url=<azr.url>
cluster.secret=$(openssl rand -hex 8)
EOFUse blob-store in enterprise-values.yaml.
3. Create the Kubernetes Secret
chmod 600 parseable-env-secret
kubectl create secret generic parseable-env-secret \
--namespace parseable \
--from-env-file=parseable-env-secretIf you selected Google Cloud Storage, also create the service-account key Secret:
kubectl create secret generic parseable-gcs-key \
--namespace parseable \
--from-file=key.json='<path-to-service-account-json>'You can add supported environment variables to parseable-env-secret as needed. See the environment variables documentation.
After confirming that the Kubernetes Secrets exist, delete the local plaintext file:
rm parseable-env-secret4. Add the Parseable Helm repository
OSS and Enterprise Kubernetes deployments use the shared Helm chart from parseablehq/helm-charts. There is no separate Helm chart in the Enterprise repository.
helm repo add parseable https://charts.parseable.com
helm repo update parseable
helm show chart parseable/parseableConfirm that the chart version is 3.2.8 or later.
5. Create enterprise-values.yaml
Create a file named enterprise-values.yaml:
parseable:
deploymentMode: distributed
store:
# MinIO and Amazon S3: s3-store
# Google Cloud Storage: gcs-store
# Azure Blob Storage: blob-store
type: s3-store
secretName: parseable-env-secret
# Google Cloud Storage only: uncomment this block.
# gcsCredentials:
# secretName: parseable-gcs-key
# secretKey: key.json
# mountPath: /var/secrets/google
enterprise:
enabled: true
image:
repository: quay.io/parseablehq/parseable-enterprise
tag: "v3.2.8"
pullPolicy: Always
distributed:
ingestor:
replicas: 1
env:
RUST_LOG: warn
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2Gi
persistence:
staging:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5Gi
querier:
replicas: 1
env:
RUST_LOG: warn
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2Gi
persistence:
hotTier:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 15Gi
prism:
replicas: 1
env:
RUST_LOG: warn
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2Gi
persistence:
enabled: false
cache:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5GiSet parseable.store.type for the object store from step 2 and replace each <storage-class> with a class from kubectl get storageclass. For Google Cloud Storage, uncomment parseable.store.gcsCredentials for the service-account Secret. Adjust replicas, CPU, memory, and volume sizes for your workload.
To enable OIDC, add the variables under parseable.distributed.prism.env. See
the OIDC guide.
You can render the chart before installing it:
helm template parseable parseable \
--repo https://charts.parseable.com \
--namespace parseable \
--values ./enterprise-values.yamlThis catches invalid storage combinations before anything is created in the cluster.
Storage behavior
- Enterprise distributed mode requires S3, GCS, or Azure Blob Storage. It does not support
local-store. - Ingestor
staging.enabled: truecreates one staging PVC per ingestor.falseusesemptyDir, so pending staged data is lost if the Pod is replaced. - Querier
hotTier.enabled: truecreates one hot-tier PVC per querier.falseusesemptyDir. Hot tier is a cache and can rebuild from the object store. - Choose both settings during installation. To change one later, recreate the affected StatefulSet.
- Kubernetes rejects changing a volume claim template's
sizeon an existing StatefulSet. If the StorageClass supports volume expansion, resize each generated PVC directly.
6. Install Parseable Enterprise
helm upgrade --install parseable parseable \
--repo https://charts.parseable.com \
--namespace parseable \
--values ./enterprise-values.yaml \
--wait --timeout 10m7. Verify the installation
helm status parseable --namespace parseable
kubectl get pods,pvc,services,statefulsets --namespace parseableThe ingestor, querier, and Prism pods should be Running, and all PVCs should
be Bound. With the sample values above, one staging PVC is created for each
ingestor replica and one hot-tier PVC is created for each querier replica.
8. Access Parseable
Forward the Prism service:
kubectl port-forward \
service/parseable-prism-service 8000:80 \
--namespace parseableOpen http://localhost:8000 and sign in with the administrator credentials in parseable-env-secret.
Send ingestion traffic inside the cluster to:
http://parseable-ingestor-service.parseable.svc.cluster.local9. Troubleshooting
Start with Prism, then the querier, and then the ingestors:
kubectl get events --namespace parseable --sort-by=.lastTimestamp
kubectl logs statefulset/parseable-prism --namespace parseable
kubectl logs statefulset/parseable-querier --namespace parseable
kubectl logs statefulset/parseable-ingestor --namespace parseablePendingPVCs usually indicate an invalid storage class or unavailable volume provisioner.CreateContainerConfigErrorusually indicates a missing Secret or Secret key.- Object-store authentication errors usually indicate incorrect credentials, permissions, endpoint, bucket, or container values.
- Use an empty bucket or container for a new Parseable cluster. Metadata from another Parseable cluster can cause credential or deployment identity conflicts.
Install Parseable OSS
To install Parseable OSS in distributed mode, save the following values as oss-distributed.yaml. This deploys an ingestor and a querier.
parseable:
deploymentMode: distributed
image:
repository: quay.io/parseablehq/parseable
tag: "v3.2.8"
pullPolicy: Always
store:
# MinIO and Amazon S3: s3-store
# Google Cloud Storage: gcs-store
# Azure Blob Storage: blob-store
type: s3-store
secretName: parseable-env-secret
# Google Cloud Storage only: uncomment this block.
# gcsCredentials:
# secretName: parseable-gcs-key
# secretKey: key.json
# mountPath: /var/secrets/google
distributed:
ingestor:
replicas: 1
env:
RUST_LOG: warn
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2Gi
persistence:
staging:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5Gi
querier:
replicas: 1
env:
RUST_LOG: warn
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2Gi-
Complete steps 1 and 2 above to create the namespace and choose an object store.
-
In step 2, omit the
cluster.secret=$(openssl rand -hex 8)line from the selected storage example. In step 3, createparseable-env-secret(andparseable-gcs-keyif you use Google Cloud Storage). -
Complete step 4 to add the Parseable Helm repository. Set the object store in
oss-distributed.yamland replace<storage-class>with your StorageClass. -
Install with the OSS values:
helm upgrade --install parseable parseable \
--repo https://charts.parseable.com \
--namespace parseable \
--values ./oss-distributed.yaml \
--wait --timeout 10m- Verify the ingestor and querier pods with
kubectl get pods -n parseable. To open the console, runkubectl port-forward service/parseable-querier-service 8000:80 -n parseable, then visithttp://localhost:8000.
Was this page helpful?