Single Instance
Deploy BindPlane OP Server to Kubernetes
Architecture
When BindPlane is deployed as a StatefulSet, it has the following architecture.
- BindPlane as a Single pod.
- Deployed as a StatefulSet.
- BBolt storage backend using a persistent volume claim.
- Prometheus time series database
- Deployed as a StatefulSet.
- Persistent storage using a persistent volume claim.
- Prometheus is deployed and managed by the chart using observIQ's Prometheus image.
- Single transform agent pod, for live preview.
note
BindPlane uses Prometheus as a storage backend for agent throughput metrics. It is unnecessary to manage Prometheus outside of the Helm chart.
Prerequisites
System Requirements
- Storage class which supports persistent volume claims (When running as a StatefulSet).
- See the instance sizing guidelines for recommended disk capacity.
Installation
Add the BindPlane OP Helm chart to your workstation.
Create a values.yaml
file, which will be used to configure
your Helm deployment.
Add the initial options. Make sure to set the following:
config.username
: Your basic auth username for the Administrator project.config.password
: Your basic auth password for the Administrator project.config.sessions_secret
: A random uuid. You can useuuidgen
to create one.
note
Follow the the instance sizing guidelines when modifying the resource requests and limits.
Deploy BindPlane to the bindplane
namespace using Helm and your previously
created values.yaml
configuration file.
After a few moments, check the namespace by running kubectl -n bindplane get pod
.
You will see three pods.
- BindPlane
- Prometheus
- Live Preview transform agent.
Frequently Asked Questions
Q: Why is the StatefulSet limited to one pod?
A: BindPlane is limited to a single instance when configured with local storage. See the BindPlane Deployment Installation documentation for details on how to deploy BindPlane OP using a scalable architecture.