shdctl command-line tool
Manage Self-Hosted Deployment releases on customer-operated Kubernetes clusters with the shdctl command-line tool
阅读时间2 分钟最后更新于 10 小时前
shdctl is the Unity command-line tool that manages Self-Hosted Deployment (SHD) releases on customer-operated Kubernetes clusters. It renders Helm chart values from a single file. It can also pull release archives from the Unity registry, mirror images and ORAS artifacts to your registry, generate Kubernetes Secret manifests, and deploy to your cluster.
manifest.yamlshdctl has one required operation and several optional ones. You decide how much of the deployment lifecycle shdctl runs and how much your CI handles.
Required: render Helm chart values from your :
manifest.yamlshdctl release generate
manifest.yamlshdctl release generatemaxReplicas < minReplicasEverything else is optional and can be replaced by your CI, GitOps controller, or operator workflow.
I want shdctl to... | Command |
|---|---|
| Render Helm charts from my manifest (required) | |
| Check my cluster meets the prerequisites | |
| Pull the release archive from Unity's registry | |
| Mirror images and ORAS artifacts to my registry | |
| Check my registry holds what my manifest needs | |
| Render Kubernetes Secret manifests | |
| Apply secrets to my cluster | |
| Rebuild my secrets import file from a running cluster | |
| Deploy charts (helm or argocd) | |
The recommended path uses shdctl in CI to render charts and commits them to Git so ArgoCD deploys. Other ways to use shdctl covers the alternatives.
The three usage modes combine these operations differently for different security postures. Refer to Architecture and security for the complete trust boundary overview.