Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <csviri@gmail.com>
  • Loading branch information
csviri committed Feb 14, 2024
1 parent 5aca3b2 commit 34a88d3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,26 @@ class ExampleTest {
}
}
```

## Testing Against real Kubernetes API Server with Kube API Test

In order to test against real Kubernetes API the project provides a lightweight approach, thus starting up Kubernetes API Server and etcd binaries.

```java
@EnableKubeAPIServer
class KubeAPITestSample {

static KubernetesClient client;

@Test
void testWithClient() {
// test using the client against real K8S API Server
}
}
```

For details see docs for [Kube API Test](doc/kube-api-test.md).

## Compatibility

### Kubernetes
Expand Down

0 comments on commit 34a88d3

Please sign in to comment.