Skip to content

Commit

Permalink
Merge branch 'main' into rmdir-support
Browse files Browse the repository at this point in the history
  • Loading branch information
facundopoblete authored Jan 12, 2025
2 parents 9245708 + 007597c commit 68509b9
Show file tree
Hide file tree
Showing 55 changed files with 1,607 additions and 533 deletions.
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,25 @@ For example, a test which only tests sanity of the ephemeral container feature s

On Linux, running tests may exhaust a large amount of RAM and crash the machine. To prevent this, limit the number of concurrent jobs by running the command with e.g. `-j 4`

### IPv6

Some tests create a single-stack IPv6 service. They can only be run on clusters with IPv6 enabled.
In order to test IPv6 on a local cluster on macOS, you can use Kind:

1. `brew install kind`
2. ```shell
cat >kind-config.yaml <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
ipFamily: ipv6
apiServerAddress: 127.0.0.1
EOF
```
3. `kind create cluster --config kind-config.yaml`
4. When you run `kubectl get svc -o wide --all-namespaces` you should see IPv6 addresses.
### Cleanup
The Kubernetes resources created by the E2E tests are automatically deleted when the test exits. However, you can preserve resources from failed tests for debugging. To do this, set the `MIRRORD_E2E_PRESERVE_FAILED` variable to any value.
Expand Down
Loading

0 comments on commit 68509b9

Please sign in to comment.