rename socket to socket_vmnet

pull/14989/head
Steven Powell 2022-09-26 14:54:15 -07:00
parent 8c12c40853
commit ad1951ab80
13 changed files with 34 additions and 34 deletions

View File

@ -88,7 +88,7 @@ var serviceCmd = &cobra.Command{
co := mustload.Healthy(cname)
if driver.IsQEMU(co.Config.Driver) && pkgnetwork.IsUser(co.Config.Network) {
exit.Message(reason.Unimplemented, "minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'")
exit.Message(reason.Unimplemented, "minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'")
}
var services service.URLs

View File

@ -463,7 +463,7 @@ func getNetwork(driverName string) string {
return n
}
if driver.IsQEMU(driverName) {
out.WarningT("The default network for QEMU will change from 'user' to 'socket' in a future release")
out.WarningT("The default network for QEMU will change from 'user' to 'socket_vmnet' in a future release")
return "user"
}
return n

View File

@ -58,7 +58,7 @@ var tunnelCmd = &cobra.Command{
co := mustload.Healthy(cname)
if driver.IsQEMU(co.Config.Driver) && pkgnetwork.IsUser(co.Config.Network) {
exit.Message(reason.Unimplemented, "minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'")
exit.Message(reason.Unimplemented, "minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'")
}
if cleanup {

View File

@ -234,7 +234,7 @@ func (d *Driver) Create() error {
}
break
}
case "socket":
case "socket_vmnet":
d.SSHPort, err = d.GetSSHPort()
if err != nil {
return err
@ -415,7 +415,7 @@ func (d *Driver) Start() error {
startCmd = append(startCmd,
"-nic", fmt.Sprintf("user,model=virtio,hostfwd=tcp::%d-:22,hostfwd=tcp::%d-:2376,hostname=%s", d.SSHPort, d.EnginePort, d.GetMachineName()),
)
case "socket":
case "socket_vmnet":
startCmd = append(startCmd,
"-device", fmt.Sprintf("virtio-net-pci,netdev=net0,mac=%s", d.MACAddress), "-netdev", "socket,id=net0,fd=3",
)
@ -446,7 +446,7 @@ func (d *Driver) Start() error {
// If socket network, start with socket_vmnet.
startProgram := d.Program
if d.Network == "socket" {
if d.Network == "socket_vmnet" {
startProgram = viper.GetString("socket-vmnet-client-path")
socketVMnetPath := viper.GetString("socket-vmnet-path")
startCmd = append([]string{socketVMnetPath, d.Program}, startCmd...)
@ -461,7 +461,7 @@ func (d *Driver) Start() error {
switch d.Network {
case "user":
d.IPAddress = "127.0.0.1"
case "socket":
case "socket_vmnet":
var err error
getIP := func() error {
// QEMU requires MAC address with leading 0s

View File

@ -689,7 +689,7 @@
"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' in a future release": "",
"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",
@ -974,10 +974,10 @@
"minikube profile was successfully set to {{.profile_name}}": "Minikube Profil wurde erfolgreich gesetzt auf {{.profile_name}}",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "Minikube provisioniert und managed lokale Kubernetes Cluster optimiert für Entwicklungs-Workflows.",
"minikube quickly sets up a local Kubernetes cluster": "Minikube installiert schnell einen lokalen Kubernetes Cluster",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "Minikube überspringt diverse Validierungen wenn --force angegeben ist; das könnte zu unerwartetem Verhalten führen",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "Minikube {{.version}} ist verfügbar. Lade es herunter: {{.url}}",
"mkcmp is used to compare performance of two minikube binaries": "mkcmp wird verwendet um die Performance von zwei Minikube Binaries zu vergleichen",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "Das Argument \"{{.value}}\" für Mount muss in der Form \u003cQuell Verzeichnis\u003e:\u003cZiel Verzeichnis\u003e",

View File

@ -690,7 +690,7 @@
"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' in a future release": "",
"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}}",
@ -969,10 +969,10 @@
"minikube profile was successfully set to {{.profile_name}}": "",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "",
"minikube quickly sets up a local Kubernetes cluster": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "",
"mkcmp is used to compare performance of two minikube binaries": "",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",

View File

@ -668,7 +668,7 @@
"The control plane node is not running (state={{.state}})": "Le nœud du plan de contrôle n'est pas en cours d'exécution (state={{.state}})",
"The control plane node must be running for this command": "Le nœud du plan de contrôle doit être en cours d'exécution pour cette commande",
"The cri socket path to be used.": "Le chemin de socket cri à utiliser.",
"The default network for QEMU will change from 'user' to 'socket' in a future release": "",
"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/": "La commande docker-env est incompatible avec les clusters multi-nœuds. Utilisez le module '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.": "La commande docker-env n'est compatible qu'avec le runtime \"docker\", mais ce cluster a été configuré pour utiliser le runtime \"{{.runtime}}\".",
"The driver '{{.driver}}' is not supported on {{.os}}/{{.arch}}": "Le pilote \"{{.driver}}\" n'est pas compatible avec {{.os}}/{{.arch}}.",
@ -945,11 +945,11 @@
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "minikube provisionne et gère des clusters Kubernetes locaux optimisés pour les workflows de développement.",
"minikube quickly sets up a local Kubernetes cluster": "minikube configure rapidement un cluster Kubernetes local",
"minikube service is not currently implemented with the qemu2 driver. See https://github.com/kubernetes/minikube/issues/14146 for details.": "Le service minikube n'est actuellement pas implémenté avec le pilote qemu2. Voir https://github.com/kubernetes/minikube/issues/14146 pour plus de détails.",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "minikube ignore diverses validations lorsque --force est fourni ; cela peut conduire à un comportement inattendu",
"minikube status --output OUTPUT. json, text": "état minikube --sortie SORTIE. json, texte",
"minikube tunnel is not currently implemented with the qemu2 driver. See https://github.com/kubernetes/minikube/issues/14146 for details.": "Le tunnel minikube n'est actuellement pas implémenté avec le pilote qemu2. Voir https://github.com/kubernetes/minikube/issues/14146 pour plus de détails.",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "minikube {{.version}} est disponible ! Téléchargez-le ici : {{.url}}",
"mkcmp is used to compare performance of two minikube binaries": "mkcmp est utilisé pour comparer les performances de deux binaires minikube",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "argument de montage \"{{.value}}\" doit être de la forme : \u003cdossier source\u003e:\u003cdossier de destination\u003e",

View File

@ -641,7 +641,7 @@
"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' in a future release": "",
"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}} に対応していません",
@ -906,11 +906,11 @@
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "minikube は、開発ワークフロー用に最適化されたローカル Kubernetes クラスターを構築・管理します。",
"minikube quickly sets up a local Kubernetes cluster": "minikube はローカル Kubernetes クラスターを迅速にセットアップします",
"minikube service is not currently implemented with the qemu2 driver. See https://github.com/kubernetes/minikube/issues/14146 for details.": "minikube サービスは現在、qemu2 ドライバーでは実装されていません。詳細については、https://github.com/kubernetes/minikube/issues/14146 を参照してください。",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "minikube は --force が付与された場合、様々な検証をスキップします (これは予期せぬ挙動を引き起こすかも知れません)",
"minikube status --output OUTPUT. json, text": "minikube status --output OUTPUT. json, text",
"minikube tunnel is not currently implemented with the qemu2 driver. See https://github.com/kubernetes/minikube/issues/14146 for details.": "minikube トンネルは現在、qemu2 ドライバーでは実装されていません。 詳細については、https://github.com/kubernetes/minikube/issues/14146 を参照してください。",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "minikube {{.version}} が利用可能です!次の URL からダウンロードしてください: {{.url}}",
"mkcmp is used to compare performance of two minikube binaries": "mkcmp で 2 つの minikube のバイナリーのパフォーマンスを比較できます",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "マウント引数「{{.value}}」は次の形式でなければなりません: \u003cソースディレクトリー\u003e:\u003cターゲットディレクトリー\u003e",

View File

@ -695,7 +695,7 @@
"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' in a future release": "",
"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}}": "",
@ -977,10 +977,10 @@
"minikube profile was successfully set to {{.profile_name}}": "",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "minikube는 개발 워크플로우에 최적화된 로컬 쿠버네티스를 제공하고 관리합니다.",
"minikube quickly sets up a local Kubernetes cluster": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "minikube {{.version}} 이 사용가능합니다! 다음 경로에서 다운받으세요: {{.url}}",
"mkcmp is used to compare performance of two minikube binaries": "",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",

View File

@ -702,7 +702,7 @@
"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' in a future release": "",
"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.": "",
@ -982,10 +982,10 @@
"minikube profile was successfully set to {{.profile_name}}": "profil minikube został z powodzeniem zmieniony na: {{.profile_name}}",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "minikube dostarcza lokalne klastry Kubernetesa zoptymalizowane do celów rozwoju oprogramowania oraz zarządza nimi",
"minikube quickly sets up a local Kubernetes cluster": "minikube szybko inicjalizuje lokalny klaster Kubernetesa",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "użycie flagi --force sprawia, że minikube pomija pewne walidacje, co może skutkować niespodziewanym zachowaniem",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "minikube {{.version}} jest dostępne! Pobierz je z: {{.url}}",
"mkcmp is used to compare performance of two minikube binaries": "",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",

View File

@ -637,7 +637,7 @@
"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' in a future release": "",
"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}}": "",
@ -901,10 +901,10 @@
"minikube profile was successfully set to {{.profile_name}}": "",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "",
"minikube quickly sets up a local Kubernetes cluster": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "",
"mkcmp is used to compare performance of two minikube binaries": "",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",

View File

@ -637,7 +637,7 @@
"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' in a future release": "",
"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}}": "",
@ -901,10 +901,10 @@
"minikube profile was successfully set to {{.profile_name}}": "",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "",
"minikube quickly sets up a local Kubernetes cluster": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "",
"mkcmp is used to compare performance of two minikube binaries": "",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",

View File

@ -793,7 +793,7 @@
"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' in a future release": "",
"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}}”",
@ -1092,10 +1092,10 @@
"minikube profile was successfully set to {{.profile_name}}": "",
"minikube provisions and manages local Kubernetes clusters optimized for development workflows.": "",
"minikube quickly sets up a local Kubernetes cluster": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube service is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube skips various validations when --force is supplied; this may lead to unexpected behavior": "",
"minikube status --output OUTPUT. json, text": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket'": "",
"minikube tunnel is not currently implemented with the user network on QEMU, try starting minikube with '--network=socket_vmnet'": "",
"minikube {{.version}} is available! Download it: {{.url}}": "",
"mkcmp is used to compare performance of two minikube binaries": "mkcmp 用于对比两个 minikube 二进制的性能",
"mount argument \"{{.value}}\" must be in form: \u003csource directory\u003e:\u003ctarget directory\u003e": "",