Kina - Kubernetes in Azure
Inspired by kind, Kina aims to spawn Kubernetes clusters in Azure and add them to your local kubectl config with minimal fuss.
Installation
Kina is managed via uv. While tools like pip or pipx may work, only uv is officially supported.
$ uv tool install kina
If this is your first time using uv, make sure it's tools directory is in your PATH, e.g. ~/.local/bin.
Usage
Create an AKS Cluster
$ kina create
This creates a Kubernetes cluster in uksouth using the latest version and sensible defaults for local development. You can override the location with the --location flag:
Create Multiple VNet-Peered AKS Clusters
To test multi-cluster service meshes (e.g. Linkerd, Istio) or eBPF-based solutions like Cilium, you can spawn multiple VNet-peered clusters:
$ kina create --locations="uksouth,ukwest,northeurope,westeurope"
Kina assigns IP ranges as follows:
- Virtual Network CIDR:
10.0.0.0/16 - Pod CIDR:
10.1.0.0/16 - Service CIDR:
10.2.0.0/16
Subsequent locations increment accordingly:
- Virtual Network CIDR:
10.3.0.0/16 - Pod CIDR:
10.4.0.0/16 - Service CIDR:
10.5.0.0/16
And so on.
Listing Kina Instances
List your Kina clusters with: $ kina list
You can specify output formats using --output, e.g. table, json, or names.
$ kina list
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Name ┃ Location(s) ┃ Created By ┃ Created At ┃ Status ┃
┡━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ kina-1eoyoe │ uksouth │ example@example.onmicrosoft.com │ 2025-05-12 16:12:19 │ Creating │
└─────────────┴─────────────┴─────────────────────────────────┴─────────────────────┴──────────┘
$ kina list -o json
[
{
"name": "kina-1eoyoe",
"locations": "uksouth",
"created_by": "example@example.onmicrosoft.com"
}
]
$ kina list -o names
kina-1eoyoe
FAQs
Q: Sometimes I get a DNS lookup failure, e.g. Unable to connect to the server: dial tcp: lookup kina-277rtg-uksouth-ey6vbz58.hcp.uksouth.azmk8s.io: no such host:
A: Because we create the AKS Clusters asynchronously, sometimes we've actually configured kubectl before Microsoft has published a DNS record for the cluster. Wait a few minutes and try again.
Metadata
Release files for kina 1.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kina-1.4.5.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kina-1.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.1 kB
Release files / kina-1.4.5.tar.gz
| Download URL | kina-1.4.5.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92fcaa539bf8836cba5caa9839daf9929a0bb828da6402a3a44a9363421bfecd
|
|
BLAKE2b-256 checksum How to use checksums |
436b3d0af2c787e18e9955ec78165079795efb1096ce9769e4cd34332b839002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / kina-1.4.5-py3-none-any.whl
| Download URL | kina-1.4.5-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9a3613c1224e295b27f420ded26d52a9688e55468eb0c9824d884680b4fee97
|
|
BLAKE2b-256 checksum How to use checksums |
17d93dd34bb57bf9926fa0ad7ec101a8151e999a56b0fd369bc7741c84d86566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|