Kubernetes management with Nix https://kubenix.org/
Find a file
2022-08-13 00:09:36 -04:00
.github/workflows only x86_64-linux 2022-04-02 14:41:57 -07:00
.vscode update contributing guide and format repo 2022-08-11 23:41:33 -04:00
docs docs reset 2022-08-11 23:07:20 -04:00
jobs update contributing guide and format repo 2022-08-11 23:41:33 -04:00
lib statix fix 2022-04-02 13:43:57 -07:00
modules update contributing guide and format repo 2022-08-11 23:41:33 -04:00
pkgs init cli, add start of target docs 2022-08-12 09:44:00 -04:00
tests enable some tests 2022-04-02 16:12:17 -07:00
.envrc remove flake-compat and devshell inputs 2022-08-13 00:09:36 -04:00
.gitignore cleanup some misc files 2022-08-12 09:44:26 -04:00
CONTRIBUTING.md remove flake-compat and devshell inputs 2022-08-13 00:09:36 -04:00
flake.lock remove flake-compat and devshell inputs 2022-08-13 00:09:36 -04:00
flake.nix remove flake-compat and devshell inputs 2022-08-13 00:09:36 -04:00
LICENSE feat: add license 2019-03-07 23:30:20 +01:00
README.md remove flake-compat and devshell inputs 2022-08-13 00:09:36 -04:00
treefmt.toml add treefmt 2022-04-02 15:40:44 -07:00

kubenix

Kubernetes resource management with Nix

nixos logo in kubernetes blue

WARN: this is a work in progress, expect breaking changes

Usage

Apply all resources with

nix run github:hall/kubenix . -- apply

HINT: use --help for more commands

A minimal example flake:

{
  inputs.kubenix = "github:hall/kubenix";
  outputs = {self, ...}@inputs: {
    nixosConfigurations.hostname = {
      modules = [ inputs.kubenix.nixosModule ];
    };
    kubernetes.resources.pods."app" = {
      spec.containers."app" = {
        name = "app";
        image = "nginx";
      };
    };
  }
}

Attribution

This project was forked from https://github.com/GTrunSec/kubenix which was forked from https://github.com/xtruder/kubenix.

Logo is a mishmash of the Kubernetes wheel and the NixOs snowflake.