generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
The feature #82 which implements the following technical scenario of a sandbox needs to be tested:
When replicas==0, the controller will delete the pod associated with the sandbox, while preserving the PVC and service.
When replicas==1 or not specified, the controller will create the pod if it does not exist.
There is a need to test the feature works and restores a running container correctly, please create and run a test as following:
- Create a vscode sandbox with replicas: 1 and a pvc
- Generate code inside the vscode sandbox - "Generate a tic-tac-toe game in python" - and pause
- Set replicas==0, verify the pod is deleted, sandbox CR still exists, pvc still exists
- Set replicas==1, verify the sandbox pod starts with the existing pvc
- Verify the sandbox pod containing the vscode loads and is able to continue running the generated "tic-tac-toe game in python"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels