Skip to content

Commit 7ecc416

Browse files
Kamil PrzybylKamil Przybyl
authored andcommitted
chore: add alb ingress controller docs run-it-locally how-to
1 parent ae98179 commit 7ecc416

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/ingress-controller.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### Run the ALB Ingress controller locally
2+
To run the controller on your local machine, ensure you have a valid kubeconfig pointing to the target Kubernetes cluster where the ALB resources should be managed.
3+
4+
##### Environment Variables
5+
The controller requires specific configuration and credentials to interact with the STACKIT APIs and your network infrastructure. Set the following variables:
6+
- STACKIT_SERVICE_ACCOUNT_TOKEN: Your authentication token for performing CRUD operations via the ALB and Certificates SDK.
7+
- STACKIT_REGION: The STACKIT region where the infrastructure resides (e.g., eu01).
8+
- PROJECT_ID: The unique identifier of your STACKIT project where the ALB will be provisioned.
9+
- NETWORK_ID: The ID of the STACKIT network where the ALB will be provisioned.
10+
```
11+
export STACKIT_SERVICE_ACCOUNT_TOKEN=<your-token>
12+
export STACKIT_REGION=<region>
13+
export PROJECT_ID=<project-id>
14+
export NETWORK_ID=<network-id>
15+
```
16+
Kubernetes Context
17+
The controller uses the default Kubernetes client. Ensure your KUBECONFIG environment variable is set or your current context is correctly configured:
18+
```
19+
export KUBECONFIG=~/.kube/config
20+
```
21+
#### Run
22+
Use the provided Makefile in the root of repository to start the controller:
23+
```
24+
make run
25+
```

0 commit comments

Comments
 (0)