Skip to content

Add ops file for disabling dynamic asg syncing on isolation segments #1239

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ebroberson
Copy link
Contributor

WHAT is this change about?

We need the ability to disable Dynamic ASG syncing on an isolation segment for pipeline testing (particularly diego-release)

What customer problem is being addressed? Use customer persona to define the problem e.g. Alana is unable to...

Alana wants to easily disable the Dynamic ASG syncer on isolation segments.

Has a cf-deployment including this change passed cf-acceptance-tests?

  • YES
  • NO

Does this PR introduce a breaking change? Please take a moment to read through the examples before answering the question.

  • YES - please choose the category from below. Feel free to provide additional details.
  • NO

How should this change be described in cf-deployment release notes?

Operators can now easily disable Dynamic ASG syncing for isolation segments.

Does this PR introduce a new BOSH release into the base cf-deployment.yml manifest or any ops-files?

  • YES - please specify
  • NO

Does this PR make a change to an experimental or GA'd feature/component?

  • experimental feature/component
  • GA'd feature/component

Please provide Acceptance Criteria for this change?

Using bosh interpolate with disable-isoseg-dynamic-asgs.yml should show that isolated-diego-cell.vxlan-policy-agent.enable_asg_syncing is false

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

@cloudfoundry/wg-app-runtime-platform

@jochenehret
Copy link
Contributor

There is already a similar ops file for the regular "diego-cell" instances:
https://github.com/cloudfoundry/cf-deployment/blob/main/operations/disable-dynamic-asgs.yml

I'm not yet sure how your new ops file relates to that one. Should the policy-server-asg-syncer job also be disabled?

@jochenehret jochenehret requested review from a team May 16, 2025 07:17
@dimivel
Copy link
Contributor

dimivel commented May 27, 2025

hi @ebroberson,

As Jochen mention above there is already a similar ops file to disable the Dynamic ASG.
Could it be used in your case?

Regards,
Dimitar

@ebroberson
Copy link
Contributor Author

Unfortunately that ops file only handles regular diego cells, not ones that are in an isolation segment. However, since the intended result is for Dynamic ASGs to be disabled for the entire deployment, I could modify the existing ops file to take isolation segments into account. Thanks for the feedback!

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.

3 participants