# run this elevator-operator as an example:
1. open a cli and start a k8s cluster
```
cd staircase/example;
docker compose up -d;
```
2. use the `KUBECONFIG`
```
export KUBECONFIG=$(pwd)/kubeconfig.yaml
```
3. start operator in background (or other cli)
```
cargo run --example=elevator-operator --all-features
```
4. create a instace of an elevator:
```
kubectl apply -f elevator.yaml
```
5. port-forward the service to local system
```
kubectl port-forward service/sample-elevator-elevator 8080:80
```
6. open [localhost](http://localhost:8080/)
7. modify the elevator crd:
```
kubectl edit elevators.example.com sample-elevator
```