Files
school-dev-k8s/practice/14.ci-cd/1.5.two_containers
Marsel Ibraev f44beb51a9 Add basic info
2021-09-24 11:51:02 +03:00
..
2021-09-24 11:51:02 +03:00
2021-09-24 11:51:02 +03:00

Запускаем приложение в несколько реплик

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