mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
Add basic info
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Запускаем приложение в несколько реплик
|
||||
|
||||
## 1. Копируем манифест deployment
|
||||
|
||||
```
|
||||
cp deployment.yaml ~/xpaste/.helm/templates/
|
||||
```
|
||||
|
||||
## 2. Пушим, ждем запуска, рассматриваем
|
||||
|
||||
```
|
||||
cd ~/xpaste
|
||||
git add .helm/templates/deployment.yaml
|
||||
git commit -m "Run app with nginx in separate containers"
|
||||
git push
|
||||
```
|
||||
|
||||
## 3. Смотрим описание пода, список запущенных процессов
|
||||
|
||||
```
|
||||
kubectl describe pod ...
|
||||
kubectl exec -it ...
|
||||
|
||||
ps ax
|
||||
```
|
||||
Reference in New Issue
Block a user