astroctl_infra_kubernetes_addons_apply
astroctl infra kubernetes addons apply
Install or update an add-on from YAML
Synopsis
Install or update a managed add-on from a K8sClusterAddon manifest.
Edit spec.version or configuration and apply the same manifest again to upgrade. Helm and application lifecycle details are managed by Astro.
Add-ons that reach a cloud API (for example external-dns publishing DNS records) run on your cluster and use the cluster's own cloud access. Set that up once with 'astroctl cloud <provider> connect --cluster <name>'; without it the add-on still deploys but cannot reach the cloud. Credentials are never placed in the add-on manifest.
astroctl infra kubernetes addons apply -f <file> [flags]
Examples
# cert-manager.yaml
# apiVersion: platform.astropulse.io/v1
# kind: K8sClusterAddon
# metadata:
# name: cert-manager
# spec:
# clusterName: production
# configuration:
# certManager:
# installCRDs: true
astroctl infra k8s addons apply -f cert-manager.yaml
astroctl infra k8s addons apply -f cert-manager.yaml --dry-run
cat cert-manager.yaml | astroctl infra k8s addons apply -f -
Options
--dry-run Validate without changing the cluster
-f, --file string Add-on manifest file; use '-' for stdin
-h, --help help for apply
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl infra kubernetes addons - Manage Kubernetes cluster add-ons