Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HARJA-1298 - Korjaile fargate restarttia, jotta se ottaa aimmin asetetun desired #3818

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

K1ll3rF0x
Copy link
Contributor

Korjaile fargate restarttia, jotta se ottaa aimmin asetetun desired countin huomioon.

Tässä otetaan huomioon eri ympäristöjen tarpeet erillisen restart-toiminnon näkökulmasta:

  • Jos dev tai stg ympäristö on sammutettu ja ajetaan restart workflow -> Nostetaan desired count 0 arvosta 1:seen
    • Tehdään siis oletus, että ympäristön ollessa sammutettuna, tällä restart toiminnolla halutaan se käynnistää uudelleen.
  • Jos ympäristö on jo ajossa ja esim. ALB asettanut jonkin desired count arvon aiemmin -> restartin yhteydessä kunnioitaan tätä arvoa. Eli, esimerkiksi. jos taskeja on skaalattu 4:ään, niin restart pitää huolen siitä että desired count pysyy samana.

@K1ll3rF0x K1ll3rF0x requested a review from maaritlaine January 31, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant