Every change is reviewable
Output is sorted, deterministic and split into one file per resource, so a pull request diff is the change the cluster receives.
rendered/. You commit that output, so every pull request shows what changes in which cluster.brew install --cask mykso/tap/myksnix profile install github:mykso/myksyay -S myks-bindocker pull ghcr.io/mykso/myks:latestA pull request adds resource limits to a prototype's Helm values and raises the replica count in production. myks render writes the result for every cluster, so reviewers see what each one will receive. The diffs are real output from examples/simple.
You change 2 files changed, +7 −1
@@ -9,3 +9,9 @@ securityContext: runAsNonRoot: true runAsUser: 1000replicaCount: 1resources: requests: cpu: 50m memory: 64Mi limits: memory: 128Mi@@ -1,2 +1,2 @@---replicaCount: #@ 1 + 1replicaCount: 3Reviewers see
1 file changed, +6 −1
@@ -37,5 +37,10 @@ spec: path: / port: http resources: {} resources: limits: memory: 128Mi requests: cpu: 50m memory: 64Mi securityContext: allowPrivilegeEscalation: false1 file changed, +7 −2
@@ -10,5 +10,5 @@ metadata: name: httpbingospec: replicas: 2 replicas: 3 selector: matchLabels:@@ -37,5 +37,10 @@ spec: path: / port: http resources: {} resources: limits: memory: 128Mi requests: cpu: 50m memory: 64Mi securityContext: allowPrivilegeEscalation: falseHelm charts, Git repositories and plain YAML go in; plain manifests come out, committed next to the configuration that produced them.
Environments are directories under envs/, and each inherits the data values of every directory above it. A grouping level such as prod/ holds what all production clusters share. myks render prod renders both production clusters, myks render prod/eu only one.
envs/env-data.ytt.yamldefaults for everythingprod/env-data.ytt.yamlproduction defaultseu/env-data.ytt.yamlenvironment.id: prod-euus/env-data.ytt.yamlenvironment.id: prod-usstaging/grouping level, renders nothingeu/env-data.ytt.yamlenvironment.id: staging-euenvs/env-data.ytt.yamldefaults for everythingprod/env-data.ytt.yamlproduction defaultseu/env-data.ytt.yamlenvironment.id: prod-euus/env-data.ytt.yamlenvironment.id: prod-usstaging/grouping level, renders nothingeu/env-data.ytt.yamlenvironment.id: staging-euenvs/env-data.ytt.yamldefaults for everythingprod/env-data.ytt.yamlproduction defaultseu/env-data.ytt.yamlenvironment.id: prod-euus/env-data.ytt.yamlenvironment.id: prod-usstaging/grouping level, renders nothingeu/env-data.ytt.yamlenvironment.id: staging-euOutput is sorted, deterministic and split into one file per resource, so a pull request diff is the change the cluster receives.
Environments form a directory tree that inherits from its parents, and applications are instances of reusable prototypes.
ytt overlays modify the rendered output of a chart for one application, one prototype, or every application of an environment.
Smart Mode renders only the applications your changes affect, and applications render in parallel.
Generates an Application per application, plus an AppProject and a cluster Secret per environment.
myks inspect apps --provenance names the file that sets every final value; --redundant reports overrides that change nothing.
myks rendermyks initmyks inspectmyks cleanupmyks migrate