File size: 727 Bytes
b47934a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # Deploy OpenMeter
## Deploy OpenMeter to a local Kubernetes cluster
## Prerequisites
- [docker](https://www.docker.com/)
- [kind](https://kind.sigs.k8s.io/)
- [helm](https://helm.sh/)
## 1. Check out this repository
```shell
git clone git@github.com:openmeterio/openmeter.git
cd openmeter/deploy
```
## 2. Setup local cluster
```shell
kind create cluster --config ./kind.yaml
```
## 3. Install OpenMeter via Helm
```shell
helm upgrade --install --dependency-update -f ./charts/openmeter/values.example.yaml openmeter ./charts/openmeter
```
Once the `openmeter-api` pod is ready, we can use `port-forward` to access the API.
This might take a few minutes.
```shell
kubectl port-forward svc/openmeter-api 8888:80
```
|