astroctl_infra_kubernetes
astroctl infra kubernetes
Manage Kubernetes clusters
Synopsis
Manage Kubernetes clusters. Supports file-based and stdin input methods, with flexible credential options via environment variables.
astroctl infra kubernetes [flags]
Examples
# Get all clusters
astroctl infra k8s get
# Apply cluster configuration from file
astroctl infra k8s apply -f cluster.yaml
# Upgrade Kubernetes version
astroctl infra k8s upgrade my-cluster --list-versions # See available versions
astroctl infra k8s upgrade my-cluster 1.30 # Upgrade to 1.30
# Scale a node group
astroctl infra k8s scale my-cluster --list # See available node groups
astroctl infra k8s scale my-cluster ng-1 --min 3 --max 10
# Update cluster via YAML (provider-specific, complex changes)
astroctl infra k8s update my-cluster --example # Show YAML examples
astroctl infra k8s update my-cluster -f update.yaml
# Manage kubeconfig
astroctl infra k8s set-context my-cluster
astroctl infra k8s generate-kubeconfig my-cluster
# View operation progress
astroctl infra k8s progress stream my-cluster
Options
-h, --help help for kubernetes
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl infra - Manage infrastructure resources
- astroctl infra kubernetes apply - Apply the cluster configurations to create a new cluster
- astroctl infra kubernetes cancel - Cancel an in-progress cluster operation
- astroctl infra kubernetes delete - Delete a k8s cluster
- astroctl infra kubernetes delete-context - Delete the context for the cluster
- astroctl infra kubernetes generate-kubeconfig - Generate kubeconfig for Kubernetes clusters
- astroctl infra kubernetes get - Get information about clusters
- astroctl infra kubernetes get-context - Get the context for the cluster
- astroctl infra kubernetes progress - Cluster progress and operations tracking
- astroctl infra kubernetes register - Register an existing Kubernetes cluster
- astroctl infra kubernetes rollback - Rollback cluster to a previous Kubernetes version
- astroctl infra kubernetes scale - Scale a node group
- astroctl infra kubernetes set-context - Set the context for Kubernetes clusters
- astroctl infra kubernetes spec - Get the original specification of a cluster
- astroctl infra kubernetes sync - Sync cluster authentication configuration
- astroctl infra kubernetes unregister - Unregister a cluster from the platform
- astroctl infra kubernetes update - Update cluster configuration via YAML
- astroctl infra kubernetes upgrade - Upgrade cluster Kubernetes version