Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
0ec8926
adding the status enabled green disabled red
pavansaikrishna78 Jul 26, 2025
c49866b
adding the libraries
pavansaikrishna78 Jul 27, 2025
d5c4838
Merge branch 'kubernetes:master' into main
pavansaikrishna78 Jul 28, 2025
f7e156a
adding the changes for the code using table writer
pavansaikrishna78 Jul 29, 2025
f9911ee
Merge branch 'kubernetes:master' into main
pavansaikrishna78 Jul 29, 2025
1e621d9
adding the change for the disabled
pavansaikrishna78 Jul 29, 2025
c869070
adding the changes for the table
pavansaikrishna78 Jul 29, 2025
be1ccb3
Merge branch 'kubernetes:master' into main
pavansaikrishna78 Jul 31, 2025
a67df35
making the while for disabled and enabled green in addons list and ma…
pavansaikrishna78 Jul 31, 2025
4e2b4d6
Merge branch 'kubernetes:master' into main
pavansaikrishna78 Aug 10, 2025
cc55573
Merge branch 'kubernetes:master' into main
pavansaikrishna78 Aug 11, 2025
72ab938
CI: fix PR update titles missing version (#21176)
medyagh Jul 28, 2025
a0ee385
Fix french translation
jeffmaury Jul 28, 2025
682f216
iso: Enable VirtioFS for x86_64 and aarch64 (#21147)
nirs Jul 28, 2025
c94a035
adding the changes for the code using table writer
pavansaikrishna78 Jul 29, 2025
a299376
Build(deps): Bump libvirt.org/go/libvirt from 1.11004.0 to 1.11005.0 …
dependabot[bot] Jul 28, 2025
abfcf50
vfkit: Extract isoPath() helper (#21111)
nirs Jul 28, 2025
39cdd4e
get dep version fix (#21182)
medyagh Jul 28, 2025
e197cdb
site: Update node from 20.19.3 to 20.19.4 (#21184)
minikube-bot Jul 28, 2025
aa1d306
gomod: remove replace for k8s.io/cluster-bootstrap (#21187)
medyagh Jul 29, 2025
f8cbf65
hack: Rename module to k8s.io/minikube/hack (#21141)
nirs Jul 29, 2025
1c75f09
adding the change for the disabled
pavansaikrishna78 Jul 29, 2025
af8965c
adding the changes for the table
pavansaikrishna78 Jul 29, 2025
1a4c236
Update Headlamp's workflow go version (#21136)
joaquimrocha Jul 29, 2025
d6c138d
ci: use authenticated github when possible (#21189)
medyagh Jul 30, 2025
3fb31d2
Add --disable-coredns-log flag (#20992)
sugymt Jul 30, 2025
5b327c6
Update auto-generated docs and translations (#21202)
minikube-bot Jul 30, 2025
2782232
add site public to git ignore (#21203)
medyagh Jul 30, 2025
6d08382
Kicbase/ISO: Update crun from 1.19 to 1.23 (#21198)
minikube-bot Jul 30, 2025
bafddd7
remove license binary from git repo (#21204)
medyagh Jul 30, 2025
07a6adf
making the while for disabled and enabled green in addons list and ma…
pavansaikrishna78 Jul 31, 2025
e7be0ca
Updated site/readme.md outdated documentation (#21209)
divysinghvi Jul 31, 2025
81fd1a3
license: don't fail if output dir doesn't exist & download from gith…
medyagh Aug 2, 2025
b3123cd
Update yearly leaderboard (#21216)
minikube-bot Aug 2, 2025
05b4214
ci: skip boilerplate for git submodules (#21214)
medyagh Aug 2, 2025
50a5206
Addon cloud-spanner: Update cloud-spanner-emulator/emulator image fro…
minikube-bot Aug 4, 2025
bdf4b8a
Addon registry: Update registry image from 3.0.0 to 3.0.0 (#21242)
minikube-bot Aug 4, 2025
c86e97c
Site: Update hugo from v0.147.9 to v0.148.2 (#21236)
minikube-bot Aug 4, 2025
141702f
Addon kubevirt: Update bitnami/kubectl image from 1.33.1 to 1.33.3 (#…
minikube-bot Aug 4, 2025
4549d5a
Update go-github from v73.0.0 to v74.0.0 (#21234)
minikube-bot Aug 4, 2025
09954f8
Addon Headlamp: Update Headlamp image from v0.28.0 to v0.34.0 (#21238)
minikube-bot Aug 4, 2025
de65488
Kicbase: Bump ubuntu:jammy from 20250415.1 to 20250714 (#21233)
minikube-bot Aug 4, 2025
d5b82d4
HA (multi-control plane): Update kube-vip from v0.9.2 to v1.0.0 (#21228)
minikube-bot Aug 4, 2025
a97c4bb
CI: Update gh from 2.74.2 to 2.76.2 (#21227)
minikube-bot Aug 4, 2025
ddd84cd
Addon nvidia-device-plugin: Update nvidia/k8s-device-plugin image fro…
minikube-bot Aug 4, 2025
8b9b2f8
Addon kong: Update kong image from 3.9.1 to 3.9.1 (#21229)
minikube-bot Aug 4, 2025
9239d53
Addon inspektor-gadget: Update inspektor-gadget image from v0.42.0 to…
minikube-bot Aug 4, 2025
ac958c8
update Kubernetes versions list (#21222)
minikube-bot Aug 4, 2025
4a4d9dc
CNI: Update cilium from v1.17.5 to v1.18.0 (#21226)
minikube-bot Aug 4, 2025
da24e20
update image constants for kubeadm images (#21221)
minikube-bot Aug 4, 2025
0b229e2
Addon ingress: Update ingress-nginx/controller image from v1.12.3 to …
minikube-bot Aug 5, 2025
73142e1
ci: update all with go (#21213)
medyagh Aug 5, 2025
caa7cb3
CI: remove not needed replaces in gomod and add automation (#21212)
medyagh Aug 5, 2025
de27fa6
add site_node_version to not supported before after version (#21247)
medyagh Aug 5, 2025
72f6c15
Refactor spinner library & hide sub steps after spinning (#21215)
medyagh Aug 5, 2025
42ed020
Kicbase/ISO: Update docker from 28.3.2 to 28.3.3 (#21248)
minikube-bot Aug 6, 2025
d2d611c
Fix minikube load on windows (#20529) (#20921)
james-world Aug 7, 2025
c8e51ae
Add support to docker runtime for OCI access to NVIDIA GPUs (#20959)
aaron-nall Aug 7, 2025
967eca4
Update auto-generated docs and translations (#21260)
minikube-bot Aug 7, 2025
582ee8c
UI: do not show "create github issue" twice if kubeadm init fails (#2…
medyagh Aug 9, 2025
2528dda
gitignore: Ignore test/integration/licenses (#21267)
nirs Aug 9, 2025
05d7680
gitignore: Ignore also .zed directory (#21270)
nirs Aug 9, 2025
e19e1b0
drivers: Extract drivers/common package (#21266)
nirs Aug 9, 2025
19b487f
Enable version checking for previously unsupported components (#21265)
laxman-gupta1006 Aug 9, 2025
27bb90b
improve docker service reliability, update docker systemd files (#21174)
ComradeProgrammer Aug 9, 2025
61724a6
CNI: Update flannel from v0.27.0 to v0.27.2 (#21230)
minikube-bot Aug 9, 2025
c770281
Merge branch 'main' of https://github.com/pavansaikrishna78/minikube
pavansaikrishna78 Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions cmd/minikube/cmd/config/addons_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
"k8s.io/minikube/pkg/minikube/out"
"k8s.io/minikube/pkg/minikube/reason"
"k8s.io/minikube/pkg/minikube/style"
"k8s.io/minikube/pkg/minikube/constants"
)

var addonListOutput string
Expand Down Expand Up @@ -107,7 +108,7 @@ var printAddonsList = func(cc *config.ClusterConfig, printDocs bool) {
if cc == nil {
tHeader = []string{"Addon Name", "Maintainer"}
} else {
tHeader = []string{"Addon Name", "Profile", "Status", "Maintainer"}
tHeader = []string{"Addon Name", "Enabled", "Maintainer"}
}
if printDocs {
tHeader = append(tHeader, "Docs")
Expand All @@ -127,11 +128,17 @@ var printAddonsList = func(cc *config.ClusterConfig, printDocs bool) {
if docs == "" {
docs = "n/a"
}

if cc == nil {
temp = []string{addonName, maintainer}
} else {
enabled := addonBundle.IsEnabled(cc)
temp = []string{addonName, cc.Name, fmt.Sprintf("%s %s", stringFromStatus(enabled), iconFromStatus(enabled)), maintainer}
if enabled{
status := fmt.Sprintf("%s%s%s", constants.Enabled, iconFromStatus(enabled), constants.Default)
temp = []string{fmt.Sprintf("%s%s%s", constants.Enabled, addonName, constants.Default),status, fmt.Sprintf("%s%s%s", constants.Enabled, maintainer, constants.Default)}
}else{
temp = []string{addonName,"",maintainer}
}
}
if printDocs {
temp = append(temp, docs)
Expand Down
89 changes: 67 additions & 22 deletions cmd/minikube/cmd/config/profile_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package config

import (
Expand All @@ -23,6 +22,7 @@ import (
"strconv"
"strings"

"k8s.io/klog/v2"
"k8s.io/minikube/pkg/minikube/cluster"
"k8s.io/minikube/pkg/minikube/config"
"k8s.io/minikube/pkg/minikube/constants"
Expand All @@ -37,8 +37,6 @@ import (
"github.com/olekukonko/tablewriter"
"github.com/olekukonko/tablewriter/tw"
"github.com/spf13/cobra"

"k8s.io/klog/v2"
)

var (
Expand Down Expand Up @@ -73,21 +71,17 @@ func listProfiles() (validProfiles, invalidProfiles []*config.Profile, err error
} else {
validProfiles, invalidProfiles, err = config.ListProfiles()
}

return validProfiles, invalidProfiles, err
}

func printProfilesTable() {
validProfiles, invalidProfiles, err := listProfiles()

if err != nil {
klog.Warningf("error loading profiles: %v", err)
}

if len(validProfiles) == 0 {
exit.Message(reason.UsageNoProfileRunning, "No minikube profile was found.")
}

updateProfilesStatus(validProfiles)
renderProfilesTable(profilesToTableData(validProfiles))
warnInvalidProfiles(invalidProfiles)
Expand All @@ -100,13 +94,11 @@ func updateProfilesStatus(profiles []*config.Profile) {
}
return
}

api, err := machine.NewAPIClient()
if err != nil {
klog.Errorf("failed to get machine api client %v", err)
}
defer api.Close()

for _, p := range profiles {
p.Status = profileStatus(p, api).StatusName
}
Expand All @@ -127,9 +119,7 @@ func profileStatus(p *config.Profile, api libmachine.API) cluster.State {
},
}
}
clusterStatus := cluster.GetState(statuses, ClusterFlagValue(), p.Config)

return clusterStatus
return cluster.GetState(statuses, ClusterFlagValue(), p.Config)
}

func renderProfilesTable(ps [][]string) {
Expand Down Expand Up @@ -166,9 +156,8 @@ func profilesToTableData(profiles []*config.Profile) [][]string {
cpIP = cp.IP
cpPort = cp.Port
}

k8sVersion := p.Config.KubernetesConfig.KubernetesVersion
if k8sVersion == constants.NoKubernetesVersion { // for --no-kubernetes flag
if k8sVersion == constants.NoKubernetesVersion {
k8sVersion = "N/A"
}
var c, k string
Expand All @@ -179,11 +168,70 @@ func profilesToTableData(profiles []*config.Profile) [][]string {
k = "*"
}
if isDetailed {
data = append(data, []string{p.Name, p.Config.Driver, p.Config.KubernetesConfig.ContainerRuntime,
cpIP, strconv.Itoa(cpPort), k8sVersion, p.Status, strconv.Itoa(len(p.Config.Nodes)), c, k})
if p.Status == "OK" {
data = append(data, []string{
fmt.Sprintf("%s%s%s", constants.Enabled, p.Name, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Config.Driver, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Config.KubernetesConfig.ContainerRuntime, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, cpIP, constants.Default),
fmt.Sprintf("%s%d%s", constants.Enabled, cpPort, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, k8sVersion, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Status, constants.Default),
fmt.Sprintf("%s%d%s", constants.Enabled, len(p.Config.Nodes), constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, c, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, k, constants.Default),
})
} else if p.Status == "Broken" || p.Status == "Error"{
data = append(data, []string{
fmt.Sprintf("%s%s%s", constants.Disabled, p.Name, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Config.Driver, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Config.KubernetesConfig.ContainerRuntime, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, cpIP, constants.Default),
fmt.Sprintf("%s%d%s", constants.Disabled, cpPort, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, k8sVersion, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Status, constants.Default),
fmt.Sprintf("%s%d%s", constants.Disabled, len(p.Config.Nodes), constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, c, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, k, constants.Default),
})
} else {
data = append(data, []string{
p.Name, p.Config.Driver, p.Config.KubernetesConfig.ContainerRuntime,
cpIP, strconv.Itoa(cpPort), k8sVersion, p.Status,
strconv.Itoa(len(p.Config.Nodes)), c, k,
})
}
} else {
data = append(data, []string{p.Name, p.Config.Driver, p.Config.KubernetesConfig.ContainerRuntime,
cpIP, k8sVersion, p.Status, strconv.Itoa(len(p.Config.Nodes)), c, k})
if p.Status == "OK"{
data = append(data, []string{
fmt.Sprintf("%s%s%s", constants.Enabled, p.Name, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Config.Driver, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Config.KubernetesConfig.ContainerRuntime, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, cpIP, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, k8sVersion, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, p.Status, constants.Default),
fmt.Sprintf("%s%d%s", constants.Enabled, len(p.Config.Nodes), constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, c, constants.Default),
fmt.Sprintf("%s%s%s", constants.Enabled, k, constants.Default),
})
}else if p.Status == "Broken" || p.Status == "Error"{
data = append(data, []string{
fmt.Sprintf("%s%s%s", constants.Disabled, p.Name, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Config.Driver, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Config.KubernetesConfig.ContainerRuntime, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, cpIP, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, k8sVersion, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, p.Status, constants.Default),
fmt.Sprintf("%s%d%s", constants.Disabled, len(p.Config.Nodes), constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, c, constants.Default),
fmt.Sprintf("%s%s%s", constants.Disabled, k, constants.Default),
})
} else{
data = append(data, []string{
p.Name, p.Config.Driver, p.Config.KubernetesConfig.ContainerRuntime,
cpIP, k8sVersion, p.Status, strconv.Itoa(len(p.Config.Nodes)), c, k,
})
}
}
}
return data
Expand All @@ -193,12 +241,10 @@ func warnInvalidProfiles(invalidProfiles []*config.Profile) {
if invalidProfiles == nil {
return
}

out.WarningT("Found {{.number}} invalid profile(s) ! ", out.V{"number": len(invalidProfiles)})
for _, p := range invalidProfiles {
out.ErrT(style.Empty, "\t "+p.Name)
}

out.ErrT(style.Tip, "You can delete them using the following command(s): ")
for _, p := range invalidProfiles {
out.Errf("\t $ minikube delete -p %s \n", p.Name)
Expand All @@ -208,8 +254,7 @@ func warnInvalidProfiles(invalidProfiles []*config.Profile) {
func printProfilesJSON() {
validProfiles, invalidProfiles, err := listProfiles()
updateProfilesStatus(validProfiles)

var body = map[string]interface{}{}
body := map[string]interface{}{}
if err == nil || config.IsNotExist(err) {
body["valid"] = profilesOrDefault(validProfiles)
body["invalid"] = profilesOrDefault(invalidProfiles)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ require (
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/fgprof v0.9.3 // indirect
github.com/felixge/fgprof v0.9.5 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fvbommel/sortorder v1.1.0 // indirect
Expand Down
17 changes: 16 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,15 @@ github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL
github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
github.com/cheggaaa/pb/v3 v3.1.7 h1:2FsIW307kt7A/rz/ZI2lvPO+v3wKazzE4K/0LtTWsOI=
github.com/cheggaaa/pb/v3 v3.1.7/go.mod h1:/Ji89zfVPeC/u5j8ukD0MBPHt2bzTYp74lQ7KlgFWTQ=
github.com/chromedp/cdproto v0.0.0-20230802225258-3cf4e6d46a89/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs=
github.com/chromedp/chromedp v0.9.2/go.mod h1:LkSXJKONWTCHAfQasKFUZI+mxqS4tZqhmtGzzhLsnLs=
github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moAV0xufSww=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ=
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cloudevents/sdk-go/v2 v2.16.0 h1:wnunjgiLQCfYlyo+E4+mFlZtAh7pKn7vT8MMD3lSwCg=
github.com/cloudevents/sdk-go/v2 v2.16.0/go.mod h1:5YWqklyhDSmGzBK/JENKKXdulbPq0JFf3c/KEnMLqgg=
Expand Down Expand Up @@ -814,8 +820,9 @@ github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/felixge/fgprof v0.9.3 h1:VvyZxILNuCiUCSXtPtYmmtGvb65nqXh2QFWc0Wpf2/g=
github.com/felixge/fgprof v0.9.3/go.mod h1:RdbpDgzqYVh/T9fPELJyV7EYJuHB55UTEULNun8eiPw=
github.com/felixge/fgprof v0.9.5 h1:8+vR6yu2vvSKn08urWyEuxx75NWPEvybbkBirEpsbVY=
github.com/felixge/fgprof v0.9.5/go.mod h1:yKl+ERSa++RYOs32d8K6WEXCB4uXdLls4ZaZPpayhMM=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
Expand Down Expand Up @@ -878,6 +885,9 @@ github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1v
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
github.com/gobwas/ws v1.2.1/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY=
github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
Expand Down Expand Up @@ -986,6 +996,7 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg=
github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
Expand Down Expand Up @@ -1062,6 +1073,7 @@ github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w=
github.com/ianlancetaylor/demangle v0.0.0-20230524184225-eabc099b10ab/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw=
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0 h1:nHoRIX8iXob3Y2kdt9KsjyIb7iApSvb3vgsd93xb5Ow=
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0/go.mod h1:c1tRKs5Tx7E2+uHGSyyncziFjvGpgv4H2HrqXeUQ/Uk=
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
Expand Down Expand Up @@ -1139,6 +1151,7 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs=
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0=
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
Expand Down Expand Up @@ -1250,6 +1263,7 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug=
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
github.com/otiai10/copy v1.14.1 h1:5/7E6qsUMBaH5AnQ0sSLzzTg1oTECmcCmT6lvF45Na8=
github.com/otiai10/copy v1.14.1/go.mod h1:oQwrEDDOci3IM8dJF0d8+jnbfPDllW6vUjNc3DoZm9I=
github.com/otiai10/mint v1.6.3 h1:87qsV/aw1F5as1eH1zS/yqHY85ANKVMgkDrf9rcxbQs=
Expand Down Expand Up @@ -1740,6 +1754,7 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand Down
7 changes: 6 additions & 1 deletion pkg/minikube/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,13 @@ const (
TestDiskAvailableEnv = "MINIKUBE_TEST_AVAILABLE_STORAGE"
// MinikubeRootlessEnv is used to force Rootless Docker/Podman driver
MinikubeRootlessEnv = "MINIKUBE_ROOTLESS"

// scheduled stop constants
Enabled = "\033[32m"

Default = "\033[0m"

Disabled = "\033[31m"

// ScheduledStopEnvFile is the environment file for scheduled-stop
ScheduledStopEnvFile = "/var/lib/minikube/scheduled-stop/environment"
Expand Down