Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR modifies the reset job. The reset job has to be run via mounting the PVC that is in use so that the correct filesystem locations are being reset. There is a limitation in the CSI driver (aka
google-filestore-driver
in GCP Log explorer) where the driver has a subsystem puts locks on the volume mapped to the pod; this makes it impossible to get the volume to attach to a secondary pod on the same node where the server-repository lives . This adding a secondary pod on the same node where the PVC isbound
is documented as a working solution but the subsystem has a different setup.Because of the limitation above, the reset job now runs
kubectl
to get the running server-repository pod,exec
s into the pod and triggers the reset script. There is a reset job for both previewnet and testnetRelated issue(s):
Fixes #43
Notes for reviewer:
These are the logs from the test environment run of this:
Checklist