# k8s

> k8s, a magmalake tin: A small Kubernetes client for Mojo: pods, jobs and services created, listed, watched and deleted, and pods' logs, in a pod with its service account or from a kubeconfig.

[magmalake](https://magmalake.dev/) [k8s](https://magmalake.dev/s/k8s)

A small Kubernetes client for Mojo: pods, jobs and services created, listed, watched and deleted, and pods' logs, in a pod with its service account or from a kubeconfig. It is what Orca uses to start a Dista cluster per run.

Install

```
pixi shelf add k8s-mojo
```

Version

`0.1.2` on mojoshelf

Source

[GitHub](https://github.com/magmalake/k8s.mojo) [README](https://github.com/magmalake/k8s.mojo#readme)

## Works today

- Manifests go in as JSON text; objects come back as json values, read with JSON pointers
- A kubeconfig's server, CA, client certificate and key, or a token
- An answer that isn't 2xx raises with the API's own message
- exec and auth-provider users (cloud CLIs) aren't supported: pass a token

Checked against Every call against a live kind cluster in CI

- [xml](https://magmalake.dev/s/xml) pull parser · path queries
- [lint](https://magmalake.dev/s/lint) mojolint · origin and threading mistakes
- [Every tin](https://magmalake.dev/tins)

[A magmalake project](https://magmalake.dev/)

Apache 2.0 · © 2026 Marius Seritan
