What this PR does / why we need it:
In some of the clusters we are seeing stork binary takes time to load the import modules and do their inits (like aws sdk go's Session creation). Till this gets root caused, adding an environment variable "SKIP_AWS_DRIVER_INIT" if set will skip the aws driver init.
Note: This should not be used with px-backup.
Does this PR change a user-facing CRD or CLI?:
no
Is a release note needed?:
yes,
We can use SKIP_AWS_DRIVER_INIT="true" as environment variable to stork pod if stork init gets hung for a long time.
Does this change need to be cherry-picked to a release branch?:
yes, 24.3.1, 24.3.2 and 24.3.3
Signed-Off-By: Diptiranjan
What type of PR is this? improvement
What this PR does / why we need it: In some of the clusters we are seeing stork binary takes time to load the import modules and do their inits (like aws sdk go's Session creation). Till this gets root caused, adding an environment variable "SKIP_AWS_DRIVER_INIT" if set will skip the aws driver init.
Note: This should not be used with px-backup.
Does this PR change a user-facing CRD or CLI?: no
Is a release note needed?: yes,
Does this change need to be cherry-picked to a release branch?: yes, 24.3.1, 24.3.2 and 24.3.3
Test:
stork logs:
Test - https://jenkins.pwx.dev.purestorage.com/job/Stork/view/Stork%2024.3.1-dev/job/new-dr-workflow/227/
Ran the above test with the env variable set.