From 27ac05d034c09495be868c8c098f748514b50364 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:06:56 +0000 Subject: [PATCH 01/11] Bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.20+incompatible to 20.10.21+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md) - [Commits](https://github.com/docker/docker/compare/v20.10.20...v20.10.21) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d496531972..8f78857e52 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/cenkalti/backoff/v4 v4.1.3 github.com/cheggaaa/pb/v3 v3.1.0 github.com/cloudevents/sdk-go/v2 v2.12.0 - github.com/docker/docker v20.10.20+incompatible + github.com/docker/docker v20.10.21+incompatible github.com/docker/go-units v0.5.0 github.com/docker/machine v0.16.2 github.com/elazarl/goproxy v0.0.0-20210110162100-a92cc753f88e diff --git a/go.sum b/go.sum index acb30b7822..9f2812968b 100644 --- a/go.sum +++ b/go.sum @@ -365,8 +365,8 @@ github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6 github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v17.12.0-ce-rc1.0.20181225093023-5ddb1d410a8b+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v17.12.0-ce-rc1.0.20190115220918-5ec31380a5d3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.20+incompatible h1:kH9tx6XO+359d+iAkumyKDc5Q1kOwPuAUaeri48nD6E= -github.com/docker/docker v20.10.20+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.21+incompatible h1:UTLdBmHk3bEY+w8qeO5KttOhy6OmXWsl/FEet9Uswog= +github.com/docker/docker v20.10.21+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.7.0 h1:xtCHsjxogADNZcdv1pKUHXryefjlVRqWqIhk/uXJp0A= github.com/docker/docker-credential-helpers v0.7.0/go.mod h1:rETQfLdHNT3foU5kuNkFR1R1V12OJRRO5lzt2D1b5X0= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= From f9ef43e7b5537e22a5a483145c31b05fb23623e8 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 31 Oct 2022 13:36:22 -0700 Subject: [PATCH 02/11] check size of preload --- pkg/minikube/download/preload.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/download/preload.go b/pkg/minikube/download/preload.go index 1a09ab0bdb..6a60e6e4a7 100644 --- a/pkg/minikube/download/preload.go +++ b/pkg/minikube/download/preload.go @@ -144,7 +144,7 @@ func PreloadExists(k8sVersion, containerRuntime, driverName string, forcePreload // Omit remote check if tarball exists locally targetPath := TarballPath(k8sVersion, containerRuntime) - if _, err := checkCache(targetPath); err == nil { + if f, err := checkCache(targetPath); err == nil && f.Size() != 0 { klog.Infof("Found local preload: %s", targetPath) setPreloadState(k8sVersion, containerRuntime, true) return true @@ -170,7 +170,7 @@ func Preload(k8sVersion, containerRuntime, driverName string) error { return err } - if _, err := checkCache(targetPath); err == nil { + if f, err := checkCache(targetPath); err == nil && f.Size() != 0 { klog.Infof("Found %s in cache, skipping download", targetPath) return nil } From 0f08d6ded21b7fab4a1089af9612e243a47daf3a Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 31 Oct 2022 14:29:21 -0700 Subject: [PATCH 03/11] add test --- pkg/minikube/download/download_test.go | 34 +++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/pkg/minikube/download/download_test.go b/pkg/minikube/download/download_test.go index e126b45321..3ae3731555 100644 --- a/pkg/minikube/download/download_test.go +++ b/pkg/minikube/download/download_test.go @@ -19,6 +19,7 @@ package download import ( "fmt" "io/fs" + "os" "sync" "testing" "time" @@ -35,6 +36,7 @@ func TestDownload(t *testing.T) { t.Run("PreloadNotExists", testPreloadNotExists) t.Run("PreloadChecksumMismatch", testPreloadChecksumMismatch) t.Run("PreloadExistsCaching", testPreloadExistsCaching) + t.Run("PreloadWithCachedSizeZero", testPreloadWithCachedSizeZero) } // Returns a mock function that sleeps before incrementing `downloadsCounter` and creates the requested file. @@ -80,12 +82,20 @@ func testBinaryDownloadPreventsMultipleDownload(t *testing.T) { func testPreloadDownloadPreventsMultipleDownload(t *testing.T) { downloadNum := 0 DownloadMock = mockSleepDownload(&downloadNum) + f, err := os.CreateTemp("", "preload") + if err != nil { + t.Fatalf("failed to create temp file: %v", err) + } + defer os.Remove(f.Name()) + if _, err := f.Write([]byte("data")); err != nil { + t.Fatalf("failed to write to temp file: %v", err) + } checkCache = func(file string) (fs.FileInfo, error) { if downloadNum == 0 { return nil, fmt.Errorf("some error") } - return nil, nil + return os.Stat(f.Name()) } checkPreloadExists = func(k8sVersion, containerRuntime, driverName string, forcePreload ...bool) bool { return true } getChecksum = func(k8sVersion, containerRuntime string) ([]byte, error) { return []byte("check"), nil } @@ -236,3 +246,25 @@ func testPreloadExistsCaching(t *testing.T) { t.Errorf("Expected preload to exist and no check to be performed. Existence: %v, Check: %v", existence, checkCalled) } } + +func testPreloadWithCachedSizeZero(t *testing.T) { + downloadNum := 0 + DownloadMock = mockSleepDownload(&downloadNum) + f, err := os.CreateTemp("", "preload") + if err != nil { + t.Fatalf("failed to create temp file: %v", err) + } + + checkCache = func(file string) (fs.FileInfo, error) { return os.Stat(f.Name()) } + checkPreloadExists = func(k8sVersion, containerRuntime, driverName string, forcePreload ...bool) bool { return true } + getChecksum = func(k8sVersion, containerRuntime string) ([]byte, error) { return []byte("check"), nil } + ensureChecksumValid = func(k8sVersion, containerRuntime, path string, checksum []byte) error { return nil } + + if err := Preload(constants.DefaultKubernetesVersion, constants.Docker, "docker"); err != nil { + t.Errorf("Expected no error with cached preload of size zero") + } + + if downloadNum != 1 { + t.Errorf("Expected only 1 download attempt but got %v!", downloadNum) + } +} From 3568d657ab7230f113ccce2a903ea01e849b775f Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 1 Nov 2022 14:18:43 -0700 Subject: [PATCH 04/11] auto select network on QEMU --- cmd/minikube/cmd/start_flags.go | 33 +++++++++++++++++++++++---------- pkg/minikube/detect/detect.go | 18 ++++++++++++++++++ pkg/minikube/reason/reason.go | 14 ++++++++++++++ 3 files changed, 55 insertions(+), 10 deletions(-) diff --git a/cmd/minikube/cmd/start_flags.go b/cmd/minikube/cmd/start_flags.go index 39c07ea3ea..4fd838fcf8 100644 --- a/cmd/minikube/cmd/start_flags.go +++ b/cmd/minikube/cmd/start_flags.go @@ -463,14 +463,31 @@ func getNetwork(driverName string) string { if !driver.IsQEMU(driverName) { return n } - if n == "" { - if runtime.GOOS == "darwin" { - out.WarningT("The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release") + switch n { + case "socket_vmnet": + if runtime.GOOS != "darwin" { + exit.Message(reason.Usage, "The socket_vmnet network is only supported on macOS") } - n = "user" + if !detect.SocketVMNetInstalled() { + exit.Message(reason.NotFoundSocketVMNet, "\n\n") + } + case "": + if detect.SocketVMNetInstalled() { + n = "socket_vmnet" + } else { + n = "user" + } + out.Styled(style.Internet, "Automatically selected the {{.network}} network", out.V{"network": n}) + case "user": + default: + exit.Message(reason.Usage, "--network with QEMU must be 'user' or 'socket_vmnet'") } - if n == "user" && runtime.GOOS == "darwin" { - out.WarningT("You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` & `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking") + if n == "user" { + msg := "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` & `minikube tunnel` commands." + if runtime.GOOS == "darwin" { + msg += "\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking" + } + out.WarningT(msg) } return n } @@ -489,10 +506,6 @@ func generateNewConfigFromFlags(cmd *cobra.Command, k8sVersion string, rtime str out.WarningT("--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored") } - if driver.IsQEMU(drvName) && viper.GetString(network) == "socket_vmnet" { - out.WarningT("Using qemu with 'socket_vmnet' network is experimental") - } - checkNumaCount(k8sVersion) checkExtraDiskOptions(cmd, drvName) diff --git a/pkg/minikube/detect/detect.go b/pkg/minikube/detect/detect.go index c5910efc59..74b5dc5bd7 100644 --- a/pkg/minikube/detect/detect.go +++ b/pkg/minikube/detect/detect.go @@ -17,6 +17,7 @@ limitations under the License. package detect import ( + "errors" "net/http" "os" "os/exec" @@ -25,7 +26,9 @@ import ( "strings" "github.com/klauspost/cpuid" + "github.com/spf13/viper" "golang.org/x/sys/cpu" + "k8s.io/klog/v2" "k8s.io/minikube/pkg/minikube/localpath" ) @@ -129,3 +132,18 @@ func KICCacheDir() string { func ISOCacheDir() string { return filepath.Join(localpath.MakeMiniPath("cache", "iso"), runtime.GOARCH) } + +// SocketVMNetInstalled returns if socket_vmnet is installed +func SocketVMNetInstalled() bool { + if runtime.GOOS != "darwin" { + return false + } + _, err := os.Stat(viper.GetString("socket-vmnet-path")) + if err == nil { + return true + } + if !errors.Is(err, os.ErrNotExist) { + klog.Warningf("failed to check for socket_vmnet: %v", err) + } + return false +} diff --git a/pkg/minikube/reason/reason.go b/pkg/minikube/reason/reason.go index 6df8f455f8..2068f294d7 100644 --- a/pkg/minikube/reason/reason.go +++ b/pkg/minikube/reason/reason.go @@ -483,4 +483,18 @@ var ( https://docs.docker.com/engine/install/`), Style: style.Docker, } + NotFoundSocketVMNet = Kind{ + ID: "NOT_FOUND_SOCKET_VMNET", + ExitCode: ExProgramNotFound, + Advice: translate.T(`socket_vmnet was not found on the system, resolve by: + + Option 1) Installing socket_vmnet: + + https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking + + Option 2) Using the user network: + + minikube start{{.profile}} --driver qemu --network user`), + Style: style.SeeNoEvil, + } ) From af28fbbfc215ed379e127767ffc49d2334c1350e Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 1 Nov 2022 14:51:39 -0700 Subject: [PATCH 05/11] generate docs --- site/content/en/docs/contrib/errorcodes.en.md | 2 ++ translations/de.json | 8 +++++--- translations/es.json | 8 +++++--- translations/fr.json | 5 +++++ translations/ja.json | 8 +++++--- translations/ko.json | 8 +++++--- translations/pl.json | 8 +++++--- translations/ru.json | 8 +++++--- translations/strings.txt | 8 +++++--- translations/zh-CN.json | 8 +++++--- 10 files changed, 47 insertions(+), 24 deletions(-) diff --git a/site/content/en/docs/contrib/errorcodes.en.md b/site/content/en/docs/contrib/errorcodes.en.md index fe6c9e27d5..135242dec8 100644 --- a/site/content/en/docs/contrib/errorcodes.en.md +++ b/site/content/en/docs/contrib/errorcodes.en.md @@ -443,6 +443,8 @@ minikube was unable to safely downgrade installed Kubernetes version "NOT_FOUND_DOCKERD" (Exit code ExProgramNotFound) +"NOT_FOUND_SOCKET_VMNET" (Exit code ExProgramNotFound) + ## Error Codes diff --git a/translations/de.json b/translations/de.json index db4b24e4ae..2e6b62fc90 100644 --- a/translations/de.json +++ b/translations/de.json @@ -23,6 +23,7 @@ "--kvm-numa-count range is 1-8": "Der Wertebereich für --kvm-numa-count ist 1-8", "--network flag is only valid with the docker/podman and KVM drivers, it will be ignored": "Der Parameter --network kann nur mit dem docker/podman und den KVM Treibern verwendet werden, er wird ignoriert werden", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "1) Erstellen Sie den Cluster mit Kubernetes {{.new}} neu, indem Sie folgende Befehle ausführen:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Erstellen Sie einen zweiten Cluster mit Kubernetes {{.new}}, indem Sie folgende Befehle ausführen:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Verwenden Sie den existierenden Cluster mit Version {{.old}} von Kubernetes, indem Sie folgende Befehle ausführen:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. Klicken Sie auf das \"Docker für Desktop\" Menu Icon\n\t\t\t2. Klicken Sie auf \"Einstellungen\"\n\t\t\t3. Klicken Sie auf \"Resourcen\"\n\t\t\t4. Erhöhen Sie den Wert von \"CPUs\" auf 2 oder mehr\n\t\t\t5. Klicken Sie auf \"Anwenden \u0026 Neustarten\"", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. Klicken Sie auf das \"Docker für Desktop\" Menu Icon\n\t\t\t2. Klicken Sie auf \"Einstellungen\"\n\t\t\t3. Klicken Sie auf \"Resourcen\"\n\t\t\t4. Erhöhen Sie den Wert von \"Speicher\" auf {{.recommend}} oder mehr\n\t\t\t5. Klicken Sie auf \"Anwenden \u0026 Neustarten\"", @@ -72,6 +73,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "Treiber {{.driver}} wurde automatisch ausgewählt", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "Treiber {{.driver}} wurde automatisch ausgewählt. Andere Möglichkeiten: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "Verfügbare Befehle", "Basic Commands:": "Grundlegende Befehle:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Weil Sie einen Docker Treiber auf {{.operating_system}} verwenden, muss das Terminal während des Ausführens offen bleiben.", @@ -694,7 +696,6 @@ "The control plane node must be running for this command": "Der Kontroll-Ebenen-Node muss für diesen Befehl laufen", "The cri socket path to be used": "Der zu verwendende Cri-Socket-Pfad", "The cri socket path to be used.": "Der zu verwendende Cri-Socket-Pfad.", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "Der docker-env Befehl ist inkompatibel mit multi-node Clustern. Bitte verwende das 'registry' Addon: https://minikube.sigs.k8s.io/docs/handbook/registry/", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "Der docker-env Befehl ist nur mit der \"Docker\" Laufzeitsumgebung kompatibel, aber dieser Cluster ist für die\"{{.runtime}}\" Laufzeitumgebung konfiguriert.", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "Der Treiber '{{.driver}}' wird auf {{.os}}/{{.arch}} nicht unterstützt", @@ -738,6 +739,7 @@ "The service namespace": "Der Namespace des Service", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "Der Service/Ingress {{.resource}} benötigt, dass priviligierte Ports verwendet werden können: {{.ports}}", "The services namespace": "Der Namespace des Service", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "Der Zeitintervall für jeden Check, den wait ausführt, in Sekunden", "The value passed to --format is invalid": "Der mit --format angegebene Wert ist ungültig", "The value passed to --format is invalid: {{.error}}": "Der mit --format angegebene Wert ist ungültig: {{.error}}", @@ -854,7 +856,6 @@ "Using image repository {{.name}}": "Verwenden des Image-Repositorys {{.name}}", "Using image {{.registry}}{{.image}}": "Verwende Image {{.registry}}{{.image}}", "Using image {{.registry}}{{.image}} (global image repository)": "Verwende das Image {{.registry}}{{.image}} (globale Image Repository)", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -888,7 +889,7 @@ "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "Sie versuchen eine Windows .exe Binärdatei innerhalb von WSL auszuführen. Bitte verwenden Sie stattdessen eine Linux Binärdatei für eine bessere Integration (Download-Möglichkeit: https://minikube.sigs.k8s.io/docs/start/.). Alternativ, wenn Sie dies wirklich möchten, können Sie dies mit --force erzwingen", "You are trying to run amd64 binary on M1 system. Please consider running darwin/arm64 binary instead (Download at {{.url}}.)": "Sie versuchen ein amd64-Binärformat auf einem M1 System auszuführen. Bitte erwägen Sie eine darwin/amd64 Binärdatei stattdessen zu verwenden (Download-Möglichkeit: {{.url}})", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "Sie können einen mit 'minikube start' erstellen.\n\t\t", "You can delete them using the following command(s): ": "Sie können diese mit dem folgenden Befehl/den folgenden Befehlen löschen:", "You can force an unsupported Kubernetes version via the --force flag": "Sie können das Verwenden einer nicht unterstützten Kubernetes Version mit dem --force Parameter erzwingen", @@ -1008,6 +1009,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "Das geplante Stoppen wird von none Treiber nicht unterstützt, überspringe Planung", "service {{.namespace_name}}/{{.service_name}} has no node port": "Service {{.namespace_name}}/{{.service_name}} hat keinen Node Port", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "state Fehler", "status json failure": "Status json Fehler", "status text failure": "Status text Fehler", diff --git a/translations/es.json b/translations/es.json index 65c64bbb4f..95797adb7e 100644 --- a/translations/es.json +++ b/translations/es.json @@ -24,6 +24,7 @@ "--kvm-numa-count range is 1-8": "--kvm-numa-count el rango es 1-8", "--network flag is only valid with the docker/podman and KVM drivers, it will be ignored": "el flag --network es válido solamente con docker/podman y KVM, será ignorado", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", @@ -74,6 +75,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "Controlador {{.driver}} seleccionado automáticamente", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "Controlador {{.driver}} seleccionado automáticamente. Otras opciones: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "Comandos disponibles", "Basic Commands:": "Comandos basicos:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Porque estás usando controlador Docker en {{.operating_system}}, la terminal debe abrirse para ejecutarlo.", @@ -695,7 +697,6 @@ "The control plane node must be running for this command": "", "The cri socket path to be used": "La ruta del socket de cri", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "El controlador \"{{.driver}}\" no se puede utilizar en {{.os}}/{{.arch}}", @@ -739,6 +740,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "", "The value passed to --format is invalid: {{.error}}": "", @@ -855,7 +857,6 @@ "Using image repository {{.name}}": "Utilizando el repositorio de imágenes {{.name}}", "Using image {{.registry}}{{.image}}": "", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -888,7 +889,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}). Please see {{.documentation_url}} for more details": "Parece que estás usando un proxy, pero tu entorno NO_PROXY no incluye la dirección IP de minikube ({{.ip_address}}). Consulta {{.documentation_url}} para obtener más información", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s): ": "", "You can force an unsupported Kubernetes version via the --force flag": "", @@ -1002,6 +1003,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "", "status json failure": "", "status text failure": "", diff --git a/translations/fr.json b/translations/fr.json index 627d30b689..3ad11f7a23 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -24,6 +24,7 @@ "--kvm-numa-count range is 1-8": "la tranche de --kvm-numa-count est 1 à 8", "--network flag is only valid with the docker/podman and KVM drivers, it will be ignored": "l'indicateur --network est valide uniquement avec les pilotes docker/podman et KVM, il va être ignoré", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "L'indicateur --network n'est valide qu'avec les pilotes docker/podman, KVM et Qemu, il sera ignoré", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete {{.profile}}\n\t\t minikube start {{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start {{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "1) Recréez le cluster avec Kubernetes {{.new}}, en exécutant :\n\t \n\t\t minikube delete {{.profile}}\n\t\t minikube start {{.profile}} - -kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Créez un deuxième cluster avec Kubernetes {{.new}}, en exécutant :\n\t \n \t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Utiliser le cluster existant à la version Kubernetes {{.old}}, en exécutant :\n\t \n\t\t minikube start {{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t \t", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "1) Recréez le cluster avec Kubernetes {{.new}}, en exécutant :\n\t \n\t\t minikube delete {{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Créez un deuxième cluster avec Kubernetes {{.new}}, en exécutant :\n\t \n \t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Utiliser le cluster existant à la version Kubernetes {{.old}}, en exécutant :\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t \t", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. Cliquez sur l'icône de menu \"Docker for Desktop\"\n\t\t\t2. Cliquez sur \"Preferences\"\n\t\t\t3. Cliquez sur \"Ressources\"\n\t\t\t4. Augmentez la barre de défilement \"CPU\" à 2 ou plus\n\t\t\t5. Cliquez sur \"Apply \u0026 Restart\"", @@ -73,6 +74,7 @@ "Auto-pause is already enabled.": "La pause automatique est déjà activée.", "Automatically selected the {{.driver}} driver": "Choix automatique du pilote {{.driver}}", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "Choix automatique du pilote {{.driver}}. Autres choix: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "Commandes disponibles", "Basic Commands:": "Commandes basiques :", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Comme vous utilisez un pilote Docker sur {{.operating_system}}, le terminal doit être ouvert pour l'exécuter.", @@ -716,6 +718,7 @@ "The service namespace": "L'espace de nom du service", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "Le service/ingress {{.resource}} nécessite l'exposition des ports privilégiés : {{.ports}}", "The services namespace": "L'espace de noms des services", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "L'intervalle de temps pour chaque contrôle que wait effectue en secondes", "The value passed to --format is invalid": "La valeur passée à --format n'est pas valide", "The value passed to --format is invalid: {{.error}}": "La valeur passée à --format n'est pas valide : {{.error}}", @@ -858,6 +861,7 @@ "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "Vous essayez d'exécuter un binaire Windows .exe dans WSL. Pour une meilleure intégration, veuillez utiliser un binaire Linux à la place (Télécharger sur https://minikube.sigs.k8s.io/docs/start/.). Sinon, si vous voulez toujours le faire, vous pouvez le faire en utilisant --force", "You are trying to run amd64 binary on M1 system. Please consider running darwin/arm64 binary instead (Download at {{.url}}.)": "Vous essayez d'exécuter le binaire amd64 sur le système M1. Veuillez utiliser le binaire darwin/arm64 à la place (télécharger sur {{.url}}.)", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "Vous essayez d'exécuter le binaire amd64 sur un système M1.\nVeuillez envisager d'exécuter le binaire darwin/arm64 à la place.\nTéléchargez sur {{.url}}", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "Vous utilisez le pilote QEMU sans réseau dédié, qui ne prend pas en charge les commandes `minikube service` \u0026 `minikube tunnel`.\nPour essayer le réseau dédié expérimental, voir : https://minikube.sigs.k8s.io/docs /drivers/qemu/#networking", "You can create one using 'minikube start'.\n\t\t": "Vous pouvez en créer un en utilisant 'minikube start'.\n\t\t", "You can delete them using the following command(s): ": "Vous pouvez les supprimer à l'aide de la ou des commandes suivantes :", @@ -980,6 +984,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "l'arrêt programmé n'est pas pris en charge sur le pilote none, programmation non prise en compte", "service {{.namespace_name}}/{{.service_name}} has no node port": "le service {{.namespace_name}}/{{.service_name}} n'a pas de port de nœud", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "définit l'adresse de liaison du tunnel, vide ou '*' indique que le tunnel doit être disponible pour toutes les interfaces", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "stat en échec", "status json failure": "état du JSON en échec", "status text failure": "état du texte en échec", diff --git a/translations/ja.json b/translations/ja.json index 251e943912..deda301bf3 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -23,6 +23,7 @@ "--kvm-numa-count range is 1-8": "--kvm-numa-count の範囲は 1~8 です", "--network flag is only valid with the docker/podman and KVM drivers, it will be ignored": "--network フラグは、docker/podman および KVM ドライバーでのみ有効であるため、無視されます", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "1) 次のコマンドで Kubernetes {{.new}} によるクラスターを再構築します:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) 次のコマンドで Kubernetes {{.new}} による第 2 のクラスターを作成します:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) 次のコマンドで Kubernetes {{.old}} による既存クラスターを使用します:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. 「Docker for Desktop」メニューアイコンをクリックします\n\t\t\t2. 「Preferences」をクリックします\n\t\t\t3. 「Resources」をクリックします\n\t\t\t4. 「CPUs」スライドバーを 2 以上に増やします\n\t\t\t5. 「Apply \u0026 Restart」をクリックします", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. 「Docker for Desktop」メニューアイコンをクリックします\n\t\t\t2. 「Preferences」をクリックします\n\t\t\t3. 「Resources」をクリックします\n\t\t\t4. 「Memory」スライドバーを {{.recommend}} 以上に増やします\n\t\t\t5. 「Apply \u0026 Restart」をクリックします", @@ -67,6 +68,7 @@ "Auto-pause is already enabled.": "自動一時停止は既に有効になっています。", "Automatically selected the {{.driver}} driver": "{{.driver}} ドライバーが自動的に選択されました", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "{{.driver}} ドライバーが自動的に選択されました。他の選択肢: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "利用可能なコマンド", "Basic Commands:": "基本的なコマンド:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Docker ドライバーを {{.operating_system}} 上で使用しているため、実行するにはターミナルを開く必要があります。", @@ -646,7 +648,6 @@ "The control plane node is not running (state={{.state}})": "コントロールプレーンノードは実行中ではありません (state={{.state}})", "The control plane node must be running for this command": "このコマンドではコントロールプレーンノードが実行中でなければなりません", "The cri socket path to be used.": "使用される CRI ソケットパス。", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "docker-env コマンドはマルチノードクラスターと互換性がありません。'registry' アドオンを使用してください: https://minikube.sigs.k8s.io/docs/handbook/registry/", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "docker-env コマンドは「docker」ランタイムとだけ互換性がありますが、このクラスターは「{{.runtime}}」ランタイムを使用するよう設定されています。", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "'{{.driver}}' ドライバーは {{.os}}/{{.arch}} に対応していません", @@ -688,6 +689,7 @@ "The service namespace": "サービスネームスペース", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "{{.resource}} service/ingress は次の公開用特権ポートを要求します: {{.ports}}", "The services namespace": "サービスネームスペース", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "実行待機チェックの時間間隔 (秒)", "The value passed to --format is invalid": "--format の値が無効です", "The value passed to --format is invalid: {{.error}}": "--format の値が無効です: {{.error}}", @@ -794,7 +796,6 @@ "Using image repository {{.name}}": "{{.name}} イメージリポジトリーを使用しています", "Using image {{.registry}}{{.image}}": "{{.registry}}{{.image}} イメージを使用しています", "Using image {{.registry}}{{.image}} (global image repository)": "{{.registry}}{{.image}} イメージ (グローバルイメージリポジトリー) を使用しています", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "rootless Docker ドライバー使用が必要でしたが、現在の Docker は rootless が必要ないようです。'docker context use rootless' を試してみてください。", "Using rootless driver was required, but the current driver does not seem rootless": "rootless ドライバー使用が必要でしたが、現在のドライバーは rootless が必要ないようです", "Using rootless {{.driver_name}} driver": "rootless {{.driver_name}} ドライバー使用", @@ -824,7 +825,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "プロキシーを使用しようとしていますが、minikube の IP ({{.ip_address}}) が NO_PROXY 環境変数に含まれていません。", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "WSL 内で Windows の .exe バイナリーを実行しようとしています。これより優れた統合として、Linux バイナリーを代わりに使用してください (https://minikube.sigs.k8s.io/docs/start/ でダウンロードしてください)。そうではなく、引き続きこのバイナリーを使用したい場合、--force オプションを使用してください", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "M1 システム上で amd64 バイナリーを実行しようとしています。\ndarwin/arm64 バイナリーを代わりに実行することをご検討ください。\n{{.url}} でダウンロードしてください。", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "'minikube start' を使って新しいものを作成できます。\n\t\t", "You can delete them using the following command(s): ": "次のコマンドで削除できます: ", "You can force an unsupported Kubernetes version via the --force flag": "--force フラグを介して、サポート外の Kubernetes バージョンを強制的に使用できます", @@ -940,6 +941,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "none ドライバーでは予定停止がサポートされていません (予約をスキップします)", "service {{.namespace_name}}/{{.service_name}} has no node port": "サービス {{.namespace_name}}/{{.service_name}} は NodePort がありません", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "トンネル バインド アドレスを設定します。空または '*' は、トンネルがすべてのインターフェイスで使用可能であることを示します", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "stat に失敗しました", "status json failure": "status json に失敗しました", "status text failure": "status text に失敗しました", diff --git a/translations/ko.json b/translations/ko.json index 22137c1314..e5103d4e33 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -28,6 +28,7 @@ "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--kvm-numa-count range is 1-8": "--kvm-numa-count 범위는 1부터 8입니다", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "--network 는 docker나 podman 에서만 유효합니다. KVM이나 Qemu 드라이버에서는 인자가 무시됩니다", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", @@ -76,6 +77,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "자동적으로 {{.driver}} 드라이버가 선택되었습니다", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "자동적으로 {{.driver}} 드라이버가 선택되었습니다. 다른 드라이버 목록: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "사용 가능한 명령어", "Basic Commands:": "기본 명령어:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", @@ -700,7 +702,6 @@ "The control plane node is not running (state={{.state}})": "컨트롤 플레인 노드가 실행 상태가 아닙니다 (상태={{.state}})", "The control plane node must be running for this command": "컨트롤 플레인 노드는 실행 상태여야 합니다", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "", @@ -742,6 +743,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "", "The value passed to --format is invalid: {{.error}}": "", @@ -854,7 +856,6 @@ "Using image repository {{.name}}": "", "Using image {{.registry}}{{.image}}": "", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -885,7 +886,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can also use 'minikube kubectl -- get pods' to invoke a matching version": "맞는 버전의 kubectl 을 사용하기 위해서는 다음과 같이 사용 가능합니다. minikube kubectl -- get pods'", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s):": "다음 명령어(들)을 사용하여 제거할 수 있습니다", @@ -1010,6 +1011,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "", "status json failure": "", "status text failure": "", diff --git a/translations/pl.json b/translations/pl.json index 48915d7c4c..a28a182813 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -27,6 +27,7 @@ "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--kvm-numa-count range is 1-8": "", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", @@ -74,6 +75,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "Automatycznie wybrano sterownik {{.driver}}", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "Automatycznie wybrano sterownik {{.driver}}. Inne możliwe sterowniki: {{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "Dostępne polecenia", "Basic Commands:": "Podstawowe polecenia", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "Z powodu użycia sterownika dockera na systemie operacyjnym {{.operating_system}}, terminal musi zostać uruchomiony.", @@ -707,7 +709,6 @@ "The control plane node is not running (state={{.state}})": "", "The control plane node must be running for this command": "", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker service is currently not active": "Serwis docker jest nieaktywny", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", @@ -753,6 +754,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "Wartość przekazana do --format jest nieprawidłowa", "The value passed to --format is invalid: {{.error}}": "Wartość przekazana do --format jest nieprawidłowa: {{.error}}", @@ -864,7 +866,6 @@ "Using image repository {{.name}}": "", "Using image {{.registry}}{{.image}}": "", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -899,7 +900,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s): ": "", "You can force an unsupported Kubernetes version via the --force flag": "", @@ -1015,6 +1016,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "wykonanie komendy stat nie powiodło się", "status json failure": "", "status text failure": "", diff --git a/translations/ru.json b/translations/ru.json index 451d8e6e4a..00a37ae133 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -22,6 +22,7 @@ "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--kvm-numa-count range is 1-8": "", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "1) Пересоздайте кластер с Kubernetes {{.new}}, выполнив:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Создайье второй кластер с Kubernetes {{.new}}, выполнив:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Используйте существующий кластер с версией Kubernetes {{.old}}, выполнив:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. Кликните на иконку \"Docker for Desktop\"\n\t\t\t2. Выберите \"Preferences\"\n\t\t\t3. Нажмите \"Resources\"\n\t\t\t4. Увеличьте кол-во \"CPUs\" до 2 или выше\n\t\t\t5. Нажмите \"Apply \u0026 Перезапуск\"", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "1. Кликните на иконку \"Docker for Desktop\"\n\t\t\t2. Выберите \"Preferences\"\n\t\t\t3. Нажмите \"Resources\"\n\t\t\t4. Увеличьте кол-во \"emory\" до {{.recommend}} или выше\n\t\t\t5. Нажмите \"Apply \u0026 Перезапуск\"", @@ -66,6 +67,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "", + "Automatically selected the {{.network}} network": "", "Available Commands": "", "Basic Commands:": "", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", @@ -642,7 +644,6 @@ "The control plane node is not running (state={{.state}})": "", "The control plane node must be running for this command": "", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "", @@ -684,6 +685,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "", "The value passed to --format is invalid: {{.error}}": "", @@ -790,7 +792,6 @@ "Using image repository {{.name}}": "", "Using image {{.registry}}{{.image}}": "Используется образ {{.registry}}{{.image}}", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -820,7 +821,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s): ": "", "You can force an unsupported Kubernetes version via the --force flag": "", @@ -934,6 +935,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "", "status json failure": "", "status text failure": "", diff --git a/translations/strings.txt b/translations/strings.txt index 727184d431..b017c2ec72 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -22,6 +22,7 @@ "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--kvm-numa-count range is 1-8": "", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", @@ -66,6 +67,7 @@ "Auto-pause is already enabled.": "", "Automatically selected the {{.driver}} driver": "", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "", + "Automatically selected the {{.network}} network": "", "Available Commands": "", "Basic Commands:": "", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", @@ -642,7 +644,6 @@ "The control plane node is not running (state={{.state}})": "", "The control plane node must be running for this command": "", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "", @@ -684,6 +685,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "", "The value passed to --format is invalid: {{.error}}": "", @@ -790,7 +792,6 @@ "Using image repository {{.name}}": "", "Using image {{.registry}}{{.image}}": "", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -820,7 +821,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s): ": "", "You can force an unsupported Kubernetes version via the --force flag": "", @@ -934,6 +935,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "", "status json failure": "", "status text failure": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index f062716377..2db0149b9e 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -30,6 +30,7 @@ "--kvm-numa-count range is 1-8": "--kvm-numa-count 取值范围为 1-8", "--network flag is only valid with the docker/podman and KVM drivers, it will be ignored": "--network 标识仅对 docker/podman 和 KVM 驱动程序有效,它将被忽略", "--network flag is only valid with the docker/podman, KVM and Qemu drivers, it will be ignored": "", + "--network with QEMU must be 'user' or 'socket_vmnet'": "", "1) Recreate the cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube delete{{.profile}}\n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t2) Create a second cluster with Kubernetes {{.new}}, by running:\n\t \n\t\t minikube start -p {{.suggestedName}} --kubernetes-version={{.prefix}}{{.new}}\n\t \n\t\t3) Use the existing cluster at version Kubernetes {{.old}}, by running:\n\t \n\t\t minikube start{{.profile}} --kubernetes-version={{.prefix}}{{.old}}\n\t\t": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"CPUs\" slider bar to 2 or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", "1. Click on \"Docker for Desktop\" menu icon\n\t\t\t2. Click \"Preferences\"\n\t\t\t3. Click \"Resources\"\n\t\t\t4. Increase \"Memory\" slider bar to {{.recommend}} or higher\n\t\t\t5. Click \"Apply \u0026 Restart\"": "", @@ -87,6 +88,7 @@ "Automatically selected the '{{.driver}}' driver (alternates: {{.alternates}})": "自动选择 '{{.driver}}' 驱动(可选项:{{.alternates}})", "Automatically selected the {{.driver}} driver": "自动选择 {{.driver}} 驱动", "Automatically selected the {{.driver}} driver. Other choices: {{.alternates}}": "自动选择 {{.driver}} 驱动。其他选项:{{.alternates}}", + "Automatically selected the {{.network}} network": "", "Available Commands": "可用命令", "Basic Commands:": "基本命令:", "Because you are using a Docker driver on {{.operating_system}}, the terminal needs to be open to run it.": "", @@ -798,7 +800,6 @@ "The control plane node must be running for this command": "", "The cri socket path to be used": "需要使用的 cri 套接字路径", "The cri socket path to be used.": "", - "The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release": "", "The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/": "", "The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"{{.runtime}}\" runtime.": "", "The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "{{.os}} 不支持驱动程序“{{.driver}}/{{.arch}}”", @@ -842,6 +843,7 @@ "The service namespace": "", "The service/ingress {{.resource}} requires privileged ports to be exposed: {{.ports}}": "", "The services namespace": "", + "The socket_vmnet network is only supported on macOS": "", "The time interval for each check that wait performs in seconds": "", "The value passed to --format is invalid": "", "The value passed to --format is invalid: {{.error}}": "", @@ -965,7 +967,6 @@ "Using image repository {{.name}}": "正在使用镜像存储库 {{.name}}", "Using image {{.registry}}{{.image}}": "", "Using image {{.registry}}{{.image}} (global image repository)": "", - "Using qemu with 'socket_vmnet' network is experimental": "", "Using rootless Docker driver was required, but the current Docker does not seem rootless. Try 'docker context use rootless' .": "", "Using rootless driver was required, but the current driver does not seem rootless": "", "Using rootless {{.driver_name}} driver": "", @@ -1007,7 +1008,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}). Please see {{.documentation_url}} for more details": "您似乎正在使用代理,但您的 NO_PROXY 环境不包含 minikube IP ({{.ip_address}})。如需了解详情,请参阅 {{.documentation_url}}", "You are trying to run a windows .exe binary inside WSL. For better integration please use a Linux binary instead (Download at https://minikube.sigs.k8s.io/docs/start/.). Otherwise if you still want to do this, you can do it using --force": "", "You are trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", - "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.\nTo try the experimental dedicated network see: https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking": "", + "You are using the QEMU driver without a dedicated network, which doesn't support `minikube service` \u0026 `minikube tunnel` commands.": "", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s): ": "", "You can force an unsupported Kubernetes version via the --force flag": "", @@ -1126,6 +1127,7 @@ "scheduled stop is not supported on the none driver, skipping scheduling": "", "service {{.namespace_name}}/{{.service_name}} has no node port": "", "set tunnel bind address, empty or '*' indicates the tunnel should be available for all interfaces": "", + "socket_vmnet was not found on the system, resolve by:\n\n\t\tOption 1) Installing socket_vmnet:\n\n\t\t https://minikube.sigs.k8s.io/docs/drivers/qemu/#networking\n\n\t\tOption 2) Using the user network:\n\n\t\t minikube start{{.profile}} --driver qemu --network user": "", "stat failed": "", "status json failure": "", "status text failure": "", From bb07f185faa041ea40c54f4b1959ea546f9cf2ef Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 1 Nov 2022 15:05:41 -0700 Subject: [PATCH 06/11] add dhcpd_leases issue to docs --- site/content/en/docs/drivers/qemu.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/site/content/en/docs/drivers/qemu.md b/site/content/en/docs/drivers/qemu.md index b3933d75ea..6a10227db4 100644 --- a/site/content/en/docs/drivers/qemu.md +++ b/site/content/en/docs/drivers/qemu.md @@ -65,7 +65,23 @@ When using the `user` network (default) the guest uses **only** the first `names ##### Workarounds: 1. If possible, reorder your `/etc/resolv.conf` to have a general `nameserver` entry first (eg. `8.8.8.8`) and reboot your machine. -2. (Coming soon) Use `--network=socket_vmnet` +2. Use `--network=socket_vmnet` + +### 2. `/var/db/dhcpd_leases` errors + +If you're seeing errors related to `/var/db/dhcpd_leases` we recommend the following: +1. Uninstall `socket_vmnet`: +```shell +cd socket_vmnet +sudo make uninstll +sudo rm /var/run/socket_vmnet +``` +2. Reboot +3. Reinsitall `socket_vmnet`: +```shell +cd socket_vmnet +sudo make install +``` [Full list of open 'qemu' driver issues](https://github.com/kubernetes/minikube/labels/co%2Fqemu-driver) From d7baa139602b5ef23057764612e809b23079612a Mon Sep 17 00:00:00 2001 From: Rahil Patel <37254995+rahil-p@users.noreply.github.com> Date: Thu, 3 Nov 2022 17:15:57 -0400 Subject: [PATCH 07/11] fix spelling and grammar in Go files --- cmd/minikube/cmd/service.go | 2 +- cmd/minikube/cmd/start.go | 2 +- pkg/drivers/kic/oci/oci.go | 2 +- pkg/minikube/reason/known_issues.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/minikube/cmd/service.go b/cmd/minikube/cmd/service.go index 12a2e9492b..da3971626c 100644 --- a/cmd/minikube/cmd/service.go +++ b/cmd/minikube/cmd/service.go @@ -197,7 +197,7 @@ func startKicServiceTunnel(services service.URLs, configName, driverName string) urls, err = mutateURLs(svc.Name, urls) if err != nil { - exit.Error(reason.SvcTunnelStart, "error creatings urls", err) + exit.Error(reason.SvcTunnelStart, "error creating urls", err) } defer serviceTunnel.Stop() diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index 91a7189b5d..30229af1db 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -507,7 +507,7 @@ func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion, rtime, machineName st if client.Major != cluster.Major || minorSkew > 1 { out.Ln("") - out.WarningT("{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.", + out.WarningT("{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.", out.V{"path": path, "client_version": client, "cluster_version": cluster}) out.Infof("Want kubectl {{.version}}? Try 'minikube kubectl -- get pods -A'", out.V{"version": k8sVersion}) } diff --git a/pkg/drivers/kic/oci/oci.go b/pkg/drivers/kic/oci/oci.go index 33a115c1b3..0d1ec1eb97 100644 --- a/pkg/drivers/kic/oci/oci.go +++ b/pkg/drivers/kic/oci/oci.go @@ -79,7 +79,7 @@ func DeleteContainersByLabel(ociBin string, label string) []error { func DeleteContainer(ctx context.Context, ociBin string, name string) error { _, err := ContainerStatus(ociBin, name) if err == context.DeadlineExceeded { - out.WarningT("{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}", out.V{"ociBin": ociBin}) + out.WarningT("{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}", out.V{"ociBin": ociBin}) } else if err != nil { klog.Warningf("error getting container status, will try to delete anyways: %v", err) } diff --git a/pkg/minikube/reason/known_issues.go b/pkg/minikube/reason/known_issues.go index fd1c658105..5cc5222bf4 100644 --- a/pkg/minikube/reason/known_issues.go +++ b/pkg/minikube/reason/known_issues.go @@ -1265,7 +1265,7 @@ var serviceIssues = []match{ Kind: Kind{ ID: "SVC_OPEN_NOT_FOUND", ExitCode: ExSvcNotFound, - Advice: "Use 'kubect get po -A' to find the correct and namespace name", + Advice: "Use 'kubectl get po -A' to find the correct and namespace name", Issues: []int{5836}, }, Regexp: re(`Error opening service.*not found`), From ac6a265ba9f3b47218f9dd2b4aacf7600d0a83a3 Mon Sep 17 00:00:00 2001 From: Rahil Patel <37254995+rahil-p@users.noreply.github.com> Date: Thu, 3 Nov 2022 17:16:34 -0400 Subject: [PATCH 08/11] fix spelling and grammar in translations --- translations/de.json | 8 ++++---- translations/es.json | 8 ++++---- translations/fr.json | 8 ++++---- translations/ja.json | 8 ++++---- translations/ko.json | 8 ++++---- translations/pl.json | 8 ++++---- translations/ru.json | 8 ++++---- translations/strings.txt | 8 ++++---- translations/zh-CN.json | 8 ++++---- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/translations/de.json b/translations/de.json index db4b24e4ae..ccb24903b5 100644 --- a/translations/de.json +++ b/translations/de.json @@ -839,7 +839,7 @@ "Usage: minikube node start [name]": "Verwendung: minikube node start [name]", "Usage: minikube node stop [name]": "Verwendung: minikube node stop [name]", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "Verwende \"{{.CommandPath}} [command] --help\" um mehr Informationen zu einem Befehl zu erhalten.", - "Use 'kubect get po -A' to find the correct and namespace name": "Verwende 'kubect get po -A' um den richtigen Namen und den Namespace Namen zu finden", + "Use 'kubectl get po -A' to find the correct and namespace name": "Verwende 'kubectl get po -A' um den richtigen Namen und den Namespace Namen zu finden", "Use -A to specify all namespaces": "Verwende -A um alle Namespaces zu verwenden", "Use SSH connection instead of HTTPS (port 2376)": "Verwende SSH-Verbindung stelle von HTTPS (Port 2376)", "Use SSH for running kubernetes client on the node": "Verwende SSH für den laufenden Kubernetes Client auf dem Node", @@ -935,7 +935,7 @@ "dry-run validation complete!": "dry-run Validierung komplett!", "enable failed": "aktivieren fehlgeschlagen", "error creating clientset": "Fehler beim Anlegen des Clientsets", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "Fehler beim Ermitteln der primären Kontroll-Ebene", "error getting ssh port": "Fehler beim Ermitteln des ssh Ports", @@ -1061,8 +1061,8 @@ "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity)": "{{.n}} hat keinen Plattenplatz mehr! (/var ist bei {{.p}}% seiner Kapazität)", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} benötigt unnötig lange zum Antworten, erwäge {{.ocibin}} neuzustarten", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "{{.path}} ist Version {{.client_version}}, welche inkompatibel ist mit Kubernetes {{.cluster_version}}", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} benötigt unnötig lange zum Antworten, erwäge {{.ocibin}} neuzustarten", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "{{.path}} ist Version {{.client_version}}, welche inkompatibel ist mit Kubernetes {{.cluster_version}}", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}minikube {{.version}} auf {{.platform}}", "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} ist nicht valide: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} ist kein derzeit unterstütztes Dateisystem. Wir versuchen es trotzdem!", diff --git a/translations/es.json b/translations/es.json index 65c64bbb4f..57b9cdd90f 100644 --- a/translations/es.json +++ b/translations/es.json @@ -840,7 +840,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "", - "Use 'kubect get po -A' to find the correct and namespace name": "", + "Use 'kubectl get po -A' to find the correct and namespace name": "", "Use -A to specify all namespaces": "", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -933,7 +933,7 @@ "dry-run validation complete!": "", "enable failed": "", "error creating clientset": "", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", @@ -1053,8 +1053,8 @@ "{{.n}} is nearly out of disk space, which may cause deployments to fail! ({{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}minikube {{.version}} en {{.platform}}", "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", diff --git a/translations/fr.json b/translations/fr.json index 627d30b689..243ec06563 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -811,7 +811,7 @@ "Usage: minikube node start [name]": "Utilisation: minikube node start [name]", "Usage: minikube node stop [name]": "Utilisation: minikube node stop [name]", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "Utilisez \"{{.CommandPath}} [commande] --help\" pour plus d'informations sur une commande.", - "Use 'kubect get po -A' to find the correct and namespace name": "Utilisez 'kubect get po -A' pour trouver le nom correct et l'espace de noms", + "Use 'kubectl get po -A' to find the correct and namespace name": "Utilisez 'kubectl get po -A' pour trouver le nom correct et l'espace de noms", "Use -A to specify all namespaces": "Utilisez -A pour spécifier tous les espaces de noms", "Use SSH connection instead of HTTPS (port 2376)": "Utiliser la connexion SSH au lieu de HTTPS (port 2376)", "Use SSH for running kubernetes client on the node": "Utiliser SSH pour exécuter le client kubernetes sur le nœud", @@ -907,7 +907,7 @@ "dry-run validation complete!": "validation de la simulation terminée !", "enable failed": "échec de l'activation", "error creating clientset": "erreur lors de la création de l'ensemble de clients", - "error creatings urls": "erreur lors de la création d'urls", + "error creating urls": "erreur lors de la création d'urls", "error getting defaults: {{.error}}": "erreur lors de l'obtention des valeurs par défaut : {{.error}}", "error getting primary control plane": "erreur lors de l'obtention du plan de contrôle principal", "error getting ssh port": "erreur lors de l'obtention du port ssh", @@ -1035,8 +1035,8 @@ "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity)": "{{.n}} n'a plus d'espace disque ! (/var est à {{.p}} % de capacité)", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "{{.n}} n'a plus d'espace disque ! (/var est à {{.p}} % de la capacité). Vous pouvez passer '--force' pour ignorer cette vérification.", "{{.ociBin}} rmi {{.images}}": "{{.ociBin}} rmi {{.images}}", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} prend un temps anormalement long pour répondre, pensez à redémarrer {{.ocibin}}", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "{{.path}} est la version {{.client_version}}, qui peut comporter des incompatibilités avec Kubernetes {{.cluster_version}}.", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} prend un temps anormalement long pour répondre, pensez à redémarrer {{.ocibin}}", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "{{.path}} est la version {{.client_version}}, qui peut comporter des incompatibilités avec Kubernetes {{.cluster_version}}.", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}minikube {{.version}} sur {{.platform}}", "{{.profile}} profile is not valid: {{.err}}": "Le profil {{.profile}} n'est pas valide : {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} n'est pas encore un système de fichiers pris en charge. Nous essaierons quand même !", diff --git a/translations/ja.json b/translations/ja.json index 251e943912..e93a9efbdf 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -779,7 +779,7 @@ "Usage: minikube node start [name]": "使用法: minikube node start [ノード名]", "Usage: minikube node stop [name]": "使用法: minikube node stop [ノード名]", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "コマンドに関する追加情報は「{{.CommandPath}} [command] --help」を使用してください。", - "Use 'kubect get po -A' to find the correct and namespace name": "'kubect get po -A' を使用して、妥当なネームスペース名を見つけてください", + "Use 'kubectl get po -A' to find the correct and namespace name": "'kubectl get po -A' を使用して、妥当なネームスペース名を見つけてください", "Use -A to specify all namespaces": "全ネームスペースを指定する場合は -A を使用してください", "Use SSH connection instead of HTTPS (port 2376)": "HTTPS 接続の代わりに SSH 接続を使用します (ポート 2376)", "Use SSH for running kubernetes client on the node": "ノード上で実行中の Kubernetes クライアントへの接続に SSH を使用します", @@ -869,7 +869,7 @@ "dry-run validation complete!": "dry-run の検証が終了しました!", "enable failed": "有効化に失敗しました", "error creating clientset": "clientset 作成中にエラー", - "error creatings urls": "URL 作成でエラー", + "error creating urls": "URL 作成でエラー", "error getting defaults: {{.error}}": "デフォルト取得中にエラー: {{.error}}", "error getting primary control plane": "最初のコントロールプレーン取得中にエラー", "error getting ssh port": "SSH ポートを取得中にエラー", @@ -990,8 +990,8 @@ "{{.n}} is nearly out of disk space, which may cause deployments to fail! ({{.p}}% of capacity). You can pass '--force' to skip this check.": "{{.n}} はほとんどディスクがいっぱいで、デプロイが失敗する原因になりかねません!(容量の {{.p}}%)。'--force' を指定するとこのチェックをスキップできます。", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "{{.n}} はディスクがいっぱいです!(/var は容量の {{.p}}% です)。'--force' を指定するとこのチェックをスキップできます。", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} の反応が異常なほど長時間かかっています。{{.ocibin}} の再起動を検討してください", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "{{.path}} のバージョンは {{.client_version}} で、Kubernetes {{.cluster_version}} と互換性がないかもしれません。", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "{{.ocibin}} の反応が異常なほど長時間かかっています。{{.ocibin}} の再起動を検討してください", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "{{.path}} のバージョンは {{.client_version}} で、Kubernetes {{.cluster_version}} と互換性がないかもしれません。", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.platform}} 上の {{.prefix}}minikube {{.version}}", "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} プロファイルは無効です: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} は未サポートのファイルシステムです。とにかくやってみます!", diff --git a/translations/ko.json b/translations/ko.json index 22137c1314..4b044e2206 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -839,7 +839,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "", - "Use 'kubect get po -A' to find the correct and namespace name": "", + "Use 'kubectl get po -A' to find the correct and namespace name": "", "Use -A to specify all namespaces": "모든 namespace 를 확인하려면 -A 를 사용하세요", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -936,7 +936,7 @@ "enable failed": "활성화가 실패하였습니다", "error creating clientset": "clientset 생성 오류", "error creating machine client": "머신 client 생성 오류", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "ssh 포트 조회 오류", @@ -1064,8 +1064,8 @@ "{{.n}} is nearly out of disk space, which may cause deployments to fail! ({{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "", "{{.path}} is v{{.client_version}}, which may be incompatible with Kubernetes v{{.cluster_version}}.": "{{.path}} 의 버전은 v{{.client_version}} 이므로, 쿠버네티스 버전 v{{.cluster_version}} 과 호환되지 않을 수 있습니다", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}{{.platform}} 의 minikube {{.version}}", "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 프로파일이 올바르지 않습니다: {{.err}}", diff --git a/translations/pl.json b/translations/pl.json index 48915d7c4c..61a9619aaa 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -849,7 +849,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "", - "Use 'kubect get po -A' to find the correct and namespace name": "", + "Use 'kubectl get po -A' to find the correct and namespace name": "", "Use -A to specify all namespaces": "", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -945,7 +945,7 @@ "dry-run validation complete!": "", "enable failed": "", "error creating clientset": "", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", @@ -1070,8 +1070,8 @@ "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity)": "{{.n}} nie ma wolnej przestrzeni dyskowej! (/var jest w {{.p}}% pełny)", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "Czas odpowiedzi od {{.ocibin}} jest niespotykanie długi, rozważ ponowne uruchomienie {{.ocibin}}", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "{{.path}} jest w wersji {{.client_version}}, co może być niekompatybilne z Kubernetesem w wersji {{.cluster_version}}.", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "Czas odpowiedzi od {{.ocibin}} jest niespotykanie długi, rozważ ponowne uruchomienie {{.ocibin}}", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "{{.path}} jest w wersji {{.client_version}}, co może być niekompatybilne z Kubernetesem w wersji {{.cluster_version}}.", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}minikube {{.version}} na {{.platform}}", "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} profil nie jest poprawny: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} nie jest wspierany przez system plików. I tak spróbujemy!", diff --git a/translations/ru.json b/translations/ru.json index 451d8e6e4a..5d7b341968 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -775,7 +775,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "", - "Use 'kubect get po -A' to find the correct and namespace name": "", + "Use 'kubectl get po -A' to find the correct and namespace name": "", "Use -A to specify all namespaces": "", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -865,7 +865,7 @@ "dry-run validation complete!": "", "enable failed": "", "error creating clientset": "", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", @@ -986,8 +986,8 @@ "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity)": "В {{.n}} закончилось место! (в /var занято {{.p}}%)", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.prefix}}minikube {{.version}} на {{.platform}}", "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", diff --git a/translations/strings.txt b/translations/strings.txt index 727184d431..88eb2ce047 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -775,7 +775,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "", - "Use 'kubect get po -A' to find the correct and namespace name": "", + "Use 'kubectl get po -A' to find the correct and namespace name": "", "Use -A to specify all namespaces": "", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -865,7 +865,7 @@ "dry-run validation complete!": "", "enable failed": "", "error creating clientset": "", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", @@ -984,8 +984,8 @@ "{{.n}} is nearly out of disk space, which may cause deployments to fail! ({{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "", "{{.prefix}}minikube {{.version}} on {{.platform}}": "", "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index f062716377..350d399e4c 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -950,7 +950,7 @@ "Usage: minikube node start [name]": "", "Usage: minikube node stop [name]": "", "Use \"{{.CommandPath}} [command] --help\" for more information about a command.": "使用 \"{{.CommandPath}} [command] --help\" 可以获取有关命令的更多信息", - "Use 'kubect get po -A' to find the correct and namespace name": "使用 'kubect get po -A' 来查询正确的命名空间名称", + "Use 'kubectl get po -A' to find the correct and namespace name": "使用 'kubectl get po -A' 来查询正确的命名空间名称", "Use -A to specify all namespaces": "使用 -A 指定所有 namespaces", "Use SSH connection instead of HTTPS (port 2376)": "", "Use SSH for running kubernetes client on the node": "", @@ -1053,7 +1053,7 @@ "dry-run validation complete!": "", "enable failed": "开启失败", "error creating clientset": "", - "error creatings urls": "", + "error creating urls": "", "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", @@ -1179,9 +1179,9 @@ "{{.n}} is nearly out of disk space, which may cause deployments to fail! ({{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.n}} is out of disk space! (/var is at {{.p}}% of capacity). You can pass '--force' to skip this check.": "", "{{.ociBin}} rmi {{.images}}": "", - "{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}": "", + "{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}": "", "{{.path}} is version {{.client_version}}, and is incompatible with Kubernetes {{.cluster_version}}. You will need to update {{.path}} or use 'minikube kubectl' to connect with this cluster": "{{.path}} 的版本是 {{.client_version}},且与 Kubernetes {{.cluster_version}} 不兼容。您需要更新 {{.path}} 或者使用 'minikube kubectl' 连接到这个集群", - "{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.": "", + "{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.": "", "{{.prefix}}minikube {{.version}} on {{.platform}}": "{{.platform}} 上的 {{.prefix}}minikube {{.version}}", "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", From 43c4e59a609ffd5a980715ec78f0b9cd4fc4c006 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 3 Nov 2022 16:38:59 -0700 Subject: [PATCH 09/11] disable efk addon --- cmd/minikube/cmd/config/enable.go | 67 +++--------------------- cmd/minikube/cmd/config/flags.go | 7 --- pkg/addons/addons.go | 84 +++++++++++++++++++++++++++++-- translations/de.json | 3 ++ translations/es.json | 4 +- translations/fr.json | 3 ++ translations/ja.json | 3 ++ translations/ko.json | 4 +- translations/pl.json | 4 +- translations/ru.json | 4 +- translations/strings.txt | 4 +- translations/zh-CN.json | 4 +- 12 files changed, 114 insertions(+), 77 deletions(-) diff --git a/cmd/minikube/cmd/config/enable.go b/cmd/minikube/cmd/config/enable.go index 157cda2b95..4b7bc2ff53 100644 --- a/cmd/minikube/cmd/config/enable.go +++ b/cmd/minikube/cmd/config/enable.go @@ -18,20 +18,16 @@ package config import ( "errors" - "fmt" - "github.com/blang/semver/v4" "github.com/spf13/cobra" "github.com/spf13/viper" "k8s.io/minikube/pkg/addons" "k8s.io/minikube/pkg/minikube/assets" "k8s.io/minikube/pkg/minikube/config" - "k8s.io/minikube/pkg/minikube/constants" "k8s.io/minikube/pkg/minikube/exit" "k8s.io/minikube/pkg/minikube/out" "k8s.io/minikube/pkg/minikube/reason" "k8s.io/minikube/pkg/minikube/style" - "k8s.io/minikube/pkg/util" ) var addonsEnableCmd = &cobra.Command{ @@ -44,16 +40,12 @@ var addonsEnableCmd = &cobra.Command{ exit.Message(reason.Usage, "usage: minikube addons enable ADDON_NAME") } addon := args[0] - // replace heapster as metrics-server because heapster is deprecated - if addon == "heapster" { - out.Styled(style.Waiting, "using metrics-server addon, heapster is deprecated") - addon = "metrics-server" - } - if addon == "ambassador" { - out.Styled(style.Warning, "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73") - } - if addon == "olm" { - out.Styled(style.Warning, "The OLM addon has stopped working, for more details visit: https://github.com/operator-framework/operator-lifecycle-manager/issues/2534") + isDeprecated, replacement, msg := addons.Deprecations(addon) + if isDeprecated && replacement == "" { + exit.Message(reason.InternalAddonEnable, msg) + } else if isDeprecated { + out.Styled(style.Waiting, msg) + addon = replacement } addonBundle, ok := assets.Addons[addon] if ok { @@ -80,53 +72,6 @@ You can view the list of minikube maintainers at: https://github.com/kubernetes/ if err != nil && !errors.Is(err, addons.ErrSkipThisAddon) { exit.Error(reason.InternalAddonEnable, "enable failed", err) } - if addon == "dashboard" { - tipProfileArg := "" - if ClusterFlagValue() != constants.DefaultClusterName { - tipProfileArg = fmt.Sprintf(" -p %s", ClusterFlagValue()) - } - out.Styled(style.Tip, `Some dashboard features require the metrics-server addon. To enable all features please run: - - minikube{{.profileArg}} addons enable metrics-server - -`, out.V{"profileArg": tipProfileArg}) - - } - if addon == "headlamp" { - out.Styled(style.Tip, `To access Headlamp, use the following command: -minikube service headlamp -n headlamp - -`) - tokenGenerationTip := "To authenticate in Headlamp, fetch the Authentication Token using the following command:" - createSvcAccountToken := "kubectl create token headlamp --duration 24h -n headlamp" - getSvcAccountToken := `export SECRET=$(kubectl get secrets --namespace headlamp -o custom-columns=":metadata.name" | grep "headlamp-token") -kubectl get secret $SECRET --namespace headlamp --template=\{\{.data.token\}\} | base64 --decode` - - clusterName := ClusterFlagValue() - clusterVersion := ClusterKubernetesVersion(clusterName) - parsedClusterVersion, err := util.ParseKubernetesVersion(clusterVersion) - if err != nil { - tokenGenerationTip = fmt.Sprintf("%s\nIf Kubernetes Version is <1.24:\n%s\n\nIf Kubernetes Version is >=1.24:\n%s\n", tokenGenerationTip, createSvcAccountToken, getSvcAccountToken) - } else { - if parsedClusterVersion.GTE(semver.Version{Major: 1, Minor: 24}) { - tokenGenerationTip = fmt.Sprintf("%s\n%s", tokenGenerationTip, createSvcAccountToken) - } else { - tokenGenerationTip = fmt.Sprintf("%s\n%s", tokenGenerationTip, getSvcAccountToken) - } - } - out.Styled(style.Tip, fmt.Sprintf("%s\n", tokenGenerationTip)) - - tipProfileArg := "" - if clusterName != constants.DefaultClusterName { - tipProfileArg = fmt.Sprintf(" -p %s", clusterName) - } - out.Styled(style.Tip, `Headlamp can display more detailed information when metrics-server is installed. To install it, run: - -minikube{{.profileArg}} addons enable metrics-server - -`, out.V{"profileArg": tipProfileArg}) - - } if err == nil { out.Step(style.AddonEnable, "The '{{.addonName}}' addon is enabled", out.V{"addonName": addon}) } diff --git a/cmd/minikube/cmd/config/flags.go b/cmd/minikube/cmd/config/flags.go index c1f6ef38c6..5a978ab08b 100644 --- a/cmd/minikube/cmd/config/flags.go +++ b/cmd/minikube/cmd/config/flags.go @@ -19,16 +19,9 @@ package config import ( "github.com/spf13/viper" "k8s.io/minikube/pkg/minikube/config" - "k8s.io/minikube/pkg/minikube/mustload" ) // ClusterFlagValue returns the current cluster name based on flags func ClusterFlagValue() string { return viper.GetString(config.ProfileName) } - -// ClusterKubernetesVersion returns the current Kubernetes version of the cluster -func ClusterKubernetesVersion(clusterProfile string) string { - _, cc := mustload.Partial(clusterProfile) - return cc.KubernetesConfig.KubernetesVersion -} diff --git a/pkg/addons/addons.go b/pkg/addons/addons.go index 60ce74d342..510b04fb23 100644 --- a/pkg/addons/addons.go +++ b/pkg/addons/addons.go @@ -76,6 +76,8 @@ func RunCallbacks(cc *config.ClusterConfig, name string, value string) error { return errors.Wrap(err, "running validations") } + preStartMessages(name, value) + // Run any callbacks for this property if err := run(cc, name, value, a.callbacks); err != nil { if errors.Is(err, ErrSkipThisAddon) { @@ -83,9 +85,81 @@ func RunCallbacks(cc *config.ClusterConfig, name string, value string) error { } return errors.Wrap(err, "running callbacks") } + + postStartMessages(cc, name, value) + return nil } +func preStartMessages(name, value string) { + if value != "true" { + return + } + switch name { + case "ambassador": + out.Styled(style.Warning, "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73") + case "olm": + out.Styled(style.Warning, "The OLM addon has stopped working, for more details visit: https://github.com/operator-framework/operator-lifecycle-manager/issues/2534") + } +} + +func postStartMessages(cc *config.ClusterConfig, name, value string) { + if value != "true" { + return + } + clusterName := cc.Name + tipProfileArg := "" + if clusterName != constants.DefaultClusterName { + tipProfileArg = fmt.Sprintf(" -p %s", clusterName) + } + switch name { + case "dashboard": + out.Styled(style.Tip, `Some dashboard features require the metrics-server addon. To enable all features please run: + + minikube{{.profileArg}} addons enable metrics-server + +`, out.V{"profileArg": tipProfileArg}) + case "headlamp": + out.Styled(style.Tip, `To access Headlamp, use the following command: +minikube service headlamp -n headlamp + +`) + tokenGenerationTip := "To authenticate in Headlamp, fetch the Authentication Token using the following command:" + createSvcAccountToken := "kubectl create token headlamp --duration 24h -n headlamp" + getSvcAccountToken := `export SECRET=$(kubectl get secrets --namespace headlamp -o custom-columns=":metadata.name" | grep "headlamp-token") +kubectl get secret $SECRET --namespace headlamp --template=\{\{.data.token\}\} | base64 --decode` + + clusterVersion := cc.KubernetesConfig.KubernetesVersion + parsedClusterVersion, err := util.ParseKubernetesVersion(clusterVersion) + if err != nil { + tokenGenerationTip = fmt.Sprintf("%s\nIf Kubernetes Version is <1.24:\n%s\n\nIf Kubernetes Version is >=1.24:\n%s\n", tokenGenerationTip, createSvcAccountToken, getSvcAccountToken) + } else { + if parsedClusterVersion.GTE(semver.Version{Major: 1, Minor: 24}) { + tokenGenerationTip = fmt.Sprintf("%s\n%s", tokenGenerationTip, createSvcAccountToken) + } else { + tokenGenerationTip = fmt.Sprintf("%s\n%s", tokenGenerationTip, getSvcAccountToken) + } + } + out.Styled(style.Tip, fmt.Sprintf("%s\n", tokenGenerationTip)) + out.Styled(style.Tip, `Headlamp can display more detailed information when metrics-server is installed. To install it, run: + +minikube{{.profileArg}} addons enable metrics-server + +`, out.V{"profileArg": tipProfileArg}) + } +} + +// Deprecations if the selected addon is deprecated return the replacement addon, otherwise return the passed in addon +func Deprecations(name string) (bool, string, string) { + switch name { + case "heapster": + return true, "metrics-server", "using metrics-server addon, heapster is deprecated" + case "efk": + return true, "", "The current images used in the efk addon contain Log4j vulnerabilities, the addon will be disabled until images are updated, see: https://github.com/kubernetes/minikube/issues/15280" + } + return false, "", "" +} + // Set sets a value in the config (not threadsafe) func Set(cc *config.ClusterConfig, name string, value string) error { a, valid := isAddonValid(name) @@ -426,9 +500,13 @@ func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]boo // Apply new addons for _, name := range additional { - // replace heapster as metrics-server because heapster is deprecated - if name == "heapster" { - name = "metrics-server" + isDeprecated, replacement, msg := Deprecations(name) + if isDeprecated && replacement == "" { + out.FailureT(msg) + continue + } else if isDeprecated { + out.Styled(style.Waiting, msg) + name = replacement } // if the specified addon doesn't exist, skip enabling _, e := isAddonValid(name) diff --git a/translations/de.json b/translations/de.json index db4b24e4ae..86f51f84f4 100644 --- a/translations/de.json +++ b/translations/de.json @@ -927,6 +927,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "config modifiziert Minikube Konfigurations Dateien mit Unter-Befehlen wie \"minikube config set driver kvm2\"\nConfigurable fields: \n\n", "config view failed": "config view fehlgeschlagen", "containers paused status: {{.paused}}": "Container in pausiert status: {{.paused}}", + "dashboard": "", "dashboard service is not running: {{.error}}": "Dashboard Service läuft nicht: {{.error}}", "delete ctx": "lösche ctx", "deleting node": "lösche Node", @@ -953,6 +954,7 @@ "failed to set cloud shell kubelet config options": "Setzen der Cloud Shell Kublet Konfigurations Opetionen fehlgeschlagen", "failed to set extra option": "", "failed to start node": "Start des Nodes fehlgeschlagen", + "false": "", "fish completion failed": "fish completion fehlgeschlagen", "fish completion.": "fish fehlgeschlagen", "if true, will embed the certs in kubeconfig.": "Falls gesetzt, werden die Zeritifikate in die kubeconfig integriert.", @@ -1012,6 +1014,7 @@ "status json failure": "Status json Fehler", "status text failure": "Status text Fehler", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Zu viele Parameter ({{.ArgCount}}).\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "Kann Parameter nicht zuweisen", "unable to daemonize: {{.err}}": "Kann nicht in den Hintergrund starten (daemonize): {{.err}}", diff --git a/translations/es.json b/translations/es.json index 65c64bbb4f..dc86fbacc2 100644 --- a/translations/es.json +++ b/translations/es.json @@ -925,6 +925,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "", "containers paused status: {{.paused}}": "", + "dashboard": "", "dashboard service is not running: {{.error}}": "", "delete ctx": "", "deleting node": "", @@ -949,6 +950,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "if true, will embed the certs in kubeconfig.": "", @@ -1006,6 +1008,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "", "unable to daemonize: {{.err}}": "", @@ -1026,7 +1029,6 @@ "usage: minikube config unset PROPERTY_NAME": "", "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", diff --git a/translations/fr.json b/translations/fr.json index 627d30b689..030e2ad40b 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -899,6 +899,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "config modifie les fichiers de configuration de minikube à l'aide de sous-commandes telles que \"minikube config set driver kvm2\"\nChamps configurables : \n\n", "config view failed": "échec de la vue de configuration", "containers paused status: {{.paused}}": "état des conteneurs en pause : {{.paused}}", + "dashboard": "", "dashboard service is not running: {{.error}}": "le service de tableau de bord ne fonctionne pas : {{.error}}", "delete ctx": "supprimer ctx", "deleting node": "suppression d'un nœud", @@ -925,6 +926,7 @@ "failed to set cloud shell kubelet config options": "échec de la définition des options de configuration cloud shell kubelet", "failed to set extra option": "impossible de définir une option supplémentaire", "failed to start node": "échec du démarrage du nœud", + "false": "", "fish completion failed": "la complétion fish a échoué", "fish completion.": "complétion fish.", "if true, will embed the certs in kubeconfig.": "si vrai, intégrera les certificats dans kubeconfig.", @@ -984,6 +986,7 @@ "status json failure": "état du JSON en échec", "status text failure": "état du texte en échec", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "trop d'arguments ({{.ArgCount}}).\nusage : jeu de configuration de minikube PROPERTY_NAME PROPERTY_VALUE", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "le tunnel crée une route vers les services déployés avec le type LoadBalancer et définit leur Ingress sur leur ClusterIP. Pour un exemple détaillé, voir https://minikube.sigs.k8s.io/docs/tasks/loadbalancer", "unable to bind flags": "impossible de lier les configurations", "unable to daemonize: {{.err}}": "impossible de démoniser : {{.err}}", diff --git a/translations/ja.json b/translations/ja.json index 251e943912..1e54a1aaaf 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -861,6 +861,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "config コマンドは「minikube config set driver kvm2」のようにサブコマンドを使用して、minikube 設定ファイルを編集します。 \n設定可能なフィールド:\n\n", "config view failed": "設定表示が失敗しました", "containers paused status: {{.paused}}": "コンテナー停止状態: {{.paused}}", + "dashboard": "", "dashboard service is not running: {{.error}}": "ダッシュボードサービスが実行していません: {{.error}}", "delete ctx": "ctx を削除します", "deleting node": "ノードを削除しています", @@ -885,6 +886,7 @@ "failed to save config": "設定保存に失敗しました", "failed to set extra option": "追加オプションの設定に失敗しました", "failed to start node": "ノード開始に失敗しました", + "false": "", "fish completion failed": "fish のコマンド補完に失敗しました", "fish completion.": "fish のコマンド補完です。", "if true, will embed the certs in kubeconfig.": "true の場合、kubeconfig に証明書を埋め込みます。", @@ -944,6 +946,7 @@ "status json failure": "status json に失敗しました", "status text failure": "status text に失敗しました", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}} 個) が多すぎます。\n使用法: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "tunnel は LoadBalancer タイプで作成されたサービスへのルートを作成し、Ingress をサービスの ClusterIP に設定します。詳細例は https://minikube.sigs.k8s.io/docs/tasks/loadbalancer を参照してください", "unable to bind flags": "フラグをバインドできません", "unable to daemonize: {{.err}}": "デーモン化できません: {{.err}}", diff --git a/translations/ko.json b/translations/ko.json index 22137c1314..c7f757657c 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -927,6 +927,7 @@ "config view failed": "config view 가 실패하였습니다", "containers paused status: {{.paused}}": "", "creating api client": "api 클라이언트 생성 중", + "dashboard": "", "dashboard service is not running: {{.error}}": "대시보드 서비스가 실행 중이지 않습니다: {{.error}}", "delete ctx": "", "deleting node": "", @@ -952,6 +953,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "getting config": "컨피그 조회 중", @@ -1014,6 +1016,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "", "unable to daemonize: {{.err}}": "", @@ -1035,7 +1038,6 @@ "usage: minikube config unset PROPERTY_NAME": "", "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", diff --git a/translations/pl.json b/translations/pl.json index 48915d7c4c..d46fb7511f 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -937,6 +937,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "", "containers paused status: {{.paused}}": "", + "dashboard": "", "dashboard service is not running: {{.error}}": "", "delete ctx": "", "deleting node": "", @@ -961,6 +962,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "if true, will embed the certs in kubeconfig.": "Jeśli ta opcja będzie miała wartoś true, zakodowane w base64 certyfikaty zostaną osadzone w pliku konfiguracyjnym kubeconfig zamiast ścieżek do plików z certyfikatami", @@ -1019,6 +1021,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "", "unable to daemonize: {{.err}}": "", @@ -1040,7 +1043,6 @@ "usage: minikube config unset PROPERTY_NAME": "użycie: minikube config unset PROPERTY_NAME", "usage: minikube delete": "użycie: minikube delete", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "użycie: minikube profile [MINIKUBE_PROFILE_NAME]", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", diff --git a/translations/ru.json b/translations/ru.json index 451d8e6e4a..e32f702f2e 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -857,6 +857,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "", "containers paused status: {{.paused}}": "", + "dashboard": "", "dashboard service is not running: {{.error}}": "", "delete ctx": "", "deleting node": "", @@ -881,6 +882,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "if true, will embed the certs in kubeconfig.": "", @@ -938,6 +940,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "", "unable to daemonize: {{.err}}": "", @@ -958,7 +961,6 @@ "usage: minikube config unset PROPERTY_NAME": "", "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", diff --git a/translations/strings.txt b/translations/strings.txt index 727184d431..24cc157f01 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -857,6 +857,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "", "containers paused status: {{.paused}}": "", + "dashboard": "", "dashboard service is not running: {{.error}}": "", "delete ctx": "", "deleting node": "", @@ -881,6 +882,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "if true, will embed the certs in kubeconfig.": "", @@ -938,6 +940,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "unable to bind flags": "", "unable to daemonize: {{.err}}": "", @@ -958,7 +961,6 @@ "usage: minikube config unset PROPERTY_NAME": "", "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index f062716377..756b2a60e6 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -1045,6 +1045,7 @@ "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "", "containers paused status: {{.paused}}": "", + "dashboard": "", "dashboard service is not running: {{.error}}": "", "delete ctx": "", "deleting node": "", @@ -1069,6 +1070,7 @@ "failed to save config": "", "failed to set extra option": "", "failed to start node": "", + "false": "", "fish completion failed": "", "fish completion.": "", "if true, will embed the certs in kubeconfig.": "", @@ -1130,6 +1132,7 @@ "status json failure": "", "status text failure": "", "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "true": "", "tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer": "", "tunnel makes services of type LoadBalancer accessible on localhost": "隧道使本地主机上可以访问 LoadBalancer 类型的服务", "unable to bind flags": "", @@ -1151,7 +1154,6 @@ "usage: minikube config unset PROPERTY_NAME": "", "usage: minikube delete": "", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "", - "using metrics-server addon, heapster is deprecated": "", "version json failure": "", "version yaml failure": "", "yaml encoding failure": "", From 748147fe9bbce19a4a03f8a8314ce0874ef42b18 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 4 Nov 2022 16:46:25 +0000 Subject: [PATCH 10/11] Update ISO to v1.28.0 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0d06c1ab1c..ad1302358e 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ KUBERNETES_VERSION ?= $(shell egrep "DefaultKubernetesVersion =" pkg/minikube/co KIC_VERSION ?= $(shell egrep "Version =" pkg/drivers/kic/types.go | cut -d \" -f2) # Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions -ISO_VERSION ?= v1.27.0-1666976405-15232 +ISO_VERSION ?= v1.28.0 # Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta DEB_VERSION ?= $(subst -,~,$(RAW_VERSION)) DEB_REVISION ?= 0 diff --git a/pkg/minikube/download/iso.go b/pkg/minikube/download/iso.go index 4c26db9f5a..5cf6482601 100644 --- a/pkg/minikube/download/iso.go +++ b/pkg/minikube/download/iso.go @@ -41,7 +41,7 @@ const fileScheme = "file" // DefaultISOURLs returns a list of ISO URL's to consult by default, in priority order func DefaultISOURLs() []string { v := version.GetISOVersion() - isoBucket := "minikube-builds/iso/15232" + isoBucket := "minikube/iso" return []string{ fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s-%s.iso", isoBucket, v, runtime.GOARCH), fmt.Sprintf("https://github.com/kubernetes/minikube/releases/download/%s/minikube-%s-%s.iso", v, v, runtime.GOARCH), From e2682d5a8b6b55be875796266c0134295bf2ab86 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 4 Nov 2022 16:47:58 +0000 Subject: [PATCH 11/11] Update kicbase to v0.0.36 --- pkg/drivers/kic/types.go | 6 +++--- site/content/en/docs/commands/start.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/drivers/kic/types.go b/pkg/drivers/kic/types.go index 9c2dc6c448..43a18a0b70 100644 --- a/pkg/drivers/kic/types.go +++ b/pkg/drivers/kic/types.go @@ -24,13 +24,13 @@ import ( const ( // Version is the current version of kic - Version = "v0.0.35-1666722858-15219" + Version = "v0.0.36" // SHA of the kic base image baseImageSHA = "8debc1b6a335075c5f99bfbf131b4f5566f68c6500dc5991817832e55fcc9456" // The name of the GCR kicbase repository - gcrRepo = "gcr.io/k8s-minikube/kicbase-builds" + gcrRepo = "gcr.io/k8s-minikube/kicbase" // The name of the Dockerhub kicbase repository - dockerhubRepo = "docker.io/kicbase/build" + dockerhubRepo = "docker.io/kicbase/stable" ) var ( diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index cb5a7a15d5..42fb057137 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -26,7 +26,7 @@ minikube start [flags] --apiserver-names strings A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine --apiserver-port int The apiserver listening port (default 8443) --auto-update-drivers If set, automatically updates drivers to the latest version. Defaults to true. (default true) - --base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase-builds:v0.0.35-1666722858-15219@sha256:8debc1b6a335075c5f99bfbf131b4f5566f68c6500dc5991817832e55fcc9456") + --base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase:v0.0.36@sha256:8debc1b6a335075c5f99bfbf131b4f5566f68c6500dc5991817832e55fcc9456") --binary-mirror string Location to fetch kubectl, kubelet, & kubeadm binaries from. --cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --driver=none. (default true) --cert-expiration duration Duration until minikube certificate expiration, defaults to three years (26280h). (default 26280h0m0s)