Giter Club home page Giter Club logo

Comments (5)

pauldub avatar pauldub commented on May 18, 2024 1

No, kubenix allows to describe kubernetes resources such as Deployments, Ingresses, etc.

Althought nixos has support for setting up kubernetes: https://nixos.org/nixos/options.html#kubernetes

from kubenix.

euank avatar euank commented on May 18, 2024 1

I'll add my own "kubenix is like" since hopefully more explanations will help!

The things in the k8s ecosystem that kubenix is most like are the following:

  1. ksonnet / jsonnet
    Those tools are both concerned with generating k8s resources, such as deployments, but doing so in a language that allows importing libraries, reusing config snippets, etc
  2. skycfg
    This is stripe's answer to the same problem of generating k8s resources
  3. A bunch of other tools in this document (thanks brian grant!)

Kubenix is unusual in that it can also use nix's other features to do things like build docker images as well, which most of those other tools don't deal with.

One other thing that may help you would be to read through the example in the repo.

That shows a nix expression that can be evaluated into a kubectl-applyable kubernetes deployment.

One benefit of writing it in nix instead of in yaml directly is that nix is a much safer language (i.e. indentation doesn't matter), it has handy features like functions, the ability to import / reference things, variables, built-in string templating, etc.

from kubenix.

pauldub avatar pauldub commented on May 18, 2024

Kubenix is a nix library that allows to build kubernetes manifests using nix expressions. It allows building abstraction thanks to its module system and integrates with the nix ecosystem.

from kubenix.

hansbogert avatar hansbogert commented on May 18, 2024

Would this be a means to deploy k8s nodes with immutable kubernetes images, e.g., a k8s master? In a way, would this be an alternative, or have overlap with the functionality of kubeadm? (I don't mean overlap in any negative way!, I'm just trying to figure out where this fits)

from kubenix.

hansbogert avatar hansbogert commented on May 18, 2024

Thank you for the answers, this clears up quite a few things. I was approaching this from the underlay/ infrastructure side.

from kubenix.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.