> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gorbit.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Kubernetes

> Deploy Gorbit with Helm

<Tip>
  Check out our [Resourcing Guide](/deployment/getting_started/resourcing) before getting started.
</Tip>

## Guide

The Gorbit Helm chart packages all the required services (API, web, PostgreSQL, Vespa, etc.) into a single deployment.
By default, persistent volumes will be created for stateful services (e.g. PostgreSQL, Vespa).

<Steps>
  <Step title="Add the Gorbit Helm repository">
    ```bash theme={null}
    helm repo add gorbit https://gorbit-dot-app.github.io/gorbit/
    helm repo update
    helm search repo gorbit
    ```
  </Step>

  <Step title="Install Gorbit">
    Install into its own namespace (recommended):

    ```bash theme={null}
    kubectl create namespace gorbit
    helm install gorbit gorbit/gorbit -n gorbit
    ```

    This will pull the latest Gorbit chart and deploy all dependencies.
  </Step>

  <Step title="Verify the installation">
    ```bash theme={null}
    helm list -n gorbit
    kubectl get pods -n gorbit
    ```

    Wait until all pods are in a `Running` state before accessing Gorbit.
  </Step>

  <Step title="Access Gorbit">
    By default, the chart exposes Gorbit via a Kubernetes Service. For local testing, you can port-forward:

    ```bash theme={null}
    kubectl -n gorbit port-forward service/gorbit-nginx 8080:80
    ```

    Then open [http://localhost:8080](http://localhost:8080).
  </Step>

  <Step title="Configure Gorbit">
    Configure your deployment by modifying the `values.yaml` file in the `gorbit/deployment/helm/charts/gorbit` directory.

    You'll need to restart Gorbit after changing any `values.yaml` variables.

    ```bash theme={null}
    helm upgrade gorbit gorbit/gorbit -n gorbit -f deployment/helm/charts/gorbit/values.yaml
    ```
  </Step>
</Steps>

See the [Helm chart README](https://github.com/gorbit-dot-app/gorbit/tree/main/deployment/helm)
for advanced options such as running as non-root and testing with Kind.

## Next Steps

<CardGroup cols={2}>
  <Card title="Configure Authentication" icon="shield-check" href="/deployment/authentication/basic">
    Set up authentication for your Gorbit deployment with OAuth, OIDC, or SAML.
  </Card>

  <Card title="More Gorbit Configuration Options" icon="gear" href="/deployment/configuration/configuration">
    Learn about all available configuration options for your Gorbit deployment.
  </Card>
</CardGroup>
