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

sch Agent resource updated to accommodate agent destroy resources #5691

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

VaishnaviGopal
Copy link
Collaborator

@VaishnaviGopal
Copy link
Collaborator Author

image
  • Agent deploy is applied
image image
  • run_destroy_resources param value changed from 0-> 1 and hence when terrfaorm apply is done, a diff is found and hence it has gone to terraform update flow where run_destroy_resources job is performed to destroy agent deployment resources.
image
  • To test Agent destroy scenario, let us deploy the agent again and try using terraform destroy

  • Agent deploy is applied again this time using force parameter.

image image image
  • Agent PRS is performed to check if cluster has agent deployment(in this case, yes. Since we did agent deploy using force with terraform.)
image
  • Terraform destroy scenario:

First agent resources should get deleted and then agent itself should get deleted
image
image
image

@hkantare hkantare merged commit f3b731b into IBM-Cloud:master Oct 4, 2024
1 check passed
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.

2 participants