From 3a4b676199c74afdd84cd276697de379648c8bf4 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 24 Jan 2022 17:00:26 -0800 Subject: [PATCH] list optimizations in flag --- cmd/minikube/cmd/start_flags.go | 2 +- site/content/en/docs/commands/start.md | 2 +- translations/de.json | 2 +- translations/es.json | 2 +- translations/fr.json | 2 +- translations/ja.json | 2 +- translations/ko.json | 2 +- translations/pl.json | 2 +- translations/ru.json | 2 +- translations/strings.txt | 2 +- translations/zh-CN.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/minikube/cmd/start_flags.go b/cmd/minikube/cmd/start_flags.go index c078e41f2d..1206e67492 100644 --- a/cmd/minikube/cmd/start_flags.go +++ b/cmd/minikube/cmd/start_flags.go @@ -192,7 +192,7 @@ func initMinikubeFlags() { startCmd.Flags().Int(extraDisks, 0, "Number of extra disks created and attached to the minikube VM (currently only implemented for hyperkit and kvm2 drivers)") startCmd.Flags().Duration(certExpiration, constants.DefaultCertExpiration, "Duration until minikube certificate expiration, defaults to three years (26280h).") startCmd.Flags().String(binaryMirror, "", "Location to fetch kubectl, kubelet, & kubeadm binaries from.") - startCmd.Flags().Bool(disableOptimizations, false, "If set, disables optimizations that improve minikube performance. Defaults to false.") + startCmd.Flags().Bool(disableOptimizations, false, "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.") } // initKubernetesFlags inits the commandline flags for Kubernetes related options diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index e9d07631fc..4415952c87 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -36,7 +36,7 @@ minikube start [flags] --cri-socket string The cri socket path to be used. --delete-on-failure If set, delete the current cluster if start fails and try again. Defaults to false. --disable-driver-mounts Disables the filesystem mounts provided by the hypervisors - --disable-optimizations If set, disables optimizations that improve minikube performance. Defaults to false. + --disable-optimizations If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false. --disk-size string Disk size allocated to the minikube VM (format: [], where unit = b, k, m or g). (default "20000mb") --dns-domain string The cluster dns domain name used in the Kubernetes cluster (default "cluster.local") --dns-proxy Enable proxy for NAT DNS requests (virtualbox driver only) diff --git a/translations/de.json b/translations/de.json index b8570e540a..253e6e7d42 100644 --- a/translations/de.json +++ b/translations/de.json @@ -327,7 +327,7 @@ "If present, writes to the provided file instead of stdout.": "Falls gesetzt, wird in die angegebene Datei geschrieben anstatt auf stdout.", "If set, automatically updates drivers to the latest version. Defaults to true.": "Falls gesetzt, werden alle Treiber automatisch auf die aktuellste Version geupdated. Default: true", "If set, delete the current cluster if start fails and try again. Defaults to false.": "Falls gesetzt, lösche den Cluster wenn der Start fehlschlägt und versuche erneut zu starten. Default: false", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "Falls gesetzt, lade einen tarball von vorbereiteten Images herunter, falls vorhanden, um die Startzeit zu verbessern. Default: true", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "Fall gesetzt, zwinge die Container Runtime systemd als cgroup Manager zu verwenden. Default: false", "If set, install addons. Defaults to true.": "Falls gesetzt, werden Addons installiert. Default: true", diff --git a/translations/es.json b/translations/es.json index e437110d91..bd88767d66 100644 --- a/translations/es.json +++ b/translations/es.json @@ -336,7 +336,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/fr.json b/translations/fr.json index 237927a1c7..17be50608d 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -317,7 +317,7 @@ "If present, writes to the provided file instead of stdout.": "S'il est présent, écrit dans le fichier fourni au lieu de la sortie standard.", "If set, automatically updates drivers to the latest version. Defaults to true.": "Si défini, met automatiquement à jour les pilotes vers la dernière version. La valeur par défaut est true.", "If set, delete the current cluster if start fails and try again. Defaults to false.": "Si défini, supprime le cluster actuel si le démarrage échoue et réessaye. La valeur par défaut est false.", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "Si défini, télécharge l'archive tar des images préchargées si disponibles pour améliorer le temps de démarrage. La valeur par défaut est true.", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "S'il est défini, force l'environnement d'exécution du conteneur à utiliser systemd comme gestionnaire de groupe de contrôle. La valeur par défaut est false.", "If set, install addons. Defaults to true.": "Si défini, installe les modules. La valeur par défaut est true.", diff --git a/translations/ja.json b/translations/ja.json index c01ca9da8a..534fb79ecd 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -324,7 +324,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/ko.json b/translations/ko.json index 4583a23816..0134078185 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -354,7 +354,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/pl.json b/translations/pl.json index 5de1521e4d..0e7fb16b8b 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -340,7 +340,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/ru.json b/translations/ru.json index 1a0ef0762b..12a0c85f6f 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -308,7 +308,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/strings.txt b/translations/strings.txt index 692c3dd217..331e04b747 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -308,7 +308,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index bb2d598aab..73bc40c6dc 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -412,7 +412,7 @@ "If present, writes to the provided file instead of stdout.": "", "If set, automatically updates drivers to the latest version. Defaults to true.": "如果设置了,将自动更新驱动到最新版本。默认为 true。", "If set, delete the current cluster if start fails and try again. Defaults to false.": "", - "If set, disables optimizations that improve minikube performance. Defaults to false.": "", + "If set, disables optimizations that improve minikube performance. The optimizations applied are decreasing CoreDNS replicas from 2 to 1 and increasing kubeadm housekeeping-interval from 10s to 5m. Defaults to false.": "", "If set, download tarball of preloaded images if available to improve start time. Defaults to true.": "", "If set, force the container runtime to use systemd as cgroup manager. Defaults to false.": "", "If set, install addons. Defaults to true.": "",