cluster

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package cluster provides the "deployah cluster" command group, which manages a single local Kubernetes cluster for development.

It is an opinionated, single-cluster facade over the internal/localkube package: every subcommand operates on one fixed cluster (clusterName), so developers never type a cluster name. The cluster lifecycle is intentionally decoupled from deployah environments; the bridge between "I created a local cluster" and "deployah deploy targets it" is the Kubernetes context (kind-<clusterName>), selectable via the global --context flag or an environment's "context" field.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalKubeconfigPath

func LocalKubeconfigPath() (string, error)

LocalKubeconfigPath returns the path where deployah stores the kubeconfig for the managed local cluster. The file may not exist when no cluster is running.

func Register

func Register(app *nabat.App)

Register adds the "cluster" command group and its subcommands to app.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL