You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/k8s
Will Thames 07ed860c2b Add more kubernetes Service tests (#62581)
* Add more kubernetes Service tests

Services can often go wrong, and one of the main motivations for
apply was being able to correctly modify them, so more tests are good

* Remove a port from a service for k8s testing

* Add a Service check mode to k8s tests
5 years ago
..
defaults Add test case for k8s cascading deletes (#55987) 5 years ago
files Convert k8s test to role and fix virtulenv usage. (#53883) 5 years ago
meta Convert k8s test to role and fix virtulenv usage. (#53883) 5 years ago
tasks Add more kubernetes Service tests (#62581) 5 years ago
README.md Add wait functionality to k8s module (#47493) 6 years ago
aliases Revert "Disabled failing k8s integration test." 6 years ago

README.md

Wait tests

wait tests require at least one node, and don't work on the normal k8s openshift-origin container as provided by ansible-test --docker -v k8s

minikube, Kubernetes from Docker or any other Kubernetes service will suffice.

If kubectl is already using the right config file and context, you can just do

cd test/integration/targets/k8s
./runme.sh -vv

otherwise set one or both of K8S_AUTH_KUBECONFIG and K8S_AUTH_CONTEXT and use the same command