fix limits

This commit is contained in:
ducoterra
2021-02-13 12:46:24 -05:00
parent 5e0ec06802
commit 5d243f2850
2 changed files with 8 additions and 6 deletions

View File

@@ -21,7 +21,9 @@ kubectl exec -it $(kubectl get pod --selector=app=monitor --output=jsonpath={.it
## Stress
```bash
kubectl exec -it $(kubectl get pod --selector=app=monitor --output=jsonpath={.items..metadata.name}) -c stress -- stress -c 48
kubectl exec -it $(kubectl get pod --selector=app=stress-monitor --output=jsonpath={.items..metadata.name}) -c stress -- stress -c 16
kubectl exec -it $(kubectl get pod --selector=app=stress-monitor --output=jsonpath={.items..metadata.name}) -c stress -- stress -m 1 --vm-bytes 16G
```
## Overclocking

View File

@@ -20,7 +20,7 @@ spec:
- containerPort: 61208
resources:
requests:
memory: 128Mi
memory: 512Mi
cpu: 1m
limits:
memory: 512Mi
@@ -35,7 +35,7 @@ spec:
- containerPort: 5201
resources:
requests:
memory: 128Mi
memory: 512Mi
cpu: 1m
limits:
memory: 512Mi
@@ -47,7 +47,7 @@ spec:
command: ["sleep", "infinity"]
resources:
requests:
memory: 128Mi
memory: 512Mi
cpu: 1m
limits:
memory: 512Mi
@@ -63,11 +63,11 @@ spec:
tty: true
resources:
requests:
memory: 1Mi
memory: 512Mi
cpu: 1m
limits:
memory: 512Mi
cpu: 250m
cpu: 500m
{{ end }}
{{ if .Values.disk }}
volumes: