feat: Add Kubernetes service management integration to CLI with fallback to API client

- Add k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go v0.31.0 dependencies to go.mod
- Add kubernetes.NewServiceManager integration to listServices with fallback to API client
- Add Replicas column to services table showing available/total replicas
- Add kubernetes.GetServiceStatus integration to showServiceStatus with fallback to API client
- Add Replicas field to service status display
- Add kubernetes.RestartDeployment integration to restartService
This commit is contained in:
nutcas3
2026-04-25 06:29:23 +03:00
parent a54c0951f1
commit 57e7d9c258
2 changed files with 209 additions and 62 deletions
+3
View File
@@ -8,6 +8,9 @@ require (
github.com/charmbracelet/lipgloss v1.1.0
github.com/spf13/viper v1.21.0
github.com/stretchr/testify v1.11.1
k8s.io/api v0.31.0
k8s.io/apimachinery v0.31.0
k8s.io/client-go v0.31.0
)
require (