Basic usage Examples
Please check some basic usage scenarios below.
Full source code available in examples directory.
Accessing your cluster under test with kube_cluster fixture
function
examples.test_basic_cluster.
test_api_working
(
kube_cluster
)
Very minimalistic example of using the kube_cluster fixture to get an instance of Cluster under test and access its kube_client property to get access to Kubernetes API of cluster under test.
Please refer to pykube to get docs for HTTPClient.