Merge pull request #138 from jkaninda/docs

docs: update k8s deployment
This commit is contained in:
2024-11-27 11:26:58 +01:00
committed by GitHub

View File

@@ -71,8 +71,8 @@ spec:
replicaCount: 1 replicaCount: 1
resources: resources:
limits: limits:
cpu: 100m cpu: 200m
memory: 128Mi memory: 512Mi
requests: requests:
cpu: 100m cpu: 100m
memory: 128Mi memory: 128Mi
@@ -85,6 +85,15 @@ spec:
targetMemoryUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80
affinity: {} affinity: {}
``` ```
### Delete gateway
```shell
kubectl delete gateway (gatewayName)
```
Or
```shell
kubectl delete gateways.gomaproj.github.io (gatewayName)
```
## Middleware ## Middleware
@@ -152,3 +161,16 @@ spec:
```sh ```sh
kubectl delete -f https://raw.githubusercontent.com/jkaninda/goma-operator/main/dist/install.yaml kubectl delete -f https://raw.githubusercontent.com/jkaninda/goma-operator/main/dist/install.yaml
``` ```
### Force Gateway deletion
```shell
kubectl patch gateways.gomaproj.github.io (gatewayName) -p '{"metadata":{"finalizers":[]}}' --type=merge
```
### Force gateway crd deletion
```shell
kubectl patch crd gateways.gomaproj.github.io -p '{"metadata":{"finalizers":[]}}' --type=merge
```