Skip to content

Commit c4d7f5d

Browse files
committed
Add K3s module
Signed-off-by: Joe Bowbeer <[email protected]>
1 parent ab27fa8 commit c4d7f5d

File tree

10 files changed

+706
-46
lines changed

10 files changed

+706
-46
lines changed

docs/modules/k3s.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# K3s Module
2+
3+
[K3s](https://k3s.io/) is a highly available, certified Kubernetes distribution designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.
4+
5+
## Install
6+
7+
```bash
8+
npm install @testcontainers/k3s --save-dev
9+
```
10+
11+
## Examples
12+
13+
<!--codeinclude-->
14+
[Starting a K3S server](../../packages/modules/k3s/src/k3s-container.test.ts) inside_block:starting_k3s
15+
<!--/codeinclude-->
16+
17+
<!--codeinclude-->
18+
[Connecting to the server](../../packages/modules/k3s/src/k3s-container.test.ts) inside_block:connecting_with_client
19+
<!--/codeinclude-->

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ nav:
5050
- Elasticsearch: modules/elasticsearch.md
5151
- GCloud: modules/gcloud.md
5252
- HiveMQ: modules/hivemq.md
53+
- K3s: modules/k3s.md
5354
- Kafka: modules/kafka.md
5455
- Localstack: modules/localstack.md
5556
- MariaDB: modules/mariadb.md

0 commit comments

Comments
 (0)