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.
What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix
/kind enhancement
/kind feature
/kind documentation
/kind test
What does this pull request do? Which issues does it resolve? (use
resolves #<issue_number>
if possible)resolves #
Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster ...
What else do we need to know?
commands to run:
Set up a minikube cluster
> just run-conformance
Start devspace:
Once in devspace, start the vcluster:
> go run -mod vendor cmd/vcluster/main.go start
Once the vcluster is running, connect to it:
> vcluster connect -n vcluster vcluster --background-proxy=false
Once the vcluster port-forwarding is running, run sonobouy tests:
> sonobuoy run --mode=conformance-lite --level=debug
To deploy the replication controller:
> kubectl apply -f conformance/local/replicationcontroller.yaml
To foreground delete the replication controller:
> kubectl delete replicationcontrollers test-rc --cascade=foreground
You might have to issue the delete call multiple times, as it is flaky. At some point you should see some pods stuck in
ContainerCreating
.To clean up the ones in
ContainerCreating
you can issue: