mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
reduce resource usage
This commit is contained in:
@@ -15,7 +15,7 @@ kubectl get secret test -o yaml
|
||||
Для этого выполним команду:
|
||||
|
||||
```bash
|
||||
kubectl apply -f ~/slurm/practice/3.saving-configurations/2.secret/deployment-with-secret.yaml
|
||||
kubectl apply -f ~/slurm/practice/4.saving-configurations/2.secret/deployment-with-secret.yaml
|
||||
```
|
||||
|
||||
3) Проверяем результат
|
||||
@@ -37,7 +37,7 @@ Environment:
|
||||
4) Применяем манифест с секретом
|
||||
|
||||
```bash
|
||||
kubectl apply -f ~/slurm/practice/3.saving-configurations/2.secret/secret.yaml
|
||||
kubectl apply -f ~/slurm/practice/4.saving-configurations/2.secret/secret.yaml
|
||||
```
|
||||
|
||||
5) Проверяем что в секрете
|
||||
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
cpu: 10m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
cpu: 100m
|
||||
|
||||
Reference in New Issue
Block a user