mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-08 16:37:32 +00:00
Frequent errors have been observed during k8s e2e tests: - The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port? - Error from server (ServiceUnavailable): the server is currently unable to handle the request - Error from server (NotFound): the server could not find the requested resource These errors can be resolved by retrying the kubectl command. This commit introduces a wrapper function in common.sh that runs kubectl up to 3 times with a 5-second interval. Initially, this change only covers gha-run.sh for Kubernetes. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com> |
||
---|---|---|
.. | ||
cmd | ||
functional | ||
integration | ||
metrics | ||
stability | ||
.gitignore | ||
.golangci.yml | ||
common.bash | ||
error.sh | ||
gha-run-k8s-common.sh | ||
git-helper.sh | ||
go.mod | ||
go.sum | ||
install_go.sh | ||
install_rust.sh | ||
kata-arch.sh | ||
kata-doc-to-script.sh | ||
README.md | ||
static-checks.sh |
Kata Containers Tests
This directory contains various types of tests for testing the Kata Containers repository.
Test Content
We provide several tests to ensure Kata-Containers run on different scenarios and with different container managers.
- Integration tests to ensure compatibility with:
- Stability tests
- Metrics
- Functional
GitHub Actions
Kata Containers uses GitHub Actions in the Kata Containers repository.