You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(k8s): configurable k8s context setting and conditional minikube autostart #172
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new function
Implement configurable Kubernetes cluster context setting (k8s.context) across devops-cli configuration and CLI commands.
Requirements & Behavior
Configurable K8s Context Setting (k8s.context):
Add k8s.context setting to configuration schema, config.yaml, config.example.yaml, options, and environment mapping (DEVOPS_CLI_K8S_CONTEXT).
Support reading and updating k8s.context via devops config get/set/show.
Conditional Minikube Autostart:
When configured context is minikube (default), Minikube autostarts if stopped.
When configured context is a different Kubernetes cluster (e.g. cloud or remote cluster), do NOT autostart Minikube unless explicitly enabled via environment variable (DEVOPS_MINIKUBE_AUTOSTART=true or DEVOPS_K8S_AUTOSTART_MINIKUBE=true).
Remove hardcoded "DEVOPS_MINIKUBE_AUTOSTART": "true" from .devcontainer/devcontainer.json and devcontainer templates to prevent overriding user context preferences.
Context Switching Autostart:
When switching context to minikube (devops k8s switch-context minikube), automatically start Minikube if it is not currently running.
Update k8s.context configuration to maintain synchronization with active kubectl context.
Comprehensive Test-First Coverage:
Validate context setting persistence, retrieval, conditional autostart, and switch-context behaviors.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new function
Activity
docs(k8s): document minikube devcontainer lifecycle and external clus…
fix(k8s): resolve copilot review findings for context validation and …
test(k8s): update qdrant secret lifecycle assertion for effective con…
feat(k8s): configurable k8s context setting and conditional minikube …
dan-petty commentedon Sep 12, 2026
Resolved and delivered in PR #174 (commit 298ca2b).
feat(release): v0.2.17 (#162)