Kubernetes
This guide installs Parseable as a single standalone pod on Kubernetes. OSS supports local storage, MinIO, Amazon S3, Google Cloud Storage, and Azure Blob Storage. Enterprise standalone uses local storage and requires an Enterprise image tagged v3.2.8 or later.
To install Parseable OSS, follow the OSS setup steps at the end of this page.
To run Enterprise with an object store and multiple pods, use the distributed Enterprise Kubernetes guide.
Use Helm chart 3.2.8 or later for these instructions.
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 bucket or container with access credentials if you use an object store
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 a storage option
Choose exactly one storage option below. Replace every <...> placeholder in the selected option before creating the Kubernetes Secret.
After completing one option, continue to step 3.
Option A: Local storage
Create a file named parseable-env-secret:
cat << EOF > parseable-env-secret
username=admin
password=admin
EOFUse local-store in enterprise-values.yaml.
Option B: 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 using the MinIO test credentials:
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
EOFThese credentials are for testing only. Replace the MinIO and Parseable administrator credentials before using this setup outside a test cluster.
For OSS, set parseable.store.type to s3-store in the values at the end of this page.
Option C: Amazon S3
Create a file named parseable-env-secret using the bucket credentials 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>
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.
For OSS, set parseable.store.type to s3-store in the values at the end of this page.
Option D: 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>
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.
For OSS, set parseable.store.type to gcs-store in the values at the end of this page.
Option E: Azure Blob Storage
Create a file named parseable-env-secret using the storage credentials 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>
EOFFor OSS, set parseable.store.type to blob-store in the values at the end of this page.
3. Create the Kubernetes Secret
Review the file created for your selected storage option, then create the 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>'Delete the local plaintext configuration file after creating the Secret:
rm parseable-env-secret4. Add the Parseable Helm 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
For Enterprise with local-store, create enterprise-values.yaml with these values:
parseable:
deploymentMode: standalone
enterprise:
enabled: true
image:
repository: quay.io/parseablehq/parseable-enterprise
tag: "v3.2.8"
pullPolicy: Always
store:
type: local-store
secretName: parseable-env-secret
standalone:
unified:
env:
RUST_LOG: warn
resources:
requests:
cpu: 250m
memory: 1Gi
limits:
cpu: 500m
memory: 4Gi
persistence:
staging:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5Gi
data:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5GiThe Enterprise image includes a built-in 50 GB license, so this installation needs no license Secret. The chart also accepts latest image tags, but a versioned tag makes the minimum version clear.
To enable OIDC, add the variables under parseable.standalone.unified.env. See
the OIDC guide.
Before continuing:
- Replace both
<storage-class>values with a storage class returned bykubectl get storageclass. - Adjust volume sizes for your workload.
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
staging.enabled: truecreates a staging PVC.falseusesemptyDir, so pending staged data is lost if the Pod is replaced.- With
local-store,data.enabled: truecreates a data PVC.falseusesemptyDir, so stored data is lost if the Pod is replaced. - If local-store data is disabled, staging must also be disabled. The chart rejects persistent staging with temporary local data.
- Choose between PVC and
emptyDirduring installation. Changing that choice later requires recreating the StatefulSet. - Kubernetes rejects changing a volume claim template's
sizeon an existing StatefulSet. If the StorageClass supports volume expansion, resize the generated PVC directly.
Upgrading to chart 3.1.0 or later
New installations are not affected. If standalone Parseable was installed with chart 3.0.2 or earlier, do not upgrade it directly. Create a separate installation with chart 3.1.0 or later, migrate and verify the data, and then switch traffic to the new installation.
6. Install Parseable
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 Parseable pod should be Running, and every created PVC should be Bound.
With the release name parseable, a standalone local-store install with both
staging and data persistence enabled creates two PVCs:
stage-volume-parseable-standalone-0data-volume-parseable-standalone-0
8. Access Parseable
kubectl port-forward service/parseable-standalone-service 8000:80 --namespace parseableOpen http://localhost:8000 and sign in with the username and password stored in parseable-env-secret.
9. Troubleshooting
kubectl get events --namespace parseable --sort-by=.lastTimestamp
kubectl describe pod --namespace parseable -l app.kubernetes.io/instance=parseable
kubectl logs statefulset/parseable-standalone --namespace parseable --tail=200PendingPVCs usually indicate an invalid storage class or unavailable volume provisioner.CreateContainerConfigErrorusually indicates a missing Secret or Secret key.
Install Parseable OSS
The storage options and Secret commands in steps 1 through 4 also apply to OSS standalone. Choose any option in step 2, create its Kubernetes Secret in step 3, and add the Helm repository in step 4.
For OSS, create a file named oss-standalone.yaml:
parseable:
deploymentMode: standalone
image:
repository: quay.io/parseablehq/parseable
tag: "v3.2.8"
pullPolicy: Always
store:
# Local storage: local-store
# MinIO and Amazon S3: s3-store
# Google Cloud Storage: gcs-store
# Azure Blob Storage: blob-store
type: local-store
secretName: parseable-env-secret
# Google Cloud Storage only: uncomment this block.
# gcsCredentials:
# secretName: parseable-gcs-key
# secretKey: key.json
# mountPath: /var/secrets/google
standalone:
unified:
env:
RUST_LOG: warn
resources:
requests:
cpu: 250m
memory: 1Gi
limits:
cpu: 500m
memory: 4Gi
persistence:
staging:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5Gi
data:
enabled: true
storageClass: <storage-class>
accessMode: ReadWriteOnce
size: 5GiSet parseable.store.type for the selected storage option. If you selected Google Cloud Storage, uncomment parseable.store.gcsCredentials. Replace each enabled volume's <storage-class> with a storage class returned by kubectl get storageclass and adjust volume sizes.
Render the OSS values with the helm template command in step 5, using oss-standalone.yaml as the values file, then install:
helm upgrade --install parseable parseable \
--repo https://charts.parseable.com \
--namespace parseable \
--values ./oss-standalone.yaml \
--wait --timeout 10mVerify and access the OSS pod with the commands in steps 7 and 8. With S3, GCS, or Azure Blob Storage, permanent data is stored in the object store; the chart does not create or mount a data volume. Use an empty bucket or container for a new installation. Object-store authentication errors usually indicate incorrect credentials, permissions, endpoint, bucket, or container values.
Was this page helpful?