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

wip: conformance debugging #2235

Closed
wants to merge 2 commits into from
Closed

wip: conformance debugging #2235

wants to merge 2 commits into from

Conversation

lizardruss
Copy link
Contributor

@lizardruss lizardruss commented Oct 17, 2024

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:

> devspace dev --var COMMON_VALUES="/dev/null" --var VALUES_FILE="conformance/local/values.yaml" --profile test-k8s

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:

> kubectl delete po $(kubectl get po --no-headers | grep 'test-rc' | awk '{print $1}')

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for vcluster-docs canceled.

Name Link
🔨 Latest commit 1098451
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/67166eb926b8ac0008da9662

@lizardruss lizardruss closed this Oct 24, 2024
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