Kubernetes Targets
Kubernetes targets enable command execution within pods running in Kubernetes clusters. Xec provides native Kubernetes integration with support for multiple clusters, namespaces, port forwarding, and pod selection strategies.
Basic Configuration
Define Kubernetes pods in the targets.pods
section:
targets:
pods:
frontend:
namespace: production
selector: app=frontend
container: nginx