add warning to users using Docker Desktop on Linux

pull/15126/head
Steven Powell 2022-10-12 15:23:01 -07:00
parent 2f3fe5d258
commit 33ad232606
10 changed files with 12 additions and 0 deletions

View File

@ -611,6 +611,9 @@ func generateNewConfigFromFlags(cmd *cobra.Command, k8sVersion string, rtime str
klog.Info("auto-setting LocalStorageCapacityIsolation to false because using btrfs storage driver")
cc.KubernetesConfig.FeatureGates = addFeatureGate(cc.KubernetesConfig.FeatureGates, "LocalStorageCapacityIsolation=false")
}
if runtime.GOOS == "linux" && si.DockerOS == "Docker Desktop" {
out.WarningT("For an improved experience it's recommended to use Docker Engine over Docker Desktop")
}
}
return cc

View File

@ -295,6 +295,7 @@
"Filter to use only VM Drivers": "Filtern um nur VM Treiber zu verwenden",
"Flags": "",
"Follow": "Fehler beim Folgen der Logs",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "Für beste Ergebnisse installieren Sie kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/__1": "Für beste Ergebnisse installieren Sie kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For improved {{.driver}} performance, {{.fix}}": "Um die {{.driver}} Performance zu verbessern, {{.fix}}",

View File

@ -304,6 +304,7 @@
"Filter to use only VM Drivers": "",
"Flags": "",
"Follow": "",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "Para disfrutar de un funcionamiento óptimo, instala kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/__1": "Para disfrutar de un funcionamiento óptimo, instala kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For improved {{.driver}} performance, {{.fix}}": "",

View File

@ -289,6 +289,7 @@
"Filter to use only VM Drivers": "Filtrer pour n'utiliser que les pilotes VM",
"Flags": "Indicateurs",
"Follow": "Suivre",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "Pour de meilleures performances {{.driver}}, {{.fix}}",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "Pour plus d'informations, voir : https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}",
"For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "Pour plus d'informations, voir : https://minikube.sigs.k8s.io/docs/reference/drivers/none/",

View File

@ -278,6 +278,7 @@
"Filter to use only VM Drivers": "VM ドライバーのみ使用するためのフィルタ",
"Flags": "フラグ",
"Follow": "フォロー",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "{{.driver}} の性能向上のため、{{.fix}}",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "追加の詳細情報はこちらを参照してください: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}",
"For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "追加の詳細情報はこちらを参照してください: https://minikube.sigs.k8s.io/docs/reference/drivers/none/",

View File

@ -319,6 +319,7 @@
"Filter to use only VM Drivers": "",
"Flags": "",
"Follow": "",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "",
"For more information, see:": "더 많은 정보를 보려면, 다음을 참고하세요:",

View File

@ -306,6 +306,7 @@
"Filter to use only VM Drivers": "",
"Flags": "",
"Follow": "",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "",
"For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "",

View File

@ -276,6 +276,7 @@
"Filter to use only VM Drivers": "",
"Flags": "",
"Follow": "",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "",
"For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "",

View File

@ -276,6 +276,7 @@
"Filter to use only VM Drivers": "",
"Flags": "",
"Follow": "",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For improved {{.driver}} performance, {{.fix}}": "",
"For more information see: https://minikube.sigs.k8s.io/docs/drivers/{{.driver}}": "",
"For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "",

View File

@ -372,6 +372,7 @@
"Filter to use only VM Drivers": "",
"Flags": "标志",
"Follow": "跟踪",
"For an improved experience it's recommended to use Docker Engine over Docker Desktop": "",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/": "为获得最佳结果,请安装 kubectlhttps://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/__1": "为获得最佳结果,请安装 kubectlhttps://kubernetes.io/docs/tasks/tools/install-kubectl/",
"For improved {{.driver}} performance, {{.fix}}": "",