> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/deployment/kubernetes/server/installation/single-instance.md). Agents can also search and read this documentation through its [MCP server](https://docs.bindplane.com/~gitbook/mcp).

# Single Instance

Deploy Bindplane 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](https://github.com/observiq/bindplane-op-enterprise/pkgs/container/bindplane-prometheus).
* Single transform agent pod, for [live preview](https://docs.bindplane.com/feature-guides/data-management/live-preview.md).

{% hint style="info" %}
**NOTE**

Bindplane uses Prometheus as a storage backend for collector throughput metrics. It is unnecessary to manage Prometheus outside of the Helm chart.
{% endhint %}

### Prerequisites

#### System Requirements

* Storage class which supports persistent volume claims (When running as a StatefulSet).
  * See [the instance sizing guidelines](https://docs.bindplane.com/deployment/virtual-machine/bindplane/prerequisites.md) for recommended disk capacity.

### Installation

Add the Bindplane Helm chart to your workstation.

```bash
helm repo add "bindplane" \
    "https://observiq.github.io/bindplane-op-helm"

helm repo update
```

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 use `uuidgen` to create one.

```yaml
config:
  # These options should be configured by
  # the user.
  username: ''
  password: ''
  sessions_secret: ''

backend:
  type: bbolt
  bbolt:
    volumeSize: '120Gi'

resources:
  # Request 2 cores and allow cpu bursting.
  # Request fixed amount of memory, 8Gb.
  requests:
    cpu: '2000m'
    memory: '8192Mi'
  limits:
    memory: '8192Mi'
```

{% hint style="info" %}
**NOTE**

Follow the [the instance sizing guidelines](https://docs.bindplane.com/deployment/virtual-machine/bindplane/prerequisites.md) when modifying the resource requests and limits.
{% endhint %}

Deploy Bindplane to the `bindplane` namespace using Helm and your previously created `values.yaml` configuration file.

```bash
helm repo update

helm upgrade \
    --values="values.yaml" \
    --namespace=bindplane \
    --create-namespace \
    --install \
    bindplane \
    bindplane/bindplane
```

After a few moments, check the namespace by running `kubectl -n bindplane get pod`. You will see three pods:

* Bindplane
* Prometheus
* [Live Preview](https://docs.bindplane.com/feature-guides/data-management/live-preview.md) transform agent.

```
NAME                                        READY   STATUS    RESTARTS   AGE
bindplane-0                                 1/1     Running   0          3m42s
bindplane-prometheus-0                      1/1     Running   0          3m42s
bindplane-transform-agent-f5c6fb575-5cgtr   1/1     Running   0          3m42s
```

### 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](https://docs.bindplane.com/deployment/kubernetes/server/installation/high-availability.md) documentation for details on how to deploy Bindplane using a scalable architecture.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bindplane.com/deployment/kubernetes/server/installation/single-instance.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
