reduce resource usage

This commit is contained in:
Sergey Bondarev
2021-09-27 19:24:22 +03:00
parent f41e7a6611
commit 705c2dbc6d
19 changed files with 26 additions and 26 deletions
@@ -5,7 +5,7 @@
Для этого выполним команду:
```bash
kubectl apply -f ~/slurm/practice/3.saving-configurations/1.env/deployment-with-env.yaml
kubectl apply -f ~/slurm/practice/4.saving-configurations/1.env/deployment-with-env.yaml
```
2) Проверяем результат
@@ -26,8 +26,8 @@ Environment:
3) Создаем configmap
```bash
kubectl apply -f ~/slurm/practice/3.saving-configurations/1.env/configmap.yaml
kubectl apply -f ~/slurm/practice/3.saving-configurations/1.env/deployment-with-env-cm.yaml
kubectl apply -f ~/slurm/practice/4.saving-configurations/1.env/configmap.yaml
kubectl apply -f ~/slurm/practice/4.saving-configurations/1.env/deployment-with-env-cm.yaml
```
4) Проверяем результат
@@ -31,7 +31,7 @@ spec:
- containerPort: 80
resources:
requests:
cpu: 50m
cpu: 10m
memory: 100Mi
limits:
cpu: 100m
@@ -28,7 +28,7 @@ spec:
- containerPort: 80
resources:
requests:
cpu: 50m
cpu: 10m
memory: 100Mi
limits:
cpu: 100m