|
|
1. Authorization
|
|
|
|
|
|
aws configure sso
|
|
|
|
|
|
{width=252 height=94}
|
|
|
2. Find all deployments
|
|
|
|
|
|
kubectl -n osdu-instance-r3m18-core get deployment
|
|
|
|
|
|
{width=327 height=170}
|
|
|
3. To see what image on server
|
|
|
|
|
|
kubectl -n osdu-instance-r3m18-core get deploy os-storage -o yaml
|
|
|
|
|
|
{width=330 height=52}
|
|
|
4. Save definition of deployment
|
|
|
|
|
|
kubectl -n osdu-instance-r3m18-core get deployment os-storage -o yaml \> storage-deployment.20240521.yaml
|
|
|
|
|
|
{width=519 height=17}
|
|
|
5. Edit deploy
|
|
|
|
|
|
kubectl -n osdu-instance-r3m18-core edit deploy os-storage
|
|
|
|
|
|
{width=356 height=37}
|
|
|
|
|
|
And after that to change in opened file path to image
|
|
|
|
|
|
Before:
|
|
|
|
|
|
{width=403 height=406}
|
|
|
|
|
|
After:
|
|
|
|
|
|
{width=396 height=449}
|
|
|
6. Find path to new image we can in pipeline. Go to job containerize -\> aws-containerize
|
|
|
|
|
|
{width=580 height=277}
|
|
|
|
|
|
In our case string 63 successfully tagged. And copy this path
|
|
|
|
|
|
{width=616 height=115}
|
|
|
7. At the end we can watch the pods. It should be running
|
|
|
|
|
|
kubectl -n osdu-instance-r3m18-core get pod | grep os-storage
|
|
|
|
|
|
{width=457 height=42}
|
|
|
|
|
|
If you change image first time you should fix startup check, delete liveness check and health check. |
|
|
\ No newline at end of file |