制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Nyl is a fast Kubernetes manifest generator built in Rust, with Helm-based components, remote manifest support, cluster-aware rendering, and Kubernetes GitOps output.
Everything Nyl does is declared in Git, and every command takes the same path over those declarations: a render on a laptop while bootstrapping a cluster is the render CI publishes for Argo CD.
RemoteManifest resources for HTTPS-hosted YAML/JSONrender, diff, and apply commandskubectlInstall with mise:
[tools."github:NiklasRosenstein/nyl"]
version = "0.4.1"
version_prefix = "v"
mise install
nyl init platform --minimal
cd platform
git init
nyl create repository deploy --repo-url https://example.invalid/deploy.git
nyl create cluster dev --context kind-kind
nyl capture cluster dev
nyl create target dev
nyl render --target dev apps.yaml
apiVersion: components.k8s.nyl/v1
kind: example/v1/Nginx
metadata:
name: my-nginx
namespace: default
spec:
replicas: 3
image: nginx:1.25
Render:
nyl render examples/components/manifests/nginx.yaml --kube-version 1.30.0 --kube-api-versions v1
apiVersion: k8s.nyl/v1
kind: RemoteManifest
metadata:
name: shared-crds
spec:
url: https://example.com/platform/crds.yaml
The published image is a shell-friendly rendering environment with no fixed entrypoint:
render:
image: ghcr.io/niklasrosenstein/nyl:TAG
script:
- nyl render-tree --target production --output-dir deploy
nyl/: main Rust crate and CLIdocker/: CI rendering imageexamples/: runnable examplesMIT (see LICENSE).