Comments (5)
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.
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:
- 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 - skycfg
This is stripe's answer to the same problem of generating k8s resources - 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.
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.
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.
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)
- Secret claims
- Name configMaps after a path in Nix store, just likeyou do for docker images HOT 2
- Flaky tests HOT 7
- Loading custom resource definitions from yaml HOT 3
- using 'kubernetes.imports' in a module results in an error HOT 2
- Support for efficient copy of multiple docker images using skopeo HOT 1
- Implement more examples HOT 1
- code-server: fix vscode-vim extension
- Rejuventate with kustomize White Box Application concept HOT 4
- my first epic
- How to override a generated kubernetes definition value type? HOT 3
- extensions vim unable to install, open in Vim not work;
- kubernetes 1.22 support? HOT 1
- installation instructions? usage? HOT 6
- Wrong version for ClusterRoleBinding HOT 3
- feedback HOT 4
- Kubenix refactoring HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubenix.