Linux command
holos 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show the installed version
holos --version
Initialize a new platform
holos init platform [v1alpha5]
Render the whole platform
holos render platform
Render a single component
holos render component [path/to/component]
Render using an alternate platform directory
holos render platform --platform [path/to/platform]
List build plans
holos show buildplans
说明
Holos is a configuration management tool for Kubernetes that implements the rendered manifests pattern. Instead of templating YAML, platforms and their components are described in CUE; holos combines CUE specs with Helm charts and Kustomize overlays and writes the resulting manifests to disk so they can be committed to Git and applied by any GitOps controller (Argo CD, Flux, etc.). A platform consists of a root directory containing cue.mod/ and a generated platform.gen.cue describing a Platform resource. Each component lives in its own directory and exports a BuildPlan that holos render executes. The output is plain Kubernetes YAML under _deploy/_, which makes diffs reviewable and decouples rendering from cluster access.
参数
- --platform _dir_
- Override the default platform directory (_platform/_) used as the rendering entry point.
- --version
- Print the Holos version and exit.
- --help, -h
- Show help for a command.
FAQ
What is the holos command used for?
Holos is a configuration management tool for Kubernetes that implements the rendered manifests pattern. Instead of templating YAML, platforms and their components are described in CUE; holos combines CUE specs with Helm charts and Kustomize overlays and writes the resulting manifests to disk so they can be committed to Git and applied by any GitOps controller (Argo CD, Flux, etc.). A platform consists of a root directory containing cue.mod/ and a generated platform.gen.cue describing a Platform resource. Each component lives in its own directory and exports a BuildPlan that holos render executes. The output is plain Kubernetes YAML under _deploy/_, which makes diffs reviewable and decouples rendering from cluster access.
How do I run a basic holos example?
Run `holos --version` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --platform _dir_ do in holos?
Override the default platform directory (_platform/_) used as the rendering entry point.