# K3s

Since testcontainers-python <a href="https://github.com/testcontainers/testcontainers-python/releases/tag/v4.6.0"><span class="tc-version">:material-tag: v4.6.0</span></a>

## Introduction

The Testcontainers module for K3s.

## Adding this module to your project dependencies

Please run the following command to add the K3s module to your python dependencies:

```bash
pip install testcontainers[k3s] kubernetes pyyaml
```

## Usage example

<!--codeinclude-->

[Creating a K3s container](../../modules/k3s/example_basic.py)

<!--/codeinclude-->
