fix(app): use CBR and correct sa
This commit is contained in:
11
README.md
11
README.md
@@ -62,8 +62,8 @@ docker push <your-ecr-repo>:latest
|
||||
Apply RBAC and deployment configurations:
|
||||
|
||||
```bash
|
||||
kubectl apply -f app/example/k8s/rbac.yaml
|
||||
kubectl apply -f app/example/k8s/deployment.yaml
|
||||
kubectl apply -f examples/k8s/rbac.yaml
|
||||
kubectl apply -f examples/k8s/deployment.yaml
|
||||
```
|
||||
|
||||
### Access the Service
|
||||
@@ -80,6 +80,13 @@ Test the API:
|
||||
curl http://<EXTERNAL-IP>/k8s/data
|
||||
```
|
||||
|
||||
## Kubernetes Integration
|
||||
|
||||
The `/k8s/data` endpoint retrieves information about:
|
||||
|
||||
- Nodes: CPU, memory, and allocatable pods.
|
||||
- Namespaces: List of all namespaces in the cluster.
|
||||
|
||||
## Endpoints
|
||||
|
||||
| Method | Endpoint | Description |
|
||||
|
||||
Reference in New Issue
Block a user