Render the Kubernetes manifests for every cluster you run from one Git repository, and review the exact YAML each change produces before it ships.
Myks (Manage (my) yaml for Kubernetes simply) takes upstream
Helm charts, Git repositories and plain YAML, applies your per-cluster
configuration, and writes plain Kubernetes manifests to a rendered/ directory.
You commit that output. Argo CD, Flux, kapp or kubectl deploy static YAML, and
every pull request shows reviewers what changes in which cluster.
Getting started · Documentation · Why myks · Examples · Slack
You run several clusters. Each needs mostly the same applications, with small differences: a chart version held back in production, more replicas in one region, a label every cluster adds, a fix to an upstream chart that the maintainers have not merged yet. The usual answers are a values file per cluster per chart, a fork of the chart, or a templating layer in front of Argo CD. They share a flaw: nobody sees the manifests that will reach the cluster until they are applied.
Change a value, run myks render, and look at the diff:
$ mkdir -p envs/prod/_apps/httpbingo/helm
$ echo 'replicaCount: 3' > envs/prod/_apps/httpbingo/helm/httpbingo.yaml
$ myks render
$ git diff --stat
rendered/envs/prod/httpbingo/deployment-httpbingo.yaml | 2 +-
$ git diff rendered/
- replicas: 1
+ replicas: 3Only the production cluster changes, and only the one field. Myks found the affected application from the files you touched, so it rendered nothing else.
flowchart LR
subgraph sources [Upstream sources]
H[Helm charts]
G[Git repositories]
R[Release assets / HTTP]
end
subgraph repo [Your Git repository]
P[prototypes/]
E["envs/ (inheritance tree)"]
O["rendered/ (plain YAML)"]
end
sources -- sync --> C[(".myks cache")]
C -- render --> M{{myks}}
P --> M
E --> M
M --> O
O -- commit + review --> D[Argo CD / Flux / kapp]
D --> K[Clusters]
- Every change is reviewable. Output is sorted, deterministic and split into
one file per resource (
deployment-httpbingo.yaml), so a pull request diff is the change the cluster will receive. - Define once, override where needed. Environments form a directory tree (root → group → cluster). Each level inherits from its parents, and applications are instances of reusable prototypes.
- Any upstream source. vendir fetches Helm charts from HTTP and OCI repositories, Git repositories, GitHub releases and plain URLs. A shared cache downloads each source once, even when many applications use it.
- Patch upstream charts without forking them. ytt overlays modify the rendered output of a chart for one application, for one prototype, or for every application of an environment.
- Fast on large fleets. Smart Mode renders only the applications affected by your changes, and applications render in parallel.
- Argo CD built in. Myks generates an
Applicationper application, plus anAppProjectand a clusterSecretper environment (details). - Pinned images. Optional kbld integration resolves image tags to digests and rewrites registries, for mirrors and air-gapped clusters (details).
- Know where each value comes from.
myks inspect apps --provenancenames the file that sets every final value, and--redundantreports overrides that change nothing (details). - Extensible. Any executable named
myks-*becomes a subcommand that runs per application, for deploying with kapp or validating with kubeconform (details). - One binary. ytt, vendir and kbld are built in. Only
helmis an external dependency, and only for Helm charts.
Myks runs in production at scale: one installation renders about 680 Argo CD Applications for 25 clusters from 61 prototypes.
Myks fits when you manage several clusters (or several environments of one) from Git, consume third-party Helm charts or manifests, and want to review rendered output before deploying it.
Myks does not talk to clusters, does not build images, and does not deploy anything by itself. It produces YAML; your GitOps controller or a plugin applies it. See Why myks for a comparison with Helm, Kustomize, Helmfile and Argo CD's own templating.
Install myks and Helm (see Installation for all options):
brew install --cask mykso/tap/myks
brew install helmCreate a project and render it:
mkdir my-gitops && cd my-gitops
git init && git commit --allow-empty -m 'Initial commit'
myks init # scaffolds two environments, dev and prod, with a demo app
myks render # downloads the charts and renders every manifest
find rendered -type fContinue with the Getting started tutorial: it adds a second cluster, overrides a value for it, and patches a chart.
| If you want to | Read |
|---|---|
| Try myks in 10 minutes | Getting started |
| Understand the model | Concepts |
| Do a specific task | Cookbook |
| Run myks in CI | GitOps and CI |
| Look up a command, flag or directory | CLI, Configuration |
| Configure a render step | Helm, ytt, Argo CD, and more |
Everything else is listed in the documentation index.
- zebradil/myks-homelab: single cluster, Argo CD for deployment, sops for secrets.
- kbudde/lab: single cluster, kapp for deployment, sops for secrets.
- examples/ in this repository, with their rendered output.
- Ask questions in GitHub Discussions or in #myks on the Kubernetes Slack (get an invite).
- Report bugs and request features in GitHub Issues.
- Contributions are welcome: see CONTRIBUTING.md.