From 249392038d8ed2476567ca43e7c5662dbd4f2924 Mon Sep 17 00:00:00 2001 From: Toshiaki Inukai Date: Wed, 2 Mar 2022 04:11:18 +0000 Subject: [PATCH 01/72] Add processing to remove duplicated escape characters --- pkg/minikube/extract/extract.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/minikube/extract/extract.go b/pkg/minikube/extract/extract.go index 7c3c1e96f9..888b1f2560 100644 --- a/pkg/minikube/extract/extract.go +++ b/pkg/minikube/extract/extract.go @@ -355,6 +355,12 @@ func checkString(s string) string { } } + // Remove unnecessary backslashes + if s[0] == '"' { + r := strings.NewReplacer(`\\`, "\\", `\a`, "\a", `\b`, "\b", `\f`, "\f", `\n`, "\n", `\r`, "\r", `\t`, "\t", `\v`, "\v", `\"`, "\"") + stringToTranslate = r.Replace(stringToTranslate) + } + // Hooray, we can translate the string! return stringToTranslate } From b5cd6c45497d9b35ebf55d81a771cb9f409920a5 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 17 Mar 2022 14:55:11 -0700 Subject: [PATCH 02/72] containerd: use drop in config to update values --- .../containerd-bin-aarch64/config.toml | 143 ++++++------------ .../package/containerd-bin/containerd-bin.mk | 1 + deploy/kicbase/Dockerfile | 1 + deploy/kicbase/containerd.toml | 76 ++++++++++ pkg/minikube/cruntime/containerd.go | 94 +++--------- 5 files changed, 140 insertions(+), 175 deletions(-) create mode 100644 deploy/kicbase/containerd.toml diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml index f588941a5e..25555749c7 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml @@ -1,26 +1,16 @@ version = 2 root = "/var/lib/containerd" state = "/run/containerd" -plugin_dir = "" -disabled_plugins = [] -required_plugins = [] oom_score = 0 +imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"] [grpc] address = "/run/containerd/containerd.sock" - tcp_address = "" - tcp_tls_cert = "" - tcp_tls_key = "" uid = 0 gid = 0 max_recv_message_size = 16777216 max_send_message_size = 16777216 -[ttrpc] - address = "" - uid = 0 - gid = 0 - [debug] address = "" uid = 0 @@ -34,100 +24,53 @@ oom_score = 0 [cgroup] path = "" -[timeouts] - "io.containerd.timeout.shim.cleanup" = "5s" - "io.containerd.timeout.shim.load" = "5s" - "io.containerd.timeout.shim.shutdown" = "3s" - "io.containerd.timeout.task.state" = "2s" +[proxy_plugins] +# fuse-overlayfs is used for rootless +[proxy_plugins."fuse-overlayfs"] + type = "snapshot" + address = "/run/containerd-fuse-overlayfs.sock" [plugins] + [plugins."io.containerd.monitor.v1.cgroups"] + no_prometheus = false + [plugins."io.containerd.grpc.v1.cri"] + stream_server_address = "" + stream_server_port = "10010" + enable_selinux = false + sandbox_image = "k8s.gcr.io/pause:3.6" + stats_collect_period = 10 + enable_tls_streaming = false + max_container_log_line_size = 16384 + restrict_oom_score_adj = false + + [plugins."io.containerd.grpc.v1.cri".containerd] + discard_unpacked_layers = true + snapshotter = "overlayfs" + [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] + runtime_type = "" + runtime_engine = "" + runtime_root = "" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] + SystemdCgroup = false + + [plugins."io.containerd.grpc.v1.cri".cni] + bin_dir = "/opt/cni/bin" + conf_dir = "/etc/cni/net.mk" + conf_template = "" + [plugins."io.containerd.grpc.v1.cri".registry] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] + endpoint = ["https://registry-1.docker.io"] + [plugins."io.containerd.service.v1.diff-service"] + default = ["walking"] [plugins."io.containerd.gc.v1.scheduler"] pause_threshold = 0.02 deletion_threshold = 0 mutation_threshold = 100 schedule_delay = "0s" startup_delay = "100ms" - [plugins."io.containerd.grpc.v1.cri"] - disable_tcp_service = true - stream_server_address = "" - stream_server_port = "10010" - stream_idle_timeout = "4h0m0s" - enable_selinux = false - selinux_category_range = 1024 - sandbox_image = "k8s.gcr.io/pause:3.2" - stats_collect_period = 10 - systemd_cgroup = true - enable_tls_streaming = false - max_container_log_line_size = 16384 - disable_cgroup = false - disable_apparmor = false - restrict_oom_score_adj = false - max_concurrent_downloads = 3 - disable_proc_mount = false - unset_seccomp_profile = "" - tolerate_missing_hugetlb_controller = true - disable_hugetlb_controller = true - ignore_image_defined_volumes = false - [plugins."io.containerd.grpc.v1.cri".containerd] - snapshotter = "overlayfs" - default_runtime_name = "runc" - no_pivot = false - disable_snapshot_annotations = true - discard_unpacked_layers = false - [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] - runtime_type = "" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] - runtime_type = "" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] - runtime_type = "io.containerd.runc.v2" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] - [plugins."io.containerd.grpc.v1.cri".cni] - bin_dir = "/opt/cni/bin" - conf_dir = "/etc/cni/net.d" - max_conf_num = 1 - conf_template = "" - [plugins."io.containerd.grpc.v1.cri".registry] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] - endpoint = ["https://registry-1.docker.io"] - [plugins."io.containerd.grpc.v1.cri".image_decryption] - key_model = "" - [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming] - tls_cert_file = "" - tls_key_file = "" - [plugins."io.containerd.internal.v1.opt"] - path = "/opt/containerd" - [plugins."io.containerd.internal.v1.restart"] - interval = "10s" - [plugins."io.containerd.metadata.v1.bolt"] - content_sharing_policy = "shared" - [plugins."io.containerd.monitor.v1.cgroups"] - no_prometheus = false - [plugins."io.containerd.runtime.v1.linux"] - shim = "containerd-shim" - runtime = "runc" - runtime_root = "" - no_shim = false - shim_debug = false - [plugins."io.containerd.runtime.v2.task"] - platforms = ["linux/amd64"] - [plugins."io.containerd.service.v1.diff-service"] - default = ["walking"] - [plugins."io.containerd.snapshotter.v1.devmapper"] - root_path = "" - pool_name = "" - base_image_size = "" - async_remove = false diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk index 509a9ad761..0d729d6c9c 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk +++ b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk @@ -27,6 +27,7 @@ endef define CONTAINERD_BIN_CONFIGURE_CMDS mkdir -p $(CONTAINERD_BIN_GOPATH)/src/github.com/containerd + mkdir -p $(TARGET_DIR)/etc/containerd/containerd.conf.d ln -sf $(@D) $(CONTAINERD_BIN_COMPILE_SRC) endef diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 549f48c985..2d1c4ca9dd 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -44,6 +44,7 @@ ARG CRIO_VERSION="1.22" COPY deploy/kicbase/10-network-security.conf /etc/sysctl.d/10-network-security.conf COPY deploy/kicbase/11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf COPY deploy/kicbase/02-crio.conf /etc/crio/crio.conf.d/02-crio.conf +COPY deploy/kicbase/containerd.toml /etc/containerd/containerd.toml COPY deploy/kicbase/clean-install /usr/local/bin/clean-install COPY deploy/kicbase/entrypoint /usr/local/bin/entrypoint COPY --from=0 /src/cmd/auto-pause/auto-pause /bin/auto-pause diff --git a/deploy/kicbase/containerd.toml b/deploy/kicbase/containerd.toml new file mode 100644 index 0000000000..07367dfd21 --- /dev/null +++ b/deploy/kicbase/containerd.toml @@ -0,0 +1,76 @@ +version = 2 +root = "/var/lib/containerd" +state = "/run/containerd" +oom_score = 0 +imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"] + +[grpc] + address = "/run/containerd/containerd.sock" + uid = 0 + gid = 0 + max_recv_message_size = 16777216 + max_send_message_size = 16777216 + +[debug] + address = "" + uid = 0 + gid = 0 + level = "" + +[metrics] + address = "" + grpc_histogram = false + +[cgroup] + path = "" + +[proxy_plugins] +# fuse-overlayfs is used for rootless +[proxy_plugins."fuse-overlayfs"] + type = "snapshot" + address = "/run/containerd-fuse-overlayfs.sock" + +[plugins] + [plugins."io.containerd.monitor.v1.cgroups"] + no_prometheus = false + [plugins."io.containerd.grpc.v1.cri"] + stream_server_address = "" + stream_server_port = "10010" + enable_selinux = false + sandbox_image = "k8s.gcr.io/pause:3.6" + stats_collect_period = 10 + enable_tls_streaming = false + max_container_log_line_size = 16384 + restrict_oom_score_adj = false + + [plugins."io.containerd.grpc.v1.cri".containerd] + discard_unpacked_layers = true + snapshotter = "overlayfs" + [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] + runtime_type = "" + runtime_engine = "" + runtime_root = "" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] + SystemdCgroup = false + + [plugins."io.containerd.grpc.v1.cri".cni] + bin_dir = "/opt/cni/bin" + conf_dir = "/etc/cni/net.mk" + conf_template = "" + [plugins."io.containerd.grpc.v1.cri".registry] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] + endpoint = ["https://registry-1.docker.io"] + [plugins."io.containerd.service.v1.diff-service"] + default = ["walking"] + [plugins."io.containerd.gc.v1.scheduler"] + pause_threshold = 0.02 + deletion_threshold = 0 + mutation_threshold = 100 + schedule_delay = "0s" + startup_delay = "100ms" diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 2b96ba21bd..b235bd0c1f 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -45,79 +45,26 @@ import ( const ( containerdNamespaceRoot = "/run/containerd/runc/k8s.io" // ContainerdConfFile is the path to the containerd configuration - containerdConfigFile = "/etc/containerd/config.toml" + containerdConfigFile = "/etc/containerd/containerd.conf.d/02-containerd.conf" containerdConfigTemplate = `version = 2 -root = "/var/lib/containerd" -state = "/run/containerd" -oom_score = 0 -[grpc] - address = "/run/containerd/containerd.sock" - uid = 0 - gid = 0 - max_recv_message_size = 16777216 - max_send_message_size = 16777216 +[plugins."io.containerd.grpc.v1.cri"] + sandbox_image = "{{ .PodInfraContainerImage }}" + restrict_oom_score_adj = {{ .InUserNamespace }} -[debug] - address = "" - uid = 0 - gid = 0 - level = "" + [plugins."io.containerd.grpc.v1.cri".containerd] + {{ if .InUserNamespace }} + snapshotter = "fuse-overlayfs" + {{ end }} + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] + SystemdCgroup = {{ .SystemdCgroup }} -[metrics] - address = "" - grpc_histogram = false + [plugins."io.containerd.grpc.v1.cri".cni] + conf_dir = "{{.CNIConfDir}}" -[cgroup] - path = "" - -[plugins] - [plugins."io.containerd.monitor.v1.cgroups"] - no_prometheus = false - [plugins."io.containerd.grpc.v1.cri"] - stream_server_address = "" - stream_server_port = "10010" - enable_selinux = false - sandbox_image = "{{ .PodInfraContainerImage }}" - stats_collect_period = 10 - enable_tls_streaming = false - max_container_log_line_size = 16384 - restrict_oom_score_adj = {{ .RestrictOOMScoreAdj }} - - [plugins."io.containerd.grpc.v1.cri".containerd] - discard_unpacked_layers = true - snapshotter = "{{ .Snapshotter }}" - [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] - runtime_type = "io.containerd.runc.v2" - [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] - runtime_type = "" - runtime_engine = "" - runtime_root = "" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] - runtime_type = "io.containerd.runc.v2" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] - SystemdCgroup = {{ .SystemdCgroup }} - - [plugins."io.containerd.grpc.v1.cri".cni] - bin_dir = "/opt/cni/bin" - conf_dir = "{{.CNIConfDir}}" - conf_template = "" - [plugins."io.containerd.grpc.v1.cri".registry] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] - endpoint = ["https://registry-1.docker.io"] - {{ range .InsecureRegistry -}} - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."{{. -}}"] - endpoint = ["http://{{. -}}"] - {{ end -}} - [plugins."io.containerd.service.v1.diff-service"] - default = ["walking"] - [plugins."io.containerd.gc.v1.scheduler"] - pause_threshold = 0.02 - deletion_threshold = 0 - mutation_threshold = 100 - schedule_delay = "0s" - startup_delay = "100ms" + {{ range .InsecureRegistry -}} + [plugins."io.containerd.grpc.v1.cri".registry.mirrors."{{. -}}"] + endpoint = ["http://{{. -}}"] + {{ end -}} ` ) @@ -193,7 +140,7 @@ func (r *Containerd) Available() error { return nil } -// generateContainerdConfig sets up /etc/containerd/config.toml +// generateContainerdConfig sets up /etc/containerd/containerd.conf.d/02-containerd.conf func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semver.Version, forceSystemd bool, insecureRegistry []string, inUserNamespace bool) error { cPath := containerdConfigFile t, err := template.New("containerd.config.toml").Parse(containerdConfigTemplate) @@ -201,21 +148,18 @@ func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semve return err } pauseImage := images.Pause(kv, imageRepository) - snapshotter := "overlayfs" opts := struct { PodInfraContainerImage string SystemdCgroup bool InsecureRegistry []string CNIConfDir string - RestrictOOMScoreAdj bool - Snapshotter string + InUserNamespace bool }{ PodInfraContainerImage: pauseImage, SystemdCgroup: forceSystemd, InsecureRegistry: insecureRegistry, CNIConfDir: cni.ConfDir, - RestrictOOMScoreAdj: inUserNamespace, - Snapshotter: snapshotter, + InUserNamespace: inUserNamespace, } var b bytes.Buffer if err := t.Execute(&b, opts); err != nil { From cf036c63ed9ade0623a678f1d7b32144e9b6ccb2 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 18 Mar 2022 09:56:36 -0700 Subject: [PATCH 03/72] rename config file to config.toml --- deploy/kicbase/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 2d1c4ca9dd..4c434061bd 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -44,7 +44,7 @@ ARG CRIO_VERSION="1.22" COPY deploy/kicbase/10-network-security.conf /etc/sysctl.d/10-network-security.conf COPY deploy/kicbase/11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf COPY deploy/kicbase/02-crio.conf /etc/crio/crio.conf.d/02-crio.conf -COPY deploy/kicbase/containerd.toml /etc/containerd/containerd.toml +COPY deploy/kicbase/containerd.toml /etc/containerd/config.toml COPY deploy/kicbase/clean-install /usr/local/bin/clean-install COPY deploy/kicbase/entrypoint /usr/local/bin/entrypoint COPY --from=0 /src/cmd/auto-pause/auto-pause /bin/auto-pause From 0cda289d884c625bff93e9c2e1dee2a27616eba9 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 18 Mar 2022 11:52:17 -0700 Subject: [PATCH 04/72] set flags to auto resolve config file conflicts --- deploy/kicbase/clean-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kicbase/clean-install b/deploy/kicbase/clean-install index 33b3238b75..84a467d8d7 100755 --- a/deploy/kicbase/clean-install +++ b/deploy/kicbase/clean-install @@ -26,7 +26,7 @@ if [ $# = 0 ]; then fi apt-get update -apt-get install -y --no-install-recommends "$@" +apt-get install -y --no-install-recommends -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" "$@" apt-get clean -y rm -rf \ /var/cache/debconf/* \ From 614836d51cd9560e81fdb6f5f1294683e308c5df Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 22 Mar 2022 13:50:06 -0700 Subject: [PATCH 05/72] prevent imported config file from overwriting --- pkg/minikube/cruntime/containerd.go | 63 +++++++++++++---------------- 1 file changed, 29 insertions(+), 34 deletions(-) diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index b235bd0c1f..1d123435bf 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -45,26 +45,13 @@ import ( const ( containerdNamespaceRoot = "/run/containerd/runc/k8s.io" // ContainerdConfFile is the path to the containerd configuration - containerdConfigFile = "/etc/containerd/containerd.conf.d/02-containerd.conf" - containerdConfigTemplate = `version = 2 -[plugins."io.containerd.grpc.v1.cri"] - sandbox_image = "{{ .PodInfraContainerImage }}" - restrict_oom_score_adj = {{ .InUserNamespace }} - - [plugins."io.containerd.grpc.v1.cri".containerd] - {{ if .InUserNamespace }} - snapshotter = "fuse-overlayfs" - {{ end }} - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] - SystemdCgroup = {{ .SystemdCgroup }} - - [plugins."io.containerd.grpc.v1.cri".cni] - conf_dir = "{{.CNIConfDir}}" - - {{ range .InsecureRegistry -}} - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."{{. -}}"] - endpoint = ["http://{{. -}}"] - {{ end -}} + containerdConfigFile = "/etc/containerd/config.toml" + containerdImportedConfigFile = "/etc/containerd/containerd.conf.d/02-containerd.conf" + containerdConfigTemplate = `version = 2 +{{ range .InsecureRegistry -}} +[plugins."io.containerd.grpc.v1.cri".registry.mirrors."{{. -}}"] + endpoint = ["http://{{. -}}"] +{{ end -}} ` ) @@ -140,26 +127,34 @@ func (r *Containerd) Available() error { return nil } -// generateContainerdConfig sets up /etc/containerd/containerd.conf.d/02-containerd.conf +// generateContainerdConfig sets up /etc/containerd/config.toml & /etc/containerd/containerd.conf.d/02-containerd.conf func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semver.Version, forceSystemd bool, insecureRegistry []string, inUserNamespace bool) error { - cPath := containerdConfigFile - t, err := template.New("containerd.config.toml").Parse(containerdConfigTemplate) + pauseImage := images.Pause(kv, imageRepository) + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*sandbox_image = .*$|sandbox_image = \"%s\"|' -i %s", pauseImage, containerdConfigFile))); err != nil { + return errors.Wrap(err, "update sandbox_image") + } + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*restrict_oom_score_adj = .*$|restrict_oom_score_adj = \"%t\"|' -i %s", inUserNamespace, containerdConfigFile))); err != nil { + return errors.Wrap(err, "update restrict_oom_score_adj") + } + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*SystemdCgroup = .*$|SystemdCgroup = \"%t\"|' -i %s", forceSystemd, containerdConfigFile))); err != nil { + return errors.Wrap(err, "update SystemdCgroup") + } + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*conf_dir = .*$|conf_dir = \"%s\"|' -i %s", cni.ConfDir, containerdConfigFile))); err != nil { + return errors.Wrap(err, "update conf_dir") + } + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*snapshotter = \"overlayfs\"|snapshotter = \"fuse-overlayfs\"|' -i %s", containerdConfigFile))); err != nil { + return errors.Wrap(err, "update snapshotter") + } + + cPath := containerdImportedConfigFile + t, err := template.New("02-containerd.conf").Parse(containerdConfigTemplate) if err != nil { return err } - pauseImage := images.Pause(kv, imageRepository) opts := struct { - PodInfraContainerImage string - SystemdCgroup bool - InsecureRegistry []string - CNIConfDir string - InUserNamespace bool + InsecureRegistry []string }{ - PodInfraContainerImage: pauseImage, - SystemdCgroup: forceSystemd, - InsecureRegistry: insecureRegistry, - CNIConfDir: cni.ConfDir, - InUserNamespace: inUserNamespace, + InsecureRegistry: insecureRegistry, } var b bytes.Buffer if err := t.Execute(&b, opts); err != nil { From fc33f21dfd34599ec124f2474aa1674527fc2bbe Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Wed, 23 Mar 2022 03:48:13 +0000 Subject: [PATCH 06/72] Updating ISO to v1.25.2-1648002791-13807 --- site/content/en/docs/commands/start.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 1136cc82d3..cbf2d6a5ea 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,11 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) +<<<<<<< HEAD --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791.iso]) +======= + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.25.2-1648002791-13807.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1648002791-13807/minikube-v1.25.2-1648002791-13807.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1648002791-13807.iso]) +>>>>>>> eed46033b (Updating ISO to v1.25.2-1648002791-13807) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.5, 'latest' for v1.23.6-rc.0). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From 98f2b6f0b642df4703b46568a1bc84a9e13b891e Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 23 Mar 2022 09:59:34 -0700 Subject: [PATCH 07/72] fixed adding quotes around bool values --- pkg/minikube/cruntime/containerd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 1d123435bf..8b8863ec31 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -133,10 +133,10 @@ func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semve if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*sandbox_image = .*$|sandbox_image = \"%s\"|' -i %s", pauseImage, containerdConfigFile))); err != nil { return errors.Wrap(err, "update sandbox_image") } - if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*restrict_oom_score_adj = .*$|restrict_oom_score_adj = \"%t\"|' -i %s", inUserNamespace, containerdConfigFile))); err != nil { + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*restrict_oom_score_adj = .*$|restrict_oom_score_adj = %t|' -i %s", inUserNamespace, containerdConfigFile))); err != nil { return errors.Wrap(err, "update restrict_oom_score_adj") } - if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*SystemdCgroup = .*$|SystemdCgroup = \"%t\"|' -i %s", forceSystemd, containerdConfigFile))); err != nil { + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*SystemdCgroup = .*$|SystemdCgroup = %t|' -i %s", forceSystemd, containerdConfigFile))); err != nil { return errors.Wrap(err, "update SystemdCgroup") } if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*conf_dir = .*$|conf_dir = \"%s\"|' -i %s", cni.ConfDir, containerdConfigFile))); err != nil { From a29adcd55529c735f0848f33bbcdb2ec39e116a1 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Wed, 23 Mar 2022 18:23:55 +0000 Subject: [PATCH 08/72] Updating ISO to v1.25.2-1648055164-13807 --- site/content/en/docs/commands/start.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index cbf2d6a5ea..1136cc82d3 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,11 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) -<<<<<<< HEAD --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791.iso]) -======= - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.25.2-1648002791-13807.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1648002791-13807/minikube-v1.25.2-1648002791-13807.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1648002791-13807.iso]) ->>>>>>> eed46033b (Updating ISO to v1.25.2-1648002791-13807) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.5, 'latest' for v1.23.6-rc.0). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From 1294c2080b7e6c6342380bd17fc87b5a9302b182 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 23 Mar 2022 13:29:57 -0700 Subject: [PATCH 09/72] only use fuse-overlayfs if in user namespace --- pkg/minikube/cruntime/containerd.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 8b8863ec31..819c9dba07 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -142,8 +142,10 @@ func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semve if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*conf_dir = .*$|conf_dir = \"%s\"|' -i %s", cni.ConfDir, containerdConfigFile))); err != nil { return errors.Wrap(err, "update conf_dir") } - if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*snapshotter = \"overlayfs\"|snapshotter = \"fuse-overlayfs\"|' -i %s", containerdConfigFile))); err != nil { - return errors.Wrap(err, "update snapshotter") + if inUserNamespace { + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*snapshotter = \"overlayfs\"|snapshotter = \"fuse-overlayfs\"|' -i %s", containerdConfigFile))); err != nil { + return errors.Wrap(err, "update snapshotter") + } } cPath := containerdImportedConfigFile From 614726958d38f9ce8778675f4bcdf8d8d3377f31 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 24 Mar 2022 15:05:21 -0700 Subject: [PATCH 10/72] only import when containerd explictly enabled --- .../arch/aarch64/package/containerd-bin-aarch64/config.toml | 2 +- deploy/kicbase/containerd.toml | 2 +- pkg/minikube/cruntime/containerd.go | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml index 25555749c7..26db5a2699 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml @@ -2,7 +2,7 @@ version = 2 root = "/var/lib/containerd" state = "/run/containerd" oom_score = 0 -imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"] +# imports [grpc] address = "/run/containerd/containerd.sock" diff --git a/deploy/kicbase/containerd.toml b/deploy/kicbase/containerd.toml index 07367dfd21..836d49ebed 100644 --- a/deploy/kicbase/containerd.toml +++ b/deploy/kicbase/containerd.toml @@ -2,7 +2,7 @@ version = 2 root = "/var/lib/containerd" state = "/run/containerd" oom_score = 0 -imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"] +# imports [grpc] address = "/run/containerd/containerd.sock" diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 819c9dba07..186f224dd6 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -142,6 +142,10 @@ func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semve if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*conf_dir = .*$|conf_dir = \"%s\"|' -i %s", cni.ConfDir, containerdConfigFile))); err != nil { return errors.Wrap(err, "update conf_dir") } + imports := `imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"]` + if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^# imports|%s|' -i %s", imports, containerdConfigFile))); err != nil { + return errors.Wrap(err, "update conf_dir") + } if inUserNamespace { if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*snapshotter = \"overlayfs\"|snapshotter = \"fuse-overlayfs\"|' -i %s", containerdConfigFile))); err != nil { return errors.Wrap(err, "update snapshotter") From c7b0e542ee6c7f92a25e047e97f2a40057eba592 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Sat, 26 Mar 2022 01:57:49 +0430 Subject: [PATCH 11/72] remove overlayfs --- pkg/minikube/cruntime/containerd.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/minikube/cruntime/containerd.go b/pkg/minikube/cruntime/containerd.go index 186f224dd6..f5e4be75af 100644 --- a/pkg/minikube/cruntime/containerd.go +++ b/pkg/minikube/cruntime/containerd.go @@ -146,11 +146,6 @@ func generateContainerdConfig(cr CommandRunner, imageRepository string, kv semve if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^# imports|%s|' -i %s", imports, containerdConfigFile))); err != nil { return errors.Wrap(err, "update conf_dir") } - if inUserNamespace { - if _, err := cr.RunCmd(exec.Command("/bin/bash", "-c", fmt.Sprintf("sudo sed -e 's|^.*snapshotter = \"overlayfs\"|snapshotter = \"fuse-overlayfs\"|' -i %s", containerdConfigFile))); err != nil { - return errors.Wrap(err, "update snapshotter") - } - } cPath := containerdImportedConfigFile t, err := template.New("02-containerd.conf").Parse(containerdConfigTemplate) From dd444b8ec2688605de7ab5b39635eb7072d3ae23 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Sat, 26 Mar 2022 02:00:01 +0430 Subject: [PATCH 12/72] remove overlayfs from config files --- .../arch/aarch64/package/containerd-bin-aarch64/config.toml | 6 ------ deploy/kicbase/containerd.toml | 6 ------ 2 files changed, 12 deletions(-) diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml index 26db5a2699..b060e08f19 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/config.toml @@ -24,12 +24,6 @@ oom_score = 0 [cgroup] path = "" -[proxy_plugins] -# fuse-overlayfs is used for rootless -[proxy_plugins."fuse-overlayfs"] - type = "snapshot" - address = "/run/containerd-fuse-overlayfs.sock" - [plugins] [plugins."io.containerd.monitor.v1.cgroups"] no_prometheus = false diff --git a/deploy/kicbase/containerd.toml b/deploy/kicbase/containerd.toml index 836d49ebed..6270ba5879 100644 --- a/deploy/kicbase/containerd.toml +++ b/deploy/kicbase/containerd.toml @@ -24,12 +24,6 @@ oom_score = 0 [cgroup] path = "" -[proxy_plugins] -# fuse-overlayfs is used for rootless -[proxy_plugins."fuse-overlayfs"] - type = "snapshot" - address = "/run/containerd-fuse-overlayfs.sock" - [plugins] [plugins."io.containerd.monitor.v1.cgroups"] no_prometheus = false From 5161fc29c190990c7327ee03abc2c2648975492b Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 12 May 2022 11:06:27 -0700 Subject: [PATCH 13/72] add changes to arm64 iso --- .../containerd-bin-aarch64/containerd-bin.mk | 1 + .../x86_64/package/containerd-bin/config.toml | 139 +++++------------- 2 files changed, 39 insertions(+), 101 deletions(-) diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk index d019e82c66..2862773751 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk @@ -26,6 +26,7 @@ endef define CONTAINERD_BIN_AARCH64_CONFIGURE_CMDS mkdir -p $(CONTAINERD_BIN_AARCH64_GOPATH)/src/github.com/containerd + mkdir -p $(TARGET_DIR)/etc/containerd/containerd.conf.d ln -sf $(@D) $(CONTAINERD_BIN_AARCH64_COMPILE_SRC) endef diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/config.toml b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/config.toml index f588941a5e..b060e08f19 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/config.toml +++ b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/config.toml @@ -1,26 +1,16 @@ version = 2 root = "/var/lib/containerd" state = "/run/containerd" -plugin_dir = "" -disabled_plugins = [] -required_plugins = [] oom_score = 0 +# imports [grpc] address = "/run/containerd/containerd.sock" - tcp_address = "" - tcp_tls_cert = "" - tcp_tls_key = "" uid = 0 gid = 0 max_recv_message_size = 16777216 max_send_message_size = 16777216 -[ttrpc] - address = "" - uid = 0 - gid = 0 - [debug] address = "" uid = 0 @@ -34,100 +24,47 @@ oom_score = 0 [cgroup] path = "" -[timeouts] - "io.containerd.timeout.shim.cleanup" = "5s" - "io.containerd.timeout.shim.load" = "5s" - "io.containerd.timeout.shim.shutdown" = "3s" - "io.containerd.timeout.task.state" = "2s" - [plugins] + [plugins."io.containerd.monitor.v1.cgroups"] + no_prometheus = false + [plugins."io.containerd.grpc.v1.cri"] + stream_server_address = "" + stream_server_port = "10010" + enable_selinux = false + sandbox_image = "k8s.gcr.io/pause:3.6" + stats_collect_period = 10 + enable_tls_streaming = false + max_container_log_line_size = 16384 + restrict_oom_score_adj = false + + [plugins."io.containerd.grpc.v1.cri".containerd] + discard_unpacked_layers = true + snapshotter = "overlayfs" + [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] + runtime_type = "" + runtime_engine = "" + runtime_root = "" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] + runtime_type = "io.containerd.runc.v2" + [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] + SystemdCgroup = false + + [plugins."io.containerd.grpc.v1.cri".cni] + bin_dir = "/opt/cni/bin" + conf_dir = "/etc/cni/net.mk" + conf_template = "" + [plugins."io.containerd.grpc.v1.cri".registry] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors] + [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] + endpoint = ["https://registry-1.docker.io"] + [plugins."io.containerd.service.v1.diff-service"] + default = ["walking"] [plugins."io.containerd.gc.v1.scheduler"] pause_threshold = 0.02 deletion_threshold = 0 mutation_threshold = 100 schedule_delay = "0s" startup_delay = "100ms" - [plugins."io.containerd.grpc.v1.cri"] - disable_tcp_service = true - stream_server_address = "" - stream_server_port = "10010" - stream_idle_timeout = "4h0m0s" - enable_selinux = false - selinux_category_range = 1024 - sandbox_image = "k8s.gcr.io/pause:3.2" - stats_collect_period = 10 - systemd_cgroup = true - enable_tls_streaming = false - max_container_log_line_size = 16384 - disable_cgroup = false - disable_apparmor = false - restrict_oom_score_adj = false - max_concurrent_downloads = 3 - disable_proc_mount = false - unset_seccomp_profile = "" - tolerate_missing_hugetlb_controller = true - disable_hugetlb_controller = true - ignore_image_defined_volumes = false - [plugins."io.containerd.grpc.v1.cri".containerd] - snapshotter = "overlayfs" - default_runtime_name = "runc" - no_pivot = false - disable_snapshot_annotations = true - discard_unpacked_layers = false - [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime] - runtime_type = "" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime] - runtime_type = "" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes] - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] - runtime_type = "io.containerd.runc.v2" - runtime_engine = "" - runtime_root = "" - privileged_without_host_devices = false - base_runtime_spec = "" - [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] - [plugins."io.containerd.grpc.v1.cri".cni] - bin_dir = "/opt/cni/bin" - conf_dir = "/etc/cni/net.d" - max_conf_num = 1 - conf_template = "" - [plugins."io.containerd.grpc.v1.cri".registry] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors] - [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] - endpoint = ["https://registry-1.docker.io"] - [plugins."io.containerd.grpc.v1.cri".image_decryption] - key_model = "" - [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming] - tls_cert_file = "" - tls_key_file = "" - [plugins."io.containerd.internal.v1.opt"] - path = "/opt/containerd" - [plugins."io.containerd.internal.v1.restart"] - interval = "10s" - [plugins."io.containerd.metadata.v1.bolt"] - content_sharing_policy = "shared" - [plugins."io.containerd.monitor.v1.cgroups"] - no_prometheus = false - [plugins."io.containerd.runtime.v1.linux"] - shim = "containerd-shim" - runtime = "runc" - runtime_root = "" - no_shim = false - shim_debug = false - [plugins."io.containerd.runtime.v2.task"] - platforms = ["linux/amd64"] - [plugins."io.containerd.service.v1.diff-service"] - default = ["walking"] - [plugins."io.containerd.snapshotter.v1.devmapper"] - root_path = "" - pool_name = "" - base_image_size = "" - async_remove = false From b9a1f7443a4d6356b1871f6e2c79539606ecab41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Thu, 12 May 2022 21:28:31 +0200 Subject: [PATCH 14/72] Upgrade Docker, from 20.10.14 to 20.10.15 runc v1.1.1 containerd v1.6.4 --- .../package/containerd-bin-aarch64/containerd-bin.hash | 1 + .../aarch64/package/containerd-bin-aarch64/containerd-bin.mk | 4 ++-- .../arch/aarch64/package/docker-bin-aarch64/docker-bin.hash | 1 + .../arch/aarch64/package/docker-bin-aarch64/docker-bin.mk | 2 +- .../arch/aarch64/package/runc-master-aarch64/runc-master.hash | 1 + .../arch/aarch64/package/runc-master-aarch64/runc-master.mk | 4 ++-- .../arch/x86_64/package/containerd-bin/containerd-bin.hash | 1 + .../arch/x86_64/package/containerd-bin/containerd-bin.mk | 4 ++-- .../arch/x86_64/package/docker-bin/docker-bin.hash | 1 + .../minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk | 2 +- .../arch/x86_64/package/runc-master/runc-master.hash | 1 + .../arch/x86_64/package/runc-master/runc-master.mk | 4 ++-- 12 files changed, 16 insertions(+), 10 deletions(-) diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.hash b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.hash index 50fff143ab..cf10f80480 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.hash +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.hash @@ -14,3 +14,4 @@ sha256 3bb9f54be022067847f5930d21ebbfe4e7a67f589d78930aa0ac713492c28bcc v1.4.9.t sha256 85a531725f15e2d136131119d42af4507a5389e0947015152075c4c93816fb5c v1.4.12.tar.gz sha256 7507913ba169c103ab67bc51bec31cd977d4348d7bc842da32b7eab5f930a14b v1.5.10.tar.gz sha256 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 v1.5.11.tar.gz +sha256 f422e21e35705d1e741c1f3280813e43f811eaff4dcc5cdafac8b8952b15f468 v1.6.4.tar.gz diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk index d019e82c66..13306b15ec 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk +++ b/deploy/iso/minikube-iso/arch/aarch64/package/containerd-bin-aarch64/containerd-bin.mk @@ -3,8 +3,8 @@ # containerd # ################################################################################ -CONTAINERD_BIN_AARCH64_VERSION = v1.5.11 -CONTAINERD_BIN_AARCH64_COMMIT = 3df54a852345ae127d1fa3092b95168e4a88e2f8 +CONTAINERD_BIN_AARCH64_VERSION = v1.6.4 +CONTAINERD_BIN_AARCH64_COMMIT = 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16 CONTAINERD_BIN_AARCH64_SITE = https://github.com/containerd/containerd/archive CONTAINERD_BIN_AARCH64_SOURCE = $(CONTAINERD_BIN_AARCH64_VERSION).tar.gz CONTAINERD_BIN_AARCH64_DEPENDENCIES = host-go libgpgme diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash index 84b6060930..360a737927 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash +++ b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash @@ -1 +1,2 @@ sha256 ea971edc1179088bfd25edd04a0c12848143d15cb8202ebb93a6a08973464fd0 docker-20.10.14.tgz +sha256 46102273fab8d6b8a7cf248a928ebaa4bee43114001c593b0d07092a34a439e1 docker-20.10.15.tgz diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk index ab53ee5055..4426bcd6e1 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk +++ b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_BIN_AARCH64_VERSION = 20.10.14 +DOCKER_BIN_AARCH64_VERSION = 20.10.15 DOCKER_BIN_AARCH64_SITE = https://download.docker.com/linux/static/stable/aarch64 DOCKER_BIN_AARCH64_SOURCE = docker-$(DOCKER_BIN_AARCH64_VERSION).tgz diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.hash b/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.hash index 4d904c3782..fe79ecbc65 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.hash +++ b/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.hash @@ -13,3 +13,4 @@ sha256 821ff8629329b4b7e4ccf24b5bf369c9739887736be30ba06a0d8053eb0e0b23 b9ee9c63 sha256 50cc479cabf6e7edb9070a7c28b3460b0acc2a01650fc5934f5037cb96b9e2cf 4144b63817ebcc5b358fc2c8ef95f7cddd709aa7.tar.gz sha256 1f47e3ff66cdcca1f890b15e74e884c4ff81d16d1044cc9900a1eb10cfb3d8e7 52b36a2dd837e8462de8e01458bf02cf9eea47dd.tar.gz sha256 91525356b71fbf8e05deddc955d3f40e0d4aedcb15d26bdd2850a9986852ae5b f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe.tar.gz +sha256 49fbb25fda9fc416ec79a23e5382d504a8972a88247fe074f63ab71b6f38a0a0 52de29d7e0f8c0899bd7efb8810dd07f0073fa87.tar.gz diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.mk b/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.mk index 3d1f6edc4f..eacfd46d42 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.mk +++ b/deploy/iso/minikube-iso/arch/aarch64/package/runc-master-aarch64/runc-master.mk @@ -4,8 +4,8 @@ # ################################################################################ -# As of 2021-12-03, v1.0.3 -RUNC_MASTER_AARCH64_VERSION = f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe +# As of 2022-03-28, v1.1.1 +RUNC_MASTER_AARCH64_VERSION = 52de29d7e0f8c0899bd7efb8810dd07f0073fa87 RUNC_MASTER_AARCH64_SITE = https://github.com/opencontainers/runc/archive RUNC_MASTER_AARCH64_SOURCE = $(RUNC_MASTER_AARCH64_VERSION).tar.gz RUNC_MASTER_AARCH64_LICENSE = Apache-2.0 diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.hash b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.hash index 50fff143ab..cf10f80480 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.hash +++ b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.hash @@ -14,3 +14,4 @@ sha256 3bb9f54be022067847f5930d21ebbfe4e7a67f589d78930aa0ac713492c28bcc v1.4.9.t sha256 85a531725f15e2d136131119d42af4507a5389e0947015152075c4c93816fb5c v1.4.12.tar.gz sha256 7507913ba169c103ab67bc51bec31cd977d4348d7bc842da32b7eab5f930a14b v1.5.10.tar.gz sha256 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 v1.5.11.tar.gz +sha256 f422e21e35705d1e741c1f3280813e43f811eaff4dcc5cdafac8b8952b15f468 v1.6.4.tar.gz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk index 509a9ad761..274710e4ff 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk +++ b/deploy/iso/minikube-iso/arch/x86_64/package/containerd-bin/containerd-bin.mk @@ -3,8 +3,8 @@ # containerd # ################################################################################ -CONTAINERD_BIN_VERSION = v1.5.11 -CONTAINERD_BIN_COMMIT = 3df54a852345ae127d1fa3092b95168e4a88e2f8 +CONTAINERD_BIN_VERSION = v1.6.4 +CONTAINERD_BIN_COMMIT = 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16 CONTAINERD_BIN_SITE = https://github.com/containerd/containerd/archive CONTAINERD_BIN_SOURCE = $(CONTAINERD_BIN_VERSION).tar.gz CONTAINERD_BIN_DEPENDENCIES = host-go libgpgme diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash index e6c61f195a..76fee31616 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash +++ b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash @@ -35,3 +35,4 @@ sha256 7ea11ecb100fdc085dbfd9ab1ff380e7f99733c890ed815510a5952e5d6dd7e0 docker- sha256 ee9b5be14e54bf92f48c82c2e6a83fbdd1c5329e8f247525a9ed2fe90d9f89a5 docker-20.10.12.tgz sha256 39edf7c8d773939ff5e4d318ae565691a9c7e754ed768e172757e58898fb7079 docker-20.10.13.tgz sha256 7ca4aeeed86619909ae584ce3405da3766d495f98904ffbd9d859add26b83af5 docker-20.10.14.tgz +sha256 9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070 docker-20.10.15.tgz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk index f683d631d0..fd85283167 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk +++ b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_BIN_VERSION = 20.10.14 +DOCKER_BIN_VERSION = 20.10.15 DOCKER_BIN_SITE = https://download.docker.com/linux/static/stable/x86_64 DOCKER_BIN_SOURCE = docker-$(DOCKER_BIN_VERSION).tgz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.hash b/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.hash index 4d904c3782..fe79ecbc65 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.hash +++ b/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.hash @@ -13,3 +13,4 @@ sha256 821ff8629329b4b7e4ccf24b5bf369c9739887736be30ba06a0d8053eb0e0b23 b9ee9c63 sha256 50cc479cabf6e7edb9070a7c28b3460b0acc2a01650fc5934f5037cb96b9e2cf 4144b63817ebcc5b358fc2c8ef95f7cddd709aa7.tar.gz sha256 1f47e3ff66cdcca1f890b15e74e884c4ff81d16d1044cc9900a1eb10cfb3d8e7 52b36a2dd837e8462de8e01458bf02cf9eea47dd.tar.gz sha256 91525356b71fbf8e05deddc955d3f40e0d4aedcb15d26bdd2850a9986852ae5b f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe.tar.gz +sha256 49fbb25fda9fc416ec79a23e5382d504a8972a88247fe074f63ab71b6f38a0a0 52de29d7e0f8c0899bd7efb8810dd07f0073fa87.tar.gz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.mk b/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.mk index 8729a23eae..b183eb370e 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.mk +++ b/deploy/iso/minikube-iso/arch/x86_64/package/runc-master/runc-master.mk @@ -4,8 +4,8 @@ # ################################################################################ -# As of 2021-12-03, v1.0.3 -RUNC_MASTER_VERSION = f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe +# As of 2022-03-28, v1.1.1 +RUNC_MASTER_VERSION = 52de29d7e0f8c0899bd7efb8810dd07f0073fa87 RUNC_MASTER_SITE = https://github.com/opencontainers/runc/archive RUNC_MASTER_SOURCE = $(RUNC_MASTER_VERSION).tar.gz RUNC_MASTER_LICENSE = Apache-2.0 From 0c2a535737cccd9ba6cda6402f0aaa13563a994d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Thu, 12 May 2022 22:02:05 +0200 Subject: [PATCH 15/72] Upgrade Docker, from 20.10.15 to 20.10.16 runc v1.1.1 containerd v1.6.4 --- .../arch/aarch64/package/docker-bin-aarch64/docker-bin.hash | 1 + .../arch/aarch64/package/docker-bin-aarch64/docker-bin.mk | 2 +- .../minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash | 1 + .../minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash index 360a737927..f0bc48bec2 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash +++ b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.hash @@ -1,2 +1,3 @@ sha256 ea971edc1179088bfd25edd04a0c12848143d15cb8202ebb93a6a08973464fd0 docker-20.10.14.tgz sha256 46102273fab8d6b8a7cf248a928ebaa4bee43114001c593b0d07092a34a439e1 docker-20.10.15.tgz +sha256 2f35d8d422b63a59279084c159c9092b63b6d974a7fcd868167aee4cc5f79f3b docker-20.10.16.tgz diff --git a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk index 4426bcd6e1..899fc5a49b 100644 --- a/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk +++ b/deploy/iso/minikube-iso/arch/aarch64/package/docker-bin-aarch64/docker-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_BIN_AARCH64_VERSION = 20.10.15 +DOCKER_BIN_AARCH64_VERSION = 20.10.16 DOCKER_BIN_AARCH64_SITE = https://download.docker.com/linux/static/stable/aarch64 DOCKER_BIN_AARCH64_SOURCE = docker-$(DOCKER_BIN_AARCH64_VERSION).tgz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash index 76fee31616..daeaddd23b 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash +++ b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.hash @@ -36,3 +36,4 @@ sha256 ee9b5be14e54bf92f48c82c2e6a83fbdd1c5329e8f247525a9ed2fe90d9f89a5 docker- sha256 39edf7c8d773939ff5e4d318ae565691a9c7e754ed768e172757e58898fb7079 docker-20.10.13.tgz sha256 7ca4aeeed86619909ae584ce3405da3766d495f98904ffbd9d859add26b83af5 docker-20.10.14.tgz sha256 9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070 docker-20.10.15.tgz +sha256 b43ac6c4d2f0b64e445c6564860e4fccd6331f4a61815a60642c7748b53c59ff docker-20.10.16.tgz diff --git a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk index fd85283167..997b5e41f8 100644 --- a/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk +++ b/deploy/iso/minikube-iso/arch/x86_64/package/docker-bin/docker-bin.mk @@ -4,7 +4,7 @@ # ################################################################################ -DOCKER_BIN_VERSION = 20.10.15 +DOCKER_BIN_VERSION = 20.10.16 DOCKER_BIN_SITE = https://download.docker.com/linux/static/stable/x86_64 DOCKER_BIN_SOURCE = docker-$(DOCKER_BIN_VERSION).tgz From 692024115b5033ae6d9dd0acfa4577d2f81a576e Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Thu, 12 May 2022 20:27:20 +0000 Subject: [PATCH 16/72] Updating ISO to v1.25.2-1652379308-13807 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7d164099fd..2799b3090c 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.25.2-1652310010-13791 +ISO_VERSION ?= v1.25.2-1652379308-13807 # 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 88ee7f145d..dcbe6c9089 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/13791" + isoBucket := "minikube-builds/iso/13807" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 1136cc82d3..a997cf0bde 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13791/minikube-v1.25.2-1652310010-13791.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652310010-13791/minikube-v1.25.2-1652310010-13791.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652310010-13791.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.25.2-1652379308-13807-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652379308-13807/minikube-v1.25.2-1652379308-13807-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652379308-13807-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.25.2-1652379308-13807.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652379308-13807/minikube-v1.25.2-1652379308-13807.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652379308-13807.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.5, 'latest' for v1.23.6-rc.0). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From fd078d1260a612b4610dfa6bb29fd2ca1894c91a Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Thu, 12 May 2022 23:25:25 +0000 Subject: [PATCH 17/72] Updating ISO to v1.25.2-1652384524-14152 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ba42bd158d..8adf5620a0 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.25.2-1651892774-13762 +ISO_VERSION ?= v1.25.2-1652384524-14152 # 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 7adbc82b6c..cfb6f2e060 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/13762" + isoBucket := "minikube-builds/iso/14152" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index b0032b5a97..7d9507cfa8 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13762/minikube-v1.25.2-1651892774-13762-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1651892774-13762/minikube-v1.25.2-1651892774-13762-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1651892774-13762-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13762/minikube-v1.25.2-1651892774-13762.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1651892774-13762/minikube-v1.25.2-1651892774-13762.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1651892774-13762.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.25.2-1652384524-14152-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652384524-14152/minikube-v1.25.2-1652384524-14152-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652384524-14152-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.25.2-1652384524-14152.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.2-1652384524-14152/minikube-v1.25.2-1652384524-14152.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.2-1652384524-14152.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.5, 'latest' for v1.23.6-rc.0). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From 266138dac4b636f81c9b27943034cbbaf1d5a59d Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 13 May 2022 00:28:43 +0000 Subject: [PATCH 18/72] Updating kicbase image to v0.0.30-1652394862-13807 --- pkg/drivers/kic/types.go | 4 ++-- site/content/en/docs/commands/start.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/drivers/kic/types.go b/pkg/drivers/kic/types.go index 026e62582a..2a20378789 100644 --- a/pkg/drivers/kic/types.go +++ b/pkg/drivers/kic/types.go @@ -24,9 +24,9 @@ import ( const ( // Version is the current version of kic - Version = "v0.0.30-1652309540-13791" + Version = "v0.0.30-1652394862-13807" // SHA of the kic base image - baseImageSHA = "c3375f1b260bd936aa532a0c749626e07d94ab129a7f2395e95345aa04ca708c" + baseImageSHA = "470039ae4fb6cd41e5a15e80280a7f154e46b4b943abca039049973628947f0b" // The name of the GCR kicbase repository gcrRepo = "gcr.io/k8s-minikube/kicbase-builds" // The name of the Dockerhub kicbase repository diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index a997cf0bde..483532178b 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.30-1652309540-13791@sha256:c3375f1b260bd936aa532a0c749626e07d94ab129a7f2395e95345aa04ca708c") + --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.30-1652394862-13807@sha256:470039ae4fb6cd41e5a15e80280a7f154e46b4b943abca039049973628947f0b") --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) From 6c0cb64da474af8ef55d6789383a3ee3c6db9ec7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 18:07:43 +0000 Subject: [PATCH 19/72] Bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.15+incompatible to 20.10.16+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.15...v20.10.16) --- 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 4a6f594ba5..6f022a41ee 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.0.8 github.com/cloudevents/sdk-go/v2 v2.9.0 - github.com/docker/docker v20.10.15+incompatible + github.com/docker/docker v20.10.16+incompatible github.com/docker/go-units v0.4.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 3e02c0b342..148dd82415 100644 --- a/go.sum +++ b/go.sum @@ -377,8 +377,8 @@ github.com/docker/docker v0.0.0-20180621001606-093424bec097/go.mod h1:eEKB0N0r5N 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.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.15+incompatible h1:dk9FewY/9Xwm4ay/HViEEHSQuM/kL4F+JaG6GQdgmGo= -github.com/docker/docker v20.10.15+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.16+incompatible h1:2Db6ZR/+FUR3hqPMwnogOPHFn405crbpxvWzKovETOQ= +github.com/docker/docker v20.10.16+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.6.3 h1:zI2p9+1NQYdnG6sMU26EX4aVGlqbInSQxQXLvzJ4RPQ= github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= From 1163d86beefb38062668106a3f35a86632144d8d Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Thu, 19 May 2022 01:11:18 +0000 Subject: [PATCH 20/72] Updating ISO to v1.26.0-1652913186-14152 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 257b3e9288..18d2db14cd 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.26.0-beta.1 +ISO_VERSION ?= v1.26.0-1652913186-14152 # 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 404359a48a..cfb6f2e060 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/iso" + isoBucket := "minikube-builds/iso/14152" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 065cbf92fb..c4076fc4f9 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube/iso/minikube-v1.26.0-beta.1-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-beta.1/minikube-v1.26.0-beta.1-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-beta.1-amd64.iso,https://storage.googleapis.com/minikube/iso/minikube-v1.26.0-beta.1.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-beta.1/minikube-v1.26.0-beta.1.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-beta.1.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.26.0-1652913186-14152-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652913186-14152/minikube-v1.26.0-1652913186-14152-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652913186-14152-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.26.0-1652913186-14152.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652913186-14152/minikube-v1.26.0-1652913186-14152.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652913186-14152.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.6, 'latest' for v1.23.6). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From c59c0317061b19e2448d85171a85b284e95495d3 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Thu, 19 May 2022 01:12:20 +0000 Subject: [PATCH 21/72] Updating ISO to v1.26.0-1652914268-13807 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5c31fb25a7..9d68ffffaa 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.26.0-beta.0 +ISO_VERSION ?= v1.26.0-1652914268-13807 # 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 404359a48a..dcbe6c9089 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/iso" + isoBucket := "minikube-builds/iso/13807" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 420edc6a00..d158043482 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:v0.0.31@sha256:c3375f1b260bd936aa532a0c749626e07d94ab129a7f2395e95345aa04ca708c") + --base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase:v0.0.31@sha256:470039ae4fb6cd41e5a15e80280a7f154e46b4b943abca039049973628947f0b") --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) @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube/iso/minikube-v1.26.0-beta.0-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-beta.0/minikube-v1.26.0-beta.0-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-beta.0-amd64.iso,https://storage.googleapis.com/minikube/iso/minikube-v1.26.0-beta.0.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-beta.0/minikube-v1.26.0-beta.0.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-beta.0.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.26.0-1652914268-13807-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652914268-13807/minikube-v1.26.0-1652914268-13807-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652914268-13807-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.26.0-1652914268-13807.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652914268-13807/minikube-v1.26.0-1652914268-13807.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652914268-13807.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.6, 'latest' for v1.23.6). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From 1c0b8e72f9c7ab10944e97b0e5bca0f2bd8f25ad Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 20 May 2022 00:30:19 +0000 Subject: [PATCH 22/72] Updating ISO to v1.26.0-1652998508-14153 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 18d2db14cd..51d4541f76 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.26.0-1652913186-14152 +ISO_VERSION ?= v1.26.0-1652998508-14153 # 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 cfb6f2e060..a5ecc47cf0 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/14152" + isoBucket := "minikube-builds/iso/14153" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index c4076fc4f9..c5c98579c6 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.26.0-1652913186-14152-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652913186-14152/minikube-v1.26.0-1652913186-14152-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652913186-14152-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/14152/minikube-v1.26.0-1652913186-14152.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652913186-14152/minikube-v1.26.0-1652913186-14152.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652913186-14152.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/14153/minikube-v1.26.0-1652998508-14153-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652998508-14153/minikube-v1.26.0-1652998508-14153-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652998508-14153-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/14153/minikube-v1.26.0-1652998508-14153.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652998508-14153/minikube-v1.26.0-1652998508-14153.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652998508-14153.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.6, 'latest' for v1.23.6). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From d08c091dd73aaa25e3bf78eaa045b6f2d77fbfbe Mon Sep 17 00:00:00 2001 From: Jeff MAURY Date: Fri, 20 May 2022 10:20:11 +0200 Subject: [PATCH 23/72] Fix french translation Signed-off-by: Jeff MAURY --- translations/fr.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/translations/fr.json b/translations/fr.json index a8e2b8ca43..541597f76e 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -240,7 +240,7 @@ "Failed to check main repository and mirrors for images": "Échec de la vérification du référentiel principal et des miroirs pour les images", "Failed to configure metallb IP {{.profile}}": "Échec de la configuration de metallb IP {{.profile}}", "Failed to configure network plugin": "Échec de la configuration du plug-in réseau", - "Failed to configure registry-aliases {{.profile}}": "", + "Failed to configure registry-aliases {{.profile}}": "Échec de la configuration des alias de registre {{.profile}}", "Failed to create file": "La création du fichier a échoué", "Failed to create runtime": "Échec de la création de l'environnement d'exécution", "Failed to delete cluster {{.name}}, proceeding with retry anyway.": "Échec de la suppression du cluster {{.name}}, réessayez quand même.", @@ -856,7 +856,7 @@ "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "Le module '{{.name}}' n'est actuellement pas activé.\nPour activer ce module, exécutez :\nminikube addons enable {{.name}}", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "Le module '{{.name}}' n'est pas un module valide fourni avec minikube.\nPour voir la liste des modules disponibles, exécutez :\nminikube addons list", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "addons modifie les fichiers de modules minikube à l'aide de sous-commandes telles que \"minikube addons enable dashboard\"", - "arm64 VM drivers do not currently support containerd or crio container runtimes. See https://github.com/kubernetes/minikube/issues/14146 for details.": "", + "arm64 VM drivers do not currently support containerd or crio container runtimes. See https://github.com/kubernetes/minikube/issues/14146 for details.": "Les pilotes de machine virtuelle arm64 ne prennent actuellement pas en charge les runtimes de conteneur containerd ou crio. Voir https://github.com/kubernetes/minikube/issues/14146 pour plus de détails.", "auto-pause addon is an alpha feature and still in early development. Please file issues to help us make it better.": "Le module auto-pause est une fonctionnalité alpha et encore en développement précoce. Veuillez signaler les problèmes pour nous aider à l'améliorer.", "bash completion failed": "échec de la complétion bash", "bash completion.": "complétion bash", @@ -916,10 +916,10 @@ "minikube profile was successfully set to {{.profile_name}}": "Le profil de minikube a été défini avec succès sur {{.profile_name}}", "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.": "", + "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 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.": "", + "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 {{.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", From eff4a183751dba57d5f2769b61c37fdaecd45157 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Sun, 13 Mar 2022 00:11:38 +0000 Subject: [PATCH 24/72] list all currently supported Kubernetes versions --- cmd/minikube/cmd/start.go | 4 +-- cmd/minikube/cmd/version.go | 62 +++++++++++++++++++++++++++++++++++++ go.mod | 3 +- go.sum | 5 ++- 4 files changed, 70 insertions(+), 4 deletions(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index d431edd0d5..6975376685 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -1585,10 +1585,10 @@ func validateKubernetesVersion(old *config.ClusterConfig) { exitIfNotForced(reason.KubernetesTooNew, "Kubernetes {{.version}} is not supported by this release of minikube", out.V{"version": nvs}) } if nvs.GT(newestVersion) { - out.WarningT("Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}", out.V{"specified": nvs, "newest": constants.NewestKubernetesVersion}) + out.WarningT("Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube version --kubernetes` for details.", out.V{"specified": nvs, "newest": constants.NewestKubernetesVersion}) } if nvs.LT(oldestVersion) { - out.WarningT("Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}", out.V{"specified": nvs, "oldest": constants.OldestKubernetesVersion}) + out.WarningT("Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube version --kubernetes` for details.", out.V{"specified": nvs, "oldest": constants.OldestKubernetesVersion}) if !viper.GetBool(force) { out.WarningT("You can force an unsupported Kubernetes version via the --force flag") } diff --git a/cmd/minikube/cmd/version.go b/cmd/minikube/cmd/version.go index fef929f7f5..41fb60cfcd 100644 --- a/cmd/minikube/cmd/version.go +++ b/cmd/minikube/cmd/version.go @@ -17,14 +17,19 @@ limitations under the License. package cmd import ( + "context" "encoding/json" + "fmt" "os/exec" "sort" "strings" + "github.com/google/go-github/v43/github" "github.com/spf13/cobra" + "golang.org/x/mod/semver" "gopkg.in/yaml.v2" "k8s.io/klog/v2" + "k8s.io/minikube/pkg/minikube/constants" "k8s.io/minikube/pkg/minikube/exit" "k8s.io/minikube/pkg/minikube/mustload" "k8s.io/minikube/pkg/minikube/out" @@ -36,6 +41,7 @@ var ( versionOutput string shortVersion bool listComponentsVersions bool + listKubernetesVersions bool ) var versionCmd = &cobra.Command{ @@ -82,6 +88,16 @@ var versionCmd = &cobra.Command{ } + if listKubernetesVersions && !shortVersion { + skv, err := supportedKubernetesVersions(constants.OldestKubernetesVersion, constants.NewestKubernetesVersion, true) + if err != nil { + klog.Warningf("Unable to get supported Kubernetes versions: {{.error}}", out.V{"error": err}) + data["supportedKubernetesVersions"] = fmt.Sprintf("[%s..%s]", constants.OldestKubernetesVersion, constants.NewestKubernetesVersion) + } else { + data["supportedKubernetesVersions"] = fmt.Sprintf("%v", skv) + } + } + switch versionOutput { case "": if !shortVersion { @@ -125,8 +141,54 @@ var versionCmd = &cobra.Command{ }, } +// supportedKubernetesVersions returns reverse-sort supported Kubernetes releases from GitHub that are in [minver, maxver] range, optionally including prereleases, and any error occurred. +func supportedKubernetesVersions(minver, maxver string, prereleases bool) (releases []string, err error) { + ghc := github.NewClient(nil) + + if (minver != "" && !semver.IsValid(minver)) || (maxver != "" && !semver.IsValid(maxver)) { + return nil, fmt.Errorf("invalid release version(s) semver format: %q or %q", minver, maxver) + } + if minver != "" && maxver != "" && semver.Compare(minver, maxver) == 1 { + return nil, fmt.Errorf("invalid release versions range: min(%s) > max(%s)", minver, maxver) + } + + opts := &github.ListOptions{PerPage: 100} + for (opts.Page+1)*100 <= 300 { + rls, resp, err := ghc.Repositories.ListReleases(context.Background(), "kubernetes", "kubernetes", opts) + if err != nil { + return nil, err + } + for _, r := range rls { + // extract version from release name (eg, "Kubernetes v1.22.0-beta.2" => "v1.22.0-beta.2") + v := r.GetName() + t := strings.Fields(v) + if len(t) > 1 { + v = t[len(t)-1] + } + if !semver.IsValid(v) { + continue + } + if !prereleases && r.GetPrerelease() { + continue + } + // skip out-of-range versions + if (minver != "" && semver.Compare(minver, v) == 1) || (maxver != "" && semver.Compare(v, maxver) == 1) { + continue + } + releases = append(releases, v) + } + if resp.NextPage == 0 { + break + } + opts.Page = resp.NextPage + } + sort.Slice(releases, func(i, j int) bool { return semver.Compare(releases[i], releases[j]) == 1 }) + return releases, nil +} + func init() { versionCmd.Flags().StringVarP(&versionOutput, "output", "o", "", "One of 'yaml' or 'json'.") versionCmd.Flags().BoolVar(&shortVersion, "short", false, "Print just the version number.") versionCmd.Flags().BoolVar(&listComponentsVersions, "components", false, "list versions of all components included with minikube. (the cluster must be running)") + versionCmd.Flags().BoolVar(&listKubernetesVersions, "kubernetes", false, "list all Kubernetes versions supported by this minikube version.") } diff --git a/go.mod b/go.mod index 4a6f594ba5..46e0fce56e 100644 --- a/go.mod +++ b/go.mod @@ -100,6 +100,7 @@ require ( require ( github.com/Xuanwo/go-locale v1.1.0 github.com/docker/go-connections v0.4.0 + github.com/google/go-github/v43 v43.0.0 github.com/opencontainers/runc v1.0.2 github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 ) @@ -153,7 +154,7 @@ require ( github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.3 // indirect github.com/google/gnostic v0.5.7-v3refs // indirect - github.com/google/go-querystring v1.0.0 // indirect + github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.1.0 // indirect github.com/googleapis/gax-go/v2 v2.3.0 // indirect github.com/googleapis/go-type-adapters v1.0.0 // indirect diff --git a/go.sum b/go.sum index 3e02c0b342..095607fb3c 100644 --- a/go.sum +++ b/go.sum @@ -576,8 +576,11 @@ github.com/google/go-containerregistry v0.6.0/go.mod h1:euCCtNbZ6tKqi1E72vwDj2xZ github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= github.com/google/go-github/v36 v36.0.0 h1:ndCzM616/oijwufI7nBRa+5eZHLldT+4yIB68ib5ogs= github.com/google/go-github/v36 v36.0.0/go.mod h1:LFlKC047IOqiglRGNqNb9s/iAPTnnjtlshm+bxp+kwk= -github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= +github.com/google/go-github/v43 v43.0.0 h1:y+GL7LIsAIF2NZlJ46ZoC/D1W1ivZasT0lnWHMYPZ+U= +github.com/google/go-github/v43 v43.0.0/go.mod h1:ZkTvvmCXBvsfPpTHXnH/d2hP9Y0cTbvN9kr5xqyXOIc= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= From 88acdd018d7a4251ce2680a0c7d2ab65f734e28e Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Sun, 13 Mar 2022 01:33:02 +0000 Subject: [PATCH 25/72] use GetTagName from release --- cmd/minikube/cmd/version.go | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/cmd/minikube/cmd/version.go b/cmd/minikube/cmd/version.go index 41fb60cfcd..0c9ce6c714 100644 --- a/cmd/minikube/cmd/version.go +++ b/cmd/minikube/cmd/version.go @@ -158,24 +158,19 @@ func supportedKubernetesVersions(minver, maxver string, prereleases bool) (relea if err != nil { return nil, err } - for _, r := range rls { - // extract version from release name (eg, "Kubernetes v1.22.0-beta.2" => "v1.22.0-beta.2") - v := r.GetName() - t := strings.Fields(v) - if len(t) > 1 { - v = t[len(t)-1] - } - if !semver.IsValid(v) { + for _, rl := range rls { + ver := rl.GetTagName() + if !semver.IsValid(ver) { continue } - if !prereleases && r.GetPrerelease() { + if !prereleases && rl.GetPrerelease() { continue } // skip out-of-range versions - if (minver != "" && semver.Compare(minver, v) == 1) || (maxver != "" && semver.Compare(v, maxver) == 1) { + if (minver != "" && semver.Compare(minver, ver) == 1) || (maxver != "" && semver.Compare(ver, maxver) == 1) { continue } - releases = append(releases, v) + releases = append(releases, ver) } if resp.NextPage == 0 { break From 219abcc1f19a86c103162a06b6181797f8a8a4a0 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Mon, 14 Mar 2022 18:14:35 +0000 Subject: [PATCH 26/72] fix json and yaml outputy --- cmd/minikube/cmd/version.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/minikube/cmd/version.go b/cmd/minikube/cmd/version.go index 0c9ce6c714..0d9a1c862c 100644 --- a/cmd/minikube/cmd/version.go +++ b/cmd/minikube/cmd/version.go @@ -51,7 +51,7 @@ var versionCmd = &cobra.Command{ Run: func(command *cobra.Command, args []string) { minikubeVersion := version.GetVersion() gitCommitID := version.GetGitCommitID() - data := map[string]string{ + data := map[string]interface{}{ "minikubeVersion": minikubeVersion, "commit": gitCommitID, } @@ -92,9 +92,9 @@ var versionCmd = &cobra.Command{ skv, err := supportedKubernetesVersions(constants.OldestKubernetesVersion, constants.NewestKubernetesVersion, true) if err != nil { klog.Warningf("Unable to get supported Kubernetes versions: {{.error}}", out.V{"error": err}) - data["supportedKubernetesVersions"] = fmt.Sprintf("[%s..%s]", constants.OldestKubernetesVersion, constants.NewestKubernetesVersion) + data["supportedKubernetesVersions"] = []string{constants.OldestKubernetesVersion, constants.NewestKubernetesVersion} } else { - data["supportedKubernetesVersions"] = fmt.Sprintf("%v", skv) + data["supportedKubernetesVersions"] = skv } } From 899b43c323932fa18f7518c07923b172bafe9df1 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Mon, 14 Mar 2022 20:57:01 +0000 Subject: [PATCH 27/72] move to 'config defaults' --- cmd/minikube/cmd/config/config.go | 5 +- cmd/minikube/cmd/config/defaults.go | 47 +++++++------ cmd/minikube/cmd/config/defaults_test.go | 6 +- cmd/minikube/cmd/config/kubernetes_version.go | 70 +++++++++++++++++++ cmd/minikube/cmd/config/profile_list.go | 8 +-- cmd/minikube/cmd/start.go | 4 +- cmd/minikube/cmd/version.go | 57 --------------- 7 files changed, 108 insertions(+), 89 deletions(-) create mode 100644 cmd/minikube/cmd/config/kubernetes_version.go diff --git a/cmd/minikube/cmd/config/config.go b/cmd/minikube/cmd/config/config.go index 6271fc0e0d..4af7698da3 100644 --- a/cmd/minikube/cmd/config/config.go +++ b/cmd/minikube/cmd/config/config.go @@ -102,8 +102,9 @@ var settings = []Setting{ validations: []setFn{IsValidPath}, }, { - name: "kubernetes-version", - set: SetString, + name: "kubernetes-version", + set: SetString, + validDefaults: supportedKubernetesVersions, }, { name: "iso-url", diff --git a/cmd/minikube/cmd/config/defaults.go b/cmd/minikube/cmd/config/defaults.go index 1807470880..b21733d66a 100644 --- a/cmd/minikube/cmd/config/defaults.go +++ b/cmd/minikube/cmd/config/defaults.go @@ -21,32 +21,31 @@ import ( "fmt" "strings" - "github.com/pkg/errors" "github.com/spf13/cobra" + "gopkg.in/yaml.v2" + "k8s.io/minikube/pkg/minikube/exit" "k8s.io/minikube/pkg/minikube/out" + "k8s.io/minikube/pkg/minikube/reason" ) +var defaultsOutput string + var configDefaultsCommand = &cobra.Command{ Use: "defaults PROPERTY_NAME", Short: "Lists all valid default values for PROPERTY_NAME", Long: `list displays all valid default settings for PROPERTY_NAME Acceptable fields: ` + "\n\n" + fieldsWithDefaults(), - RunE: func(cmd *cobra.Command, args []string) error { - if len(args) == 0 { + Run: func(cmd *cobra.Command, args []string) { + if len(args) != 1 { cmd.SilenceErrors = true - return errors.New("not enough arguments.\nusage: minikube config list PROPERTY_NAME") + exit.Message(reason.Usage, "usage: minikube config list PROPERTY_NAME") } - if len(args) > 1 { - cmd.SilenceErrors = true - return fmt.Errorf("too many arguments (%d)\nusage: minikube config list PROPERTY_NAME", len(args)) - } - property := args[0] defaults, err := getDefaults(property) if err != nil { - return err + exit.Message(reason.Usage, "error getting defaults: {{.error}}", out.V{"error": err}) } - return printDefaults(defaults) + printDefaults(defaults) }, } @@ -61,19 +60,27 @@ func getDefaults(property string) ([]string, error) { return setting.validDefaults(), nil } -func printDefaults(defaults []string) error { - if output == "json" { +func printDefaults(defaults []string) { + switch strings.ToLower(defaultsOutput) { + case "": + for _, d := range defaults { + out.Ln("* %s", d) + } + case "json": encoding, err := json.Marshal(defaults) if err != nil { - return errors.Wrap(err, "encoding json") + exit.Error(reason.InternalJSONMarshal, "json encoding failure", err) } out.Ln(string(encoding)) - return nil + case "yaml": + encoding, err := yaml.Marshal(defaults) + if err != nil { + exit.Error(reason.InternalYamlMarshal, "yaml encoding failure", err) + } + out.Ln(string(encoding)) + default: + exit.Message(reason.InternalOutputUsage, "error: --output must be 'yaml' or 'json'") } - for _, d := range defaults { - out.Ln("* %s", d) - } - return nil } func fieldsWithDefaults() string { @@ -87,6 +94,6 @@ func fieldsWithDefaults() string { } func init() { - configDefaultsCommand.Flags().StringVar(&output, "output", "", "Output format. Accepted values: [json]") + configDefaultsCommand.Flags().StringVarP(&defaultsOutput, "output", "o", "", "Output format. Accepted values: [json, yaml]") ConfigCmd.AddCommand(configDefaultsCommand) } diff --git a/cmd/minikube/cmd/config/defaults_test.go b/cmd/minikube/cmd/config/defaults_test.go index e87b214e27..5fbc69fca4 100644 --- a/cmd/minikube/cmd/config/defaults_test.go +++ b/cmd/minikube/cmd/config/defaults_test.go @@ -77,12 +77,10 @@ func TestPrintDefaults(t *testing.T) { } for _, tc := range tcs { t.Run(tc.description, func(t *testing.T) { - output = tc.format + defaultsOutput = tc.format f := tests.NewFakeFile() out.SetOutFile(f) - if err := printDefaults(defaults); err != nil { - t.Fatalf("error printing defaults: %v", err) - } + printDefaults(defaults) if f.String() != tc.expected { t.Fatalf("Expected: %v\n Actual: %v\n", tc.expected, f.String()) } diff --git a/cmd/minikube/cmd/config/kubernetes_version.go b/cmd/minikube/cmd/config/kubernetes_version.go new file mode 100644 index 0000000000..39d935033d --- /dev/null +++ b/cmd/minikube/cmd/config/kubernetes_version.go @@ -0,0 +1,70 @@ +/* +Copyright 2022 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package config + +import ( + "context" + "sort" + + "github.com/google/go-github/v43/github" + "golang.org/x/mod/semver" + "k8s.io/minikube/pkg/minikube/constants" +) + +// supportedKubernetesVersions returns reverse-sort supported Kubernetes releases from GitHub that are in [constants.OldestKubernetesVersion, constants.NewestKubernetesVersion] range, excluding prereleases. +// in case it cannot get it from GitHub, in addition to [constants.NewestKubernetesVersion, constants.OldestKubernetesVersion], 'constants.DefaultKubernetesVersion' is also returned if different from 'constants.NewestKubernetesVersion'. +func supportedKubernetesVersions() (releases []string) { + minver := constants.OldestKubernetesVersion + defver := constants.DefaultKubernetesVersion + maxver := constants.NewestKubernetesVersion + + ghc := github.NewClient(nil) + + opts := &github.ListOptions{PerPage: 100} + for (opts.Page+1)*100 <= 300 { + rls, resp, err := ghc.Repositories.ListReleases(context.Background(), "kubernetes", "kubernetes", opts) + if err != nil { + v := []string{maxver} + if defver != maxver { + v = append(v, defver) + } + v = append(v, minver) + return v + } + for _, rl := range rls { + ver := rl.GetTagName() + if !semver.IsValid(ver) { + continue + } + // skip pre-release versions + if rl.GetPrerelease() { + continue + } + // skip out-of-range versions + if (minver != "" && semver.Compare(minver, ver) == 1) || (maxver != "" && semver.Compare(ver, maxver) == 1) { + continue + } + releases = append(releases, ver) + } + if resp.NextPage == 0 { + break + } + opts.Page = resp.NextPage + } + sort.Slice(releases, func(i, j int) bool { return semver.Compare(releases[i], releases[j]) == 1 }) + return releases +} diff --git a/cmd/minikube/cmd/config/profile_list.go b/cmd/minikube/cmd/config/profile_list.go index d03def8718..f7be8ac60b 100644 --- a/cmd/minikube/cmd/config/profile_list.go +++ b/cmd/minikube/cmd/config/profile_list.go @@ -41,7 +41,7 @@ import ( "k8s.io/klog/v2" ) -var output string +var profileOutput string var isLight bool var profileListCmd = &cobra.Command{ @@ -49,13 +49,13 @@ var profileListCmd = &cobra.Command{ Short: "Lists all minikube profiles.", Long: "Lists all valid minikube profiles and detects all possible invalid profiles.", Run: func(cmd *cobra.Command, args []string) { - switch strings.ToLower(output) { + switch strings.ToLower(profileOutput) { case "json": printProfilesJSON() case "table": printProfilesTable() default: - exit.Message(reason.Usage, fmt.Sprintf("invalid output format: %s. Valid values: 'table', 'json'", output)) + exit.Message(reason.Usage, fmt.Sprintf("invalid output format: %s. Valid values: 'table', 'json'", profileOutput)) } }, } @@ -217,7 +217,7 @@ func profilesOrDefault(profiles []*config.Profile) []*config.Profile { } func init() { - profileListCmd.Flags().StringVarP(&output, "output", "o", "table", "The output format. One of 'json', 'table'") + profileListCmd.Flags().StringVarP(&profileOutput, "output", "o", "table", "The output format. One of 'json', 'table'") profileListCmd.Flags().BoolVarP(&isLight, "light", "l", false, "If true, returns list of profiles faster by skipping validating the status of the cluster.") ProfileCmd.AddCommand(profileListCmd) } diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index 6975376685..afee89071a 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -1585,10 +1585,10 @@ func validateKubernetesVersion(old *config.ClusterConfig) { exitIfNotForced(reason.KubernetesTooNew, "Kubernetes {{.version}} is not supported by this release of minikube", out.V{"version": nvs}) } if nvs.GT(newestVersion) { - out.WarningT("Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube version --kubernetes` for details.", out.V{"specified": nvs, "newest": constants.NewestKubernetesVersion}) + out.WarningT("Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.", out.V{"specified": nvs, "newest": constants.NewestKubernetesVersion}) } if nvs.LT(oldestVersion) { - out.WarningT("Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube version --kubernetes` for details.", out.V{"specified": nvs, "oldest": constants.OldestKubernetesVersion}) + out.WarningT("Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.", out.V{"specified": nvs, "oldest": constants.OldestKubernetesVersion}) if !viper.GetBool(force) { out.WarningT("You can force an unsupported Kubernetes version via the --force flag") } diff --git a/cmd/minikube/cmd/version.go b/cmd/minikube/cmd/version.go index 0d9a1c862c..6fcbb92ecf 100644 --- a/cmd/minikube/cmd/version.go +++ b/cmd/minikube/cmd/version.go @@ -17,19 +17,14 @@ limitations under the License. package cmd import ( - "context" "encoding/json" - "fmt" "os/exec" "sort" "strings" - "github.com/google/go-github/v43/github" "github.com/spf13/cobra" - "golang.org/x/mod/semver" "gopkg.in/yaml.v2" "k8s.io/klog/v2" - "k8s.io/minikube/pkg/minikube/constants" "k8s.io/minikube/pkg/minikube/exit" "k8s.io/minikube/pkg/minikube/mustload" "k8s.io/minikube/pkg/minikube/out" @@ -41,7 +36,6 @@ var ( versionOutput string shortVersion bool listComponentsVersions bool - listKubernetesVersions bool ) var versionCmd = &cobra.Command{ @@ -88,16 +82,6 @@ var versionCmd = &cobra.Command{ } - if listKubernetesVersions && !shortVersion { - skv, err := supportedKubernetesVersions(constants.OldestKubernetesVersion, constants.NewestKubernetesVersion, true) - if err != nil { - klog.Warningf("Unable to get supported Kubernetes versions: {{.error}}", out.V{"error": err}) - data["supportedKubernetesVersions"] = []string{constants.OldestKubernetesVersion, constants.NewestKubernetesVersion} - } else { - data["supportedKubernetesVersions"] = skv - } - } - switch versionOutput { case "": if !shortVersion { @@ -141,49 +125,8 @@ var versionCmd = &cobra.Command{ }, } -// supportedKubernetesVersions returns reverse-sort supported Kubernetes releases from GitHub that are in [minver, maxver] range, optionally including prereleases, and any error occurred. -func supportedKubernetesVersions(minver, maxver string, prereleases bool) (releases []string, err error) { - ghc := github.NewClient(nil) - - if (minver != "" && !semver.IsValid(minver)) || (maxver != "" && !semver.IsValid(maxver)) { - return nil, fmt.Errorf("invalid release version(s) semver format: %q or %q", minver, maxver) - } - if minver != "" && maxver != "" && semver.Compare(minver, maxver) == 1 { - return nil, fmt.Errorf("invalid release versions range: min(%s) > max(%s)", minver, maxver) - } - - opts := &github.ListOptions{PerPage: 100} - for (opts.Page+1)*100 <= 300 { - rls, resp, err := ghc.Repositories.ListReleases(context.Background(), "kubernetes", "kubernetes", opts) - if err != nil { - return nil, err - } - for _, rl := range rls { - ver := rl.GetTagName() - if !semver.IsValid(ver) { - continue - } - if !prereleases && rl.GetPrerelease() { - continue - } - // skip out-of-range versions - if (minver != "" && semver.Compare(minver, ver) == 1) || (maxver != "" && semver.Compare(ver, maxver) == 1) { - continue - } - releases = append(releases, ver) - } - if resp.NextPage == 0 { - break - } - opts.Page = resp.NextPage - } - sort.Slice(releases, func(i, j int) bool { return semver.Compare(releases[i], releases[j]) == 1 }) - return releases, nil -} - func init() { versionCmd.Flags().StringVarP(&versionOutput, "output", "o", "", "One of 'yaml' or 'json'.") versionCmd.Flags().BoolVar(&shortVersion, "short", false, "Print just the version number.") versionCmd.Flags().BoolVar(&listComponentsVersions, "components", false, "list versions of all components included with minikube. (the cluster must be running)") - versionCmd.Flags().BoolVar(&listKubernetesVersions, "kubernetes", false, "list all Kubernetes versions supported by this minikube version.") } From cf3d33aef6883d12f67be67e5891ddd0f47d71f5 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Mon, 14 Mar 2022 23:25:44 +0000 Subject: [PATCH 28/72] include prereleases --- cmd/minikube/cmd/config/kubernetes_version.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/minikube/cmd/config/kubernetes_version.go b/cmd/minikube/cmd/config/kubernetes_version.go index 39d935033d..586002c1bc 100644 --- a/cmd/minikube/cmd/config/kubernetes_version.go +++ b/cmd/minikube/cmd/config/kubernetes_version.go @@ -25,7 +25,7 @@ import ( "k8s.io/minikube/pkg/minikube/constants" ) -// supportedKubernetesVersions returns reverse-sort supported Kubernetes releases from GitHub that are in [constants.OldestKubernetesVersion, constants.NewestKubernetesVersion] range, excluding prereleases. +// supportedKubernetesVersions returns reverse-sort supported Kubernetes releases from GitHub that are in [constants.OldestKubernetesVersion, constants.NewestKubernetesVersion] range, including prereleases. // in case it cannot get it from GitHub, in addition to [constants.NewestKubernetesVersion, constants.OldestKubernetesVersion], 'constants.DefaultKubernetesVersion' is also returned if different from 'constants.NewestKubernetesVersion'. func supportedKubernetesVersions() (releases []string) { minver := constants.OldestKubernetesVersion @@ -50,10 +50,6 @@ func supportedKubernetesVersions() (releases []string) { if !semver.IsValid(ver) { continue } - // skip pre-release versions - if rl.GetPrerelease() { - continue - } // skip out-of-range versions if (minver != "" && semver.Compare(minver, ver) == 1) || (maxver != "" && semver.Compare(ver, maxver) == 1) { continue From a7ae876824935b2900b72229d19832e2c519d22e Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Mon, 23 May 2022 10:02:06 +0000 Subject: [PATCH 29/72] bump golint versions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18d2db14cd..0d64041b35 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ MINIKUBE_RELEASES_URL=https://github.com/kubernetes/minikube/releases/download KERNEL_VERSION ?= 4.19.235 # latest from https://github.com/golangci/golangci-lint/releases # update this only by running `make update-golint-version` -GOLINT_VERSION ?= v1.46.1 +GOLINT_VERSION ?= v1.46.2 # Limit number of default jobs, to avoid the CI builds running out of memory GOLINT_JOBS ?= 4 # see https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint From 0241ac7d928112c6cf5b492d68caed5c23148249 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 23 May 2022 10:57:13 -0700 Subject: [PATCH 30/72] fix overwriting previous cron --- hack/jenkins/installers/check_install_osx_crons.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/jenkins/installers/check_install_osx_crons.sh b/hack/jenkins/installers/check_install_osx_crons.sh index 1378bf63d1..f80a0ba336 100755 --- a/hack/jenkins/installers/check_install_osx_crons.sh +++ b/hack/jenkins/installers/check_install_osx_crons.sh @@ -18,7 +18,6 @@ set -e mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES" install cron/cleanup_and_reboot_Darwin.sh $HOME/cleanup_and_reboot.sh || echo "FAILED TO INSTALL CLEANUP AND REBOOT" -echo "*/30 * * * * $HOME/cleanup_and_reboot.sh" | crontab install cron/cleanup_go_modules.sh $HOME/cleanup_go_modules.sh || echo "FAILED TO INSTALL GO MODULES CLEANUP" -echo "0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab +echo "echo "*/30 * * * * $HOME/cleanup_and_reboot.sh\n0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab crontab -l From aab124e7626100aebf98cb343728903fc6d5cc5b Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 23 May 2022 11:07:18 -0700 Subject: [PATCH 31/72] remove duplicate echo --- hack/jenkins/installers/check_install_osx_crons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/jenkins/installers/check_install_osx_crons.sh b/hack/jenkins/installers/check_install_osx_crons.sh index f80a0ba336..2b6877f0a7 100755 --- a/hack/jenkins/installers/check_install_osx_crons.sh +++ b/hack/jenkins/installers/check_install_osx_crons.sh @@ -19,5 +19,5 @@ set -e mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES" install cron/cleanup_and_reboot_Darwin.sh $HOME/cleanup_and_reboot.sh || echo "FAILED TO INSTALL CLEANUP AND REBOOT" install cron/cleanup_go_modules.sh $HOME/cleanup_go_modules.sh || echo "FAILED TO INSTALL GO MODULES CLEANUP" -echo "echo "*/30 * * * * $HOME/cleanup_and_reboot.sh\n0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab +echo "*/30 * * * * $HOME/cleanup_and_reboot.sh\n0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab crontab -l From ddfe8997aa21a891a38bdf938eca43cf12ffedad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 May 2022 18:08:32 +0000 Subject: [PATCH 32/72] Bump github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace Bumps [github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go) from 1.4.0 to 1.7.0. - [Release notes](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/releases) - [Commits](https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/compare/v1.4.0...exporter/trace/v1.7.0) --- updated-dependencies: - dependency-name: github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 3 ++- go.sum | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 4a6f594ba5..d7088a2c3d 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( contrib.go.opencensus.io/exporter/stackdriver v0.13.12 github.com/Delta456/box-cli-maker/v2 v2.2.2 github.com/GoogleCloudPlatform/docker-credential-gcr v0.0.0-20210713212222-faed5e8b8ca2 - github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.4.0 + github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.7.0 github.com/Microsoft/hcsshim v0.8.17 // indirect github.com/Parallels/docker-machine-parallels/v2 v2.0.1 github.com/VividCortex/godaemon v1.0.0 @@ -112,6 +112,7 @@ require ( cloud.google.com/go/trace v1.2.0 // indirect git.sr.ht/~sbinet/gg v0.3.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.31.0 // indirect github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect github.com/Microsoft/go-winio v0.5.0 // indirect github.com/PuerkitoBio/purell v1.1.1 // indirect diff --git a/go.sum b/go.sum index 3e02c0b342..d238d8f4a0 100644 --- a/go.sum +++ b/go.sum @@ -106,8 +106,10 @@ github.com/Delta456/box-cli-maker/v2 v2.2.2 h1:CpSLcPgi5pY4+arzpyuWN2+nU8gHqto2Y github.com/Delta456/box-cli-maker/v2 v2.2.2/go.mod h1:idItIMZeyx3bg73XwSgsLeZd+gdpD2IvGbR3FC8a9TU= github.com/GoogleCloudPlatform/docker-credential-gcr v0.0.0-20210713212222-faed5e8b8ca2 h1:rMamBsR6iCT9Y5m2Il6vFGJvY7FAgck4AoA/LobheKU= github.com/GoogleCloudPlatform/docker-credential-gcr v0.0.0-20210713212222-faed5e8b8ca2/go.mod h1:BB1eHdMLYEFuFdBlRMb0N7YGVdM5s6Pt0njxgvfbGGs= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.4.0 h1:0jFkxz0dzGjRZItXVhv9U4yJW7Xkr82b1vSUcnD2Zh0= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.4.0/go.mod h1:1KabLpTVwm4YmU74LP4uCrOSP176G5WTMgdvfrJKgLU= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.7.0 h1:8vpIORQCKkwM0r/IZ1faAddG56t7byhqSxATphc+8MI= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.7.0/go.mod h1:HuFNmMWVYJDj2IxyIlUOW2vguRBM8ct9mOuAtWRU2EQ= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.31.0 h1:tfaeStvrph8eJEmo1iji3A4DXen3s6ZMM17nQmvo0WA= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.31.0/go.mod h1:j+FS9VBW3mwtHBmm9KOJEy5Tq68fCp7fE/R9bV/flIM= github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd h1:sjQovDkwrZp8u+gxLtPgKGjk5hCxuy2hrRejBTA9xFU= github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= From facc8d93866f9e3ff5e77792f7d136eafbb3cced Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 May 2022 18:31:26 +0000 Subject: [PATCH 33/72] Bump actions/upload-artifact from 3.0.0 to 3.1.0 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/6673cd052c4cd6fcf4b4e6e60ea986c889389535...3cea5372237819ed00197afe530f5a7ea3e805c8) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 2 +- .github/workflows/functional_verified.yml | 6 +++--- .github/workflows/master.yml | 14 +++++++------- .github/workflows/pr.yml | 14 +++++++------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84540a0392..35e1e1f673 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: echo workspace $GITHUB_WORKSPACE echo "end of debug stuff" echo $(which jq) - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: minikube_binaries path: out diff --git a/.github/workflows/functional_verified.yml b/.github/workflows/functional_verified.yml index d76d4af8ee..c50d7c1b46 100644 --- a/.github/workflows/functional_verified.yml +++ b/.github/workflows/functional_verified.yml @@ -47,7 +47,7 @@ jobs: sudo apt-get install -y libvirt-dev MINIKUBE_BUILD_IN_DOCKER=y make cross e2e-cross debs cp -r test/integration/testdata ./out - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: minikube_binaries path: out @@ -167,7 +167,7 @@ jobs: echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_docker_ubuntu_arm64 path: minikube_binaries/report @@ -211,7 +211,7 @@ jobs: run: | mkdir -p all_reports cp -r ./functional_docker_ubuntu_arm64 ./all_reports/ - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: all_reports path: all_reports diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 4759b99dfb..812eb26a4c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -44,7 +44,7 @@ jobs: echo workspace $GITHUB_WORKSPACE echo "end of debug stuff" echo $(which jq) - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: minikube_binaries path: out @@ -168,7 +168,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_docker_ubuntu path: minikube_binaries/report @@ -268,7 +268,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_docker_containerd_ubuntu path: minikube_binaries/report @@ -371,7 +371,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_podman_ubuntu path: minikube_binaries/report @@ -471,7 +471,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_virtualbox_macos path: minikube_binaries/report @@ -566,7 +566,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: none_ubuntu18_04 path: minikube_binaries/report @@ -616,7 +616,7 @@ jobs: cp -r ./functional_virtualbox_macos ./all_reports/ cp -r ./functional_baremetal_ubuntu18_04 ./all_reports/ - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: all_reports path: all_reports diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b921617704..796a48f888 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -42,7 +42,7 @@ jobs: echo workspace $GITHUB_WORKSPACE echo "end of debug stuff" echo $(which jq) - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: minikube_binaries path: out @@ -166,7 +166,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_docker_ubuntu path: minikube_binaries/report @@ -267,7 +267,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_docker_containerd_ubuntu path: minikube_binaries/report @@ -371,7 +371,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_podman_ubuntu path: minikube_binaries/report @@ -472,7 +472,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: functional_virtualbox_macos path: minikube_binaries/report @@ -568,7 +568,7 @@ jobs: echo 'STAT<> $GITHUB_ENV echo "${STAT}" >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: none_ubuntu18_04 path: minikube_binaries/report @@ -618,7 +618,7 @@ jobs: cp -r ./functional_virtualbox_macos ./all_reports/ cp -r ./functional_baremetal_ubuntu18_04 ./all_reports/ - - uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: all_reports path: all_reports From 5a151df51f8effb2bdca9f387ad00639c0ef57d5 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 23 May 2022 16:27:24 -0700 Subject: [PATCH 34/72] add Mac arch --- hack/jenkins/installers/check_install_golang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/jenkins/installers/check_install_golang.sh b/hack/jenkins/installers/check_install_golang.sh index 3aec596fda..a07bb7ab4d 100755 --- a/hack/jenkins/installers/check_install_golang.sh +++ b/hack/jenkins/installers/check_install_golang.sh @@ -27,7 +27,7 @@ INSTALL_PATH=${1} function current_arch() { case $(arch) in - "x86_64") + "x86_64" | "i386") echo "amd64" ;; "aarch64") From 1dde1d595640326c313627e8254313926706b188 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 24 May 2022 12:31:26 -0700 Subject: [PATCH 35/72] automate updating gopogh --- .github/workflows/functional_verified.yml | 2 +- .github/workflows/master.yml | 10 ++--- .github/workflows/pr.yml | 10 ++--- .github/workflows/update-golang-version.yml | 6 +-- .github/workflows/update-gopogh-version.yml | 44 +++++++++++++++++++ .github/workflows/update-k8s-versions.yml | 2 +- .github/workflows/update-kubadm-constants.yml | 3 +- hack/jenkins/common.ps1 | 2 +- hack/jenkins/common.sh | 2 +- .../golang_version/update_golang_version.go | 6 ++- 10 files changed, 65 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/update-gopogh-version.yml diff --git a/.github/workflows/functional_verified.yml b/.github/workflows/functional_verified.yml index c50d7c1b46..9e179dbdf3 100644 --- a/.github/workflows/functional_verified.yml +++ b/.github/workflows/functional_verified.yml @@ -94,7 +94,7 @@ jobs: - name: Install gopogh shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-arm64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-arm64 sudo install gopogh-linux-arm64 /usr/local/bin/gopogh - name: Docker Info diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 812eb26a4c..ccb592bae4 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -127,7 +127,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -227,7 +227,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -330,7 +330,7 @@ jobs: - name: Install gopogh shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -417,7 +417,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-darwin-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-darwin-amd64 sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh - name: Install docker shell: bash @@ -527,7 +527,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 796a48f888..9c3a3610e9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -124,7 +124,7 @@ jobs: - name: Install gopogh shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -225,7 +225,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -329,7 +329,7 @@ jobs: - name: Install gopogh shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 @@ -417,7 +417,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-darwin-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-darwin-amd64 sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh - name: Install docker shell: bash @@ -528,7 +528,7 @@ jobs: shell: bash run: | - curl -LO https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-linux-amd64 + curl -LO https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-linux-amd64 sudo install gopogh-linux-amd64 /usr/local/bin/gopogh - name: Download Binaries uses: actions/download-artifact@fdafc3f9f2e2a522dc1d230e6a03de57a1e71c95 diff --git a/.github/workflows/update-golang-version.yml b/.github/workflows/update-golang-version.yml index 33223e0a41..aa97fee86b 100644 --- a/.github/workflows/update-golang-version.yml +++ b/.github/workflows/update-golang-version.yml @@ -41,8 +41,4 @@ jobs: body: | Kubernetes Project just updated the [golang version](https://github.com/kubernetes/kubernetes/blob/master/build/build-image/cross/VERSION), updating minikube golang to match Kubernetes. - This PR was auto-generated by `make update-golang-version` using [update-golang-versions.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-golang-version.yml) CI Workflow. - - - - + This PR was auto-generated by `make update-golang-version` using [update-golang-version.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-golang-version.yml) CI Workflow. diff --git a/.github/workflows/update-gopogh-version.yml b/.github/workflows/update-gopogh-version.yml new file mode 100644 index 0000000000..0631568152 --- /dev/null +++ b/.github/workflows/update-gopogh-version.yml @@ -0,0 +1,44 @@ +name: "update-gopogh-versions" +on: + workflow_dispatch: + schedule: + # every Monday at around 2 am pacific/9 am UTC + - cron: "0 9 * * 1" +env: + GOPROXY: https://proxy.golang.org + GO_VERSION: '1.18.2' +permissions: + contents: read + +jobs: + bump-gopogh-version: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 + - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + with: + go-version: ${{env.GO_VERSION}} + stable: true + - name: Bump gopogh Versions + id: bumpGopogh + run: | + make update-gopogh-version + echo "::set-output name=changes::$(git status --porcelain)" + - name: Create PR + if: ${{ steps.bumpGopogh.outputs.changes != '' }} + uses: peter-evans/create-pull-request@f094b77505fb89581e68a1163fbd2fffece39da1 + with: + token: ${{ secrets.MINIKUBE_BOT_PAT }} + commit-message: bump gopogh versions + committer: minikube-bot + author: minikube-bot + branch: auto_bump_gopogh_version + push-to-fork: minikube-bot/minikube + base: master + delete-branch: true + title: 'bump gopogh version' + labels: ok-to-test + body: | + Gopogh Project released a [new version](https://github.com/medyagh/gopogh/releases), + + This PR was auto-generated by `make update-gopogh-version` using [update-gopogh-version.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-gopogh-version.yml) CI Workflow. diff --git a/.github/workflows/update-k8s-versions.yml b/.github/workflows/update-k8s-versions.yml index 15c954a8f6..944351aa6a 100644 --- a/.github/workflows/update-k8s-versions.yml +++ b/.github/workflows/update-k8s-versions.yml @@ -43,7 +43,7 @@ jobs: title: "${{ steps.bumpk8s.outputs.title }}" labels: ok-to-test body: | - This PR was auto-generated by `make update-kubernetes-version` using [update-k8s-versions.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows) CI Workflow. + This PR was auto-generated by `make update-kubernetes-version` using [update-k8s-versions.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-k8s-versions.yml) CI Workflow. Please only merge if all the tests pass. ``` diff --git a/.github/workflows/update-kubadm-constants.yml b/.github/workflows/update-kubadm-constants.yml index 877ed83b28..d1b60c8bf6 100644 --- a/.github/workflows/update-kubadm-constants.yml +++ b/.github/workflows/update-kubadm-constants.yml @@ -42,10 +42,9 @@ jobs: title: 'Bump kubeadm constants for kubernetes images' labels: ok-to-test body: | - This PR was auto-generated by `make update-kubeadm-constants` using [update-kubeadm-constants.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows) CI Workflow. + This PR was auto-generated by `make update-kubeadm-constants` using [update-kubeadm-constants.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-kubeadm-constants.yml) CI Workflow. Please only merge if all the tests pass. ``` ${{ steps.bumpKubAdmConsts.outputs.changes }} ``` - diff --git a/hack/jenkins/common.ps1 b/hack/jenkins/common.ps1 index da1201176f..eb526f6329 100644 --- a/hack/jenkins/common.ps1 +++ b/hack/jenkins/common.ps1 @@ -53,7 +53,7 @@ If ($lastexitcode -gt 0) { } # Download gopogh and gotestsum -(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh.exe", "C:\Go\bin\gopogh.exe") +(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh.exe", "C:\Go\bin\gopogh.exe") (New-Object Net.WebClient).DownloadFile("https://github.com/gotestyourself/gotestsum/releases/download/v1.6.4/gotestsum_1.6.4_windows_amd64.tar.gz", "$env:TEMP\gotestsum.tar.gz") tar --directory "C:\Go\bin\" -xzvf "$env:TEMP\gotestsum.tar.gz" "gotestsum.exe" diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index ccc6a70812..8b6fa75a98 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -421,7 +421,7 @@ if ! type "jq" > /dev/null; then fi echo ">> Installing gopogh" -curl -LO "https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh-${OS_ARCH}" +curl -LO "https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh-${OS_ARCH}" sudo install "gopogh-${OS_ARCH}" /usr/local/bin/gopogh diff --git a/hack/update/golang_version/update_golang_version.go b/hack/update/golang_version/update_golang_version.go index 879639a122..da734dd2a7 100644 --- a/hack/update/golang_version/update_golang_version.go +++ b/hack/update/golang_version/update_golang_version.go @@ -100,7 +100,11 @@ var ( `GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, - + ".github/workflows/update-gopogh-version.yml": { + Replace: map[string]string{ + `GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`, + }, + }, ".github/workflows/time-to-k8s-public-chart.yml": { Replace: map[string]string{ `GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`, From 6709ef5db822b30afc3a4b807ef655ba305fa073 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 24 May 2022 13:00:00 -0700 Subject: [PATCH 36/72] automate updating gotestsum --- .../workflows/update-gotestsum-version.yml | 44 +++++++++ Makefile | 5 + hack/jenkins/common.ps1 | 2 +- .../installers/check_install_gotestsum.sh | 2 +- .../gopogh_version/update_gopogh_version.go | 2 +- .../update_gotestsum_version.go | 94 +++++++++++++++++++ 6 files changed, 146 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/update-gotestsum-version.yml create mode 100644 hack/update/gotestsum_version/update_gotestsum_version.go diff --git a/.github/workflows/update-gotestsum-version.yml b/.github/workflows/update-gotestsum-version.yml new file mode 100644 index 0000000000..00b0adda43 --- /dev/null +++ b/.github/workflows/update-gotestsum-version.yml @@ -0,0 +1,44 @@ +name: "update-gotestsum-version" +on: + workflow_dispatch: + schedule: + # every Monday at around 3 am pacific/10 am UTC + - cron: "0 10 * * 1" +env: + GOPROXY: https://proxy.golang.org + GO_VERSION: '1.18.2' +permissions: + contents: read + +jobs: + bump-gotestsum-version: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 + - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + with: + go-version: ${{env.GO_VERSION}} + stable: true + - name: Bump Gotestsum Versions + id: bumpGotestsum + run: | + make update-gotestsum-version + echo "::set-output name=changes::$(git status --porcelain)" + - name: Create PR + if: ${{ steps.bumpGotestsum.outputs.changes != '' }} + uses: peter-evans/create-pull-request@f094b77505fb89581e68a1163fbd2fffece39da1 + with: + token: ${{ secrets.MINIKUBE_BOT_PAT }} + commit-message: bump gotestsum versions + committer: minikube-bot + author: minikube-bot + branch: auto_bump_gotestsum_version + push-to-fork: minikube-bot/minikube + base: master + delete-branch: true + title: 'bump gotestsum version' + labels: ok-to-test + body: | + Gotestsum Project release a [new version](https://github.com/gotestyourself/gotestsum/releases), + + This PR was auto-generated by `make update-gotestsum-version` using [update-gotestsum-version.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows/update-gotestsum-version.yml) CI Workflow. diff --git a/Makefile b/Makefile index c52602394a..2cccef0d24 100644 --- a/Makefile +++ b/Makefile @@ -1039,3 +1039,8 @@ time-to-k8s-benchmark: update-gopogh-version: ## update gopogh version (cd hack/update/gopogh_version && \ go run update_gopogh_version.go) + +.PHONY: update-gotestsum-version +update-gotestsum-version: + (cd hack/update/gotestsum_version && \ + go run update_gotestsum_version.go) diff --git a/hack/jenkins/common.ps1 b/hack/jenkins/common.ps1 index da1201176f..551e3d3f09 100644 --- a/hack/jenkins/common.ps1 +++ b/hack/jenkins/common.ps1 @@ -54,7 +54,7 @@ If ($lastexitcode -gt 0) { # Download gopogh and gotestsum (New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.9.0/gopogh.exe", "C:\Go\bin\gopogh.exe") -(New-Object Net.WebClient).DownloadFile("https://github.com/gotestyourself/gotestsum/releases/download/v1.6.4/gotestsum_1.6.4_windows_amd64.tar.gz", "$env:TEMP\gotestsum.tar.gz") +(New-Object Net.WebClient).DownloadFile("https://github.com/gotestyourself/gotestsum/releases/download/v1.8.1/gotestsum_1.8.1_windows_amd64.tar.gz", "$env:TEMP\gotestsum.tar.gz") tar --directory "C:\Go\bin\" -xzvf "$env:TEMP\gotestsum.tar.gz" "gotestsum.exe" # Grab all the scripts we'll need for integration tests diff --git a/hack/jenkins/installers/check_install_gotestsum.sh b/hack/jenkins/installers/check_install_gotestsum.sh index 4a99d7ca1c..2d58d7e6b5 100755 --- a/hack/jenkins/installers/check_install_gotestsum.sh +++ b/hack/jenkins/installers/check_install_gotestsum.sh @@ -18,7 +18,7 @@ set -eux -o pipefail function install_gotestsum() { rm -f $(which gotestsum) - GOBIN="$GOROOT/bin" go install gotest.tools/gotestsum@v1.6.4 + GOBIN="$GOROOT/bin" go install gotest.tools/gotestsum@v1.8.1 } which gotestsum || install_gotestsum diff --git a/hack/update/gopogh_version/update_gopogh_version.go b/hack/update/gopogh_version/update_gopogh_version.go index aca9092abe..c99c987919 100644 --- a/hack/update/gopogh_version/update_gopogh_version.go +++ b/hack/update/gopogh_version/update_gopogh_version.go @@ -99,7 +99,7 @@ func main() { // gopoghVersion returns gopogh stable version in semver format. func gopoghVersion(ctx context.Context, owner, repo string) (stable string, err error) { - // get Kubernetes versions from GitHub Releases + // get gopogh versions from GitHub Releases stable, _, _, err = update.GHReleases(ctx, owner, repo) if err != nil || !semver.IsValid(stable) { return "", err diff --git a/hack/update/gotestsum_version/update_gotestsum_version.go b/hack/update/gotestsum_version/update_gotestsum_version.go new file mode 100644 index 0000000000..8e00573a4a --- /dev/null +++ b/hack/update/gotestsum_version/update_gotestsum_version.go @@ -0,0 +1,94 @@ +/* +Copyright 2022 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/* +Script expects the following env variables: + - UPDATE_TARGET=: optional - if unset/absent, default option is "fs"; valid options are: + - "fs" - update only local filesystem repo files [default] + - "gh" - update only remote GitHub repo files and create PR (if one does not exist already) + - "all" - update local and remote repo files and create PR (if one does not exist already) + - GITHUB_TOKEN=: GitHub [personal] access token + - note: GITHUB_TOKEN is required if UPDATE_TARGET is "gh" or "all" +*/ + +package main + +import ( + "context" + "strings" + "time" + + "golang.org/x/mod/semver" + "k8s.io/klog/v2" + + "k8s.io/minikube/hack/update" +) + +const ( + // default context timeout + cxTimeout = 300 * time.Second +) + +var ( + schema = map[string]update.Item{ + "hack/jenkins/common.ps1": { + Replace: map[string]string{ + `(?U)https://github.com/gotestyourself/gotestsum/releases/download/.*/gotestsum_.*_`: `https://github.com/gotestyourself/gotestsum/releases/download/v{{.StableVersion}}/gotestsum_{{.StableVersion}}_`, + }, + }, + "hack/jenkins/installers/check_install_gotestsum.sh": { + Replace: map[string]string{ + `gotest.tools/gotestsum@.*`: `gotest.tools/gotestsum@v{{.StableVersion}}`, + }, + }, + } + + // PR data + prBranchPrefix = "update-gotestsum-version_" // will be appended with first 7 characters of the PR commit SHA + prTitle = `update_gotestsum_version: {stable: "{{.StableVersion}}"}` + prIssue = 14224 +) + +// Data holds stable gotestsum version in semver format. +type Data struct { + StableVersion string `json:"stableVersion"` +} + +func main() { + // set a context with defined timeout + ctx, cancel := context.WithTimeout(context.Background(), cxTimeout) + defer cancel() + + // get gotestsum stable version from https://github.com/gotestyourself/gotestsum + stable, err := gotestsumVersion(ctx, "gotestyourself", "gotestsum") + if err != nil || stable == "" { + klog.Fatalf("Unable to get gotestsum stable version: %v", err) + } + data := Data{StableVersion: strings.TrimPrefix(stable, "v")} + klog.Infof("gotestsum stable version: %s", data.StableVersion) + + update.Apply(ctx, schema, data, prBranchPrefix, prTitle, prIssue) +} + +// gotestsumVersion returns gotestsum stable version in semver format. +func gotestsumVersion(ctx context.Context, owner, repo string) (stable string, err error) { + // get gotestsum versions from GitHub Releases + stable, _, _, err = update.GHReleases(ctx, owner, repo) + if err != nil || !semver.IsValid(stable) { + return "", err + } + return stable, nil +} From 910fe36c0741c449c7c614219f9f90edcc3897ef Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 24 May 2022 13:06:38 -0700 Subject: [PATCH 37/72] update go version --- hack/update/golang_version/update_golang_version.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/update/golang_version/update_golang_version.go b/hack/update/golang_version/update_golang_version.go index 879639a122..6c9c0b67e8 100644 --- a/hack/update/golang_version/update_golang_version.go +++ b/hack/update/golang_version/update_golang_version.go @@ -111,6 +111,11 @@ var ( `GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, + ".github/workflows/update-gotestsum-version.yml": { + Replace: map[string]string{ + `GO_VERSION: .*`: `GO_VERSION: '{{.StableVersion}}'`, + }, + }, "go.mod": { Replace: map[string]string{ `(?m)^go .*`: `go {{.StableVersionMM}}`, From fa8864c25c6e30cedaac8259a14691376344973f Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 24 May 2022 14:18:49 -0700 Subject: [PATCH 38/72] pass in less source code to auto-pause kicbase context --- .../metrics-server-deployment.yaml.tmpl | 4 +-- deploy/kicbase/Dockerfile | 32 ++++++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl b/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl index e8ed7029e4..9e1d621b96 100644 --- a/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl +++ b/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl @@ -47,14 +47,14 @@ spec: protocol: TCP readinessProbe: httpGet: - path: /readyz?exclude=livez + path: /readyz port: https scheme: HTTPS periodSeconds: 10 failureThreshold: 3 livenessProbe: httpGet: - path: /livez?exclude=readyz + path: /livez port: https scheme: HTTPS periodSeconds: 10 diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 549f48c985..be572bc5f3 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -18,22 +18,30 @@ # https://systemd.io/CONTAINER_INTERFACE/ -# multi-tage docker build so we can build auto-pause for arm64 -FROM golang:1.17 +# multi-stage docker build so we can build auto-pause for arm64 +FROM golang:1.17 as auto-pause WORKDIR /src -# becaue auto-pause binary depends on minikube's code we need to pass the whole source code as the context -ADD . . +# auto-pause depends on core minikube code so we need to pass the whole source code as the context +# copy in the minimal amount of source code possible +COPY pkg/ ./pkg +COPY cmd/ ./cmd +COPY deploy/addons ./deploy/addons +COPY translations/ ./translations +COPY third_party/ ./third_party +COPY go.mod go.sum ./ +ARG TARGETARCH +ENV GOARCH=${TARGETARCH} RUN cd ./cmd/auto-pause/ && go build # cri-dockerd static -FROM golang:1.16 +FROM golang:1.16 as cri-dockerd RUN git clone -n https://github.com/Mirantis/cri-dockerd && \ cd cri-dockerd && git checkout a4d1895a2659ea9974bd7528a706592ab8b74181 && \ cd src && env CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=a4d1895' -o cri-dockerd # start from ubuntu 20.04, this image is reasonably small as a starting point # for a kubernetes node image, it doesn't contain much we don't need -FROM ubuntu:focal-20220316 +FROM ubuntu:focal-20220316 as kicbase ARG BUILDKIT_VERSION="v0.10.3" ARG FUSE_OVERLAYFS_VERSION="v1.7.1" @@ -46,10 +54,10 @@ COPY deploy/kicbase/11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.con COPY deploy/kicbase/02-crio.conf /etc/crio/crio.conf.d/02-crio.conf COPY deploy/kicbase/clean-install /usr/local/bin/clean-install COPY deploy/kicbase/entrypoint /usr/local/bin/entrypoint -COPY --from=0 /src/cmd/auto-pause/auto-pause /bin/auto-pause -COPY --from=1 /go/cri-dockerd/src/cri-dockerd /usr/bin/cri-dockerd -COPY --from=1 /go/cri-dockerd/packaging/systemd/cri-docker.service /usr/lib/systemd/system/cri-docker.service -COPY --from=1 /go/cri-dockerd/packaging/systemd/cri-docker.socket /usr/lib/systemd/system/cri-docker.socket +COPY --from=auto-pause /src/cmd/auto-pause/auto-pause /bin/auto-pause +COPY --from=cri-dockerd /go/cri-dockerd/src/cri-dockerd /usr/bin/cri-dockerd +COPY --from=cri-dockerd /go/cri-dockerd/packaging/systemd/cri-docker.service /usr/lib/systemd/system/cri-docker.service +COPY --from=cri-dockerd /go/cri-dockerd/packaging/systemd/cri-docker.socket /usr/lib/systemd/system/cri-docker.socket # Install dependencies, first from apt, then from release tarballs. # NOTE: we use one RUN to minimize layers. @@ -162,9 +170,9 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && \ curl -LO https://downloadcontent.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \ apt-key add - < Release.key && \ if [ "$ARCH" != "ppc64le" ]; then \ - clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins crun; \ + clean-install containers-common conmon containernetworking-plugins cri-tools crun podman podman-plugins catatonit; \ else \ - clean-install containers-common conmon containernetworking-plugins crun; \ + clean-install containers-common conmon containernetworking-plugins crun; \ fi # install cri-o based on https://github.com/cri-o/cri-o/blob/release-1.22/README.md#installing-cri-o From 2288dd2f6ba2ef2789b7b914c0acc06952fc8621 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Tue, 24 May 2022 23:34:18 +0000 Subject: [PATCH 39/72] fix NetCatPod test --- test/integration/net_test.go | 2 +- test/integration/testdata/romana.yaml | 402 ++++++++++++++++++++++++ test/integration/testdata/weavenet.yaml | 255 --------------- 3 files changed, 403 insertions(+), 256 deletions(-) create mode 100644 test/integration/testdata/romana.yaml delete mode 100644 test/integration/testdata/weavenet.yaml diff --git a/test/integration/net_test.go b/test/integration/net_test.go index 834c5e9097..12b14267dc 100644 --- a/test/integration/net_test.go +++ b/test/integration/net_test.go @@ -61,7 +61,7 @@ func TestNetworkPlugins(t *testing.T) { {"flannel", []string{"--cni=flannel"}, "cni", "app=flannel", true}, {"kindnet", []string{"--cni=kindnet"}, "cni", "app=kindnet", true}, {"false", []string{"--cni=false"}, "", "", false}, - {"custom-weave", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "weavenet.yaml"))}, "cni", "", true}, + {"custom-romana", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "romana.yaml"))}, "cni", "", true}, {"calico", []string{"--cni=calico"}, "cni", "k8s-app=calico-node", true}, {"cilium", []string{"--cni=cilium"}, "cni", "k8s-app=cilium", true}, } diff --git a/test/integration/testdata/romana.yaml b/test/integration/testdata/romana.yaml new file mode 100644 index 0000000000..f28c54a00f --- /dev/null +++ b/test/integration/testdata/romana.yaml @@ -0,0 +1,402 @@ +apiVersion: v1 +items: +- apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRole + metadata: + creationTimestamp: null + name: romana-listener + rules: + - apiGroups: + - '*' + resources: + - pods + - namespaces + - nodes + - endpoints + verbs: + - get + - list + - watch + - apiGroups: + - extensions + resources: + - networkpolicies + verbs: + - get + - list + - watch + - apiGroups: + - '*' + resources: + - services + verbs: + - update + - list + - watch +- apiVersion: v1 + kind: ServiceAccount + metadata: + creationTimestamp: null + name: romana-listener + namespace: kube-system +- apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + creationTimestamp: null + name: romana-listener + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: romana-listener + subjects: + - kind: ServiceAccount + name: romana-listener + namespace: kube-system +- apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRole + metadata: + creationTimestamp: null + name: romana-agent + rules: + - apiGroups: + - '*' + resources: + - pods + - nodes + verbs: + - get +- apiVersion: v1 + kind: ServiceAccount + metadata: + creationTimestamp: null + name: romana-agent + namespace: kube-system +- apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + creationTimestamp: null + name: romana-agent + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: romana-agent + subjects: + - kind: ServiceAccount + name: romana-agent + namespace: kube-system +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + name: romana-etcd + namespace: kube-system + spec: + clusterIP: 10.96.0.88 + internalTrafficPolicy: Cluster + ports: + - name: etcd + port: 12379 + protocol: TCP + targetPort: 12379 + selector: + romana-app: etcd + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + romana-app: etcd + name: romana-etcd + namespace: kube-system + spec: + progressDeadlineSeconds: 2147483647 + replicas: 1 + revisionHistoryLimit: 2147483647 + selector: + matchLabels: + romana-app: etcd + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + romana-app: etcd + spec: + containers: + - command: + - etcd + - --listen-client-urls=http://0.0.0.0:12379 + - --listen-peer-urls=http://127.0.0.1:12380 + - --advertise-client-urls=http://10.96.0.88:12379 + - --data-dir=/var/etcd/data + image: gcr.io/google_containers/etcd-amd64:3.0.17 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + host: 127.0.0.1 + path: /health + port: 12379 + scheme: HTTP + initialDelaySeconds: 15 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 15 + name: romana-etcd + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /var/etcd/data + name: etcd-data + dnsPolicy: ClusterFirst + hostNetwork: true + nodeSelector: + node-role.kubernetes.io/master: "" + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seLinuxOptions: + type: spc_t + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoSchedule + key: node.kubernetes.io/not-ready + volumes: + - hostPath: + path: /var/lib/romana/etcd-db + type: "" + name: etcd-data + status: {} +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + name: romana + namespace: kube-system + spec: + clusterIP: 10.96.0.99 + internalTrafficPolicy: Cluster + ports: + - name: daemon + port: 9600 + protocol: TCP + targetPort: 9600 + selector: + romana-app: daemon + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + romana-app: daemon + name: romana-daemon + namespace: kube-system + spec: + progressDeadlineSeconds: 2147483647 + replicas: 1 + revisionHistoryLimit: 2147483647 + selector: + matchLabels: + romana-app: daemon + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + romana-app: daemon + spec: + containers: + - image: quay.io/romana/daemon:v2.0.2 + imagePullPolicy: Always + name: romana-daemon + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: ClusterFirst + hostNetwork: true + nodeSelector: + node-role.kubernetes.io/master: "" + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoSchedule + key: node.kubernetes.io/not-ready + status: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + romana-app: listener + name: romana-listener + namespace: kube-system + spec: + progressDeadlineSeconds: 2147483647 + replicas: 1 + revisionHistoryLimit: 2147483647 + selector: + matchLabels: + romana-app: listener + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + romana-app: listener + spec: + containers: + - image: quay.io/romana/listener:v2.0.2 + imagePullPolicy: Always + name: romana-listener + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: ClusterFirst + hostNetwork: true + nodeSelector: + node-role.kubernetes.io/master: "" + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + serviceAccount: romana-listener + serviceAccountName: romana-listener + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoSchedule + key: node.kubernetes.io/not-ready + status: {} +- apiVersion: apps/v1 + kind: DaemonSet + metadata: + annotations: + deprecated.daemonset.template.generation: "0" + creationTimestamp: null + labels: + romana-app: agent + name: romana-agent + namespace: kube-system + spec: + revisionHistoryLimit: 10 + selector: + matchLabels: + romana-app: agent + template: + metadata: + creationTimestamp: null + labels: + romana-app: agent + spec: + containers: + - env: + - name: NODENAME + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: spec.nodeName + - name: NODEIP + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.hostIP + image: quay.io/romana/agent:v2.0.2 + imagePullPolicy: Always + name: romana-agent + resources: {} + securityContext: + privileged: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /host/usr/local/bin + name: host-usr-local-bin + - mountPath: /host/etc/romana + name: host-etc-romana + - mountPath: /host/opt/cni/bin + name: host-cni-bin + - mountPath: /host/etc/cni/net.d + name: host-cni-net-d + - mountPath: /var/run/romana + name: run-path + - mountPath: /host/etc/rlog + name: host-etc-rlog + dnsPolicy: ClusterFirst + hostNetwork: true + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seLinuxOptions: + type: spc_t + serviceAccount: romana-agent + serviceAccountName: romana-agent + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoSchedule + key: node.kubernetes.io/not-ready + volumes: + - hostPath: + path: /usr/local/bin + type: "" + name: host-usr-local-bin + - hostPath: + path: /etc/romana + type: "" + name: host-etc-romana + - hostPath: + path: /opt/cni/bin + type: "" + name: host-cni-bin + - hostPath: + path: /etc/cni/net.d + type: "" + name: host-cni-net-d + - hostPath: + path: /var/run/romana + type: "" + name: run-path + - hostPath: + path: /etc/rlog + type: "" + name: host-etc-rlog + updateStrategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + status: + currentNumberScheduled: 0 + desiredNumberScheduled: 0 + numberMisscheduled: 0 + numberReady: 0 +kind: List +metadata: {} diff --git a/test/integration/testdata/weavenet.yaml b/test/integration/testdata/weavenet.yaml deleted file mode 100644 index 8918cf2a95..0000000000 --- a/test/integration/testdata/weavenet.yaml +++ /dev/null @@ -1,255 +0,0 @@ -apiVersion: v1 -kind: List -items: - - apiVersion: v1 - kind: ServiceAccount - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - namespace: kube-system - - apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRole - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - rules: - - apiGroups: - - '' - resources: - - pods - - namespaces - - nodes - verbs: - - get - - list - - watch - - apiGroups: - - networking.k8s.io - resources: - - networkpolicies - verbs: - - get - - list - - watch - - apiGroups: - - '' - resources: - - nodes/status - verbs: - - patch - - update - - apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRoleBinding - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - roleRef: - kind: ClusterRole - name: weave-net - apiGroup: rbac.authorization.k8s.io - subjects: - - kind: ServiceAccount - name: weave-net - namespace: kube-system - - apiVersion: rbac.authorization.k8s.io/v1 - kind: Role - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - namespace: kube-system - rules: - - apiGroups: - - '' - resourceNames: - - weave-net - resources: - - configmaps - verbs: - - get - - update - - apiGroups: - - '' - resources: - - configmaps - verbs: - - create - - apiVersion: rbac.authorization.k8s.io/v1 - kind: RoleBinding - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - namespace: kube-system - roleRef: - kind: Role - name: weave-net - apiGroup: rbac.authorization.k8s.io - subjects: - - kind: ServiceAccount - name: weave-net - namespace: kube-system - - apiVersion: apps/v1 - kind: DaemonSet - metadata: - name: weave-net - annotations: - cloud.weave.works/launcher-info: |- - { - "original-request": { - "url": "/k8s/v1.16/net.yaml?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjAiLCBHaXRDb21taXQ6IjllOTkxNDE1Mzg2ZTRjZjE1NWEyNGIxZGExNWJlY2FhMzkwNDM4ZDgiLCBHaXRUcmVlU3RhdGU6ImNsZWFuIiwgQnVpbGREYXRlOiIyMDIwLTAzLTI2VDA2OjE2OjE1WiIsIEdvVmVyc2lvbjoiZ28xLjE0IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImRhcndpbi9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4zIiwgR2l0Q29tbWl0OiIyZTc5OTZlM2UyNzEyNjg0YmM3M2YwZGVjMDIwMGQ2NGVlYzdmZTQwIiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMC0wNS0yMFQxMjo0MzozNFoiLCBHb1ZlcnNpb246ImdvMS4xMy45IiwgQ29tcGlsZXI6ImdjIiwgUGxhdGZvcm06ImxpbnV4L2FtZDY0In0K", - "date": "Tue Jun 23 2020 02:18:50 GMT+0000 (UTC)" - }, - "email-address": "support@weave.works" - } - labels: - name: weave-net - namespace: kube-system - spec: - minReadySeconds: 5 - selector: - matchLabels: - name: weave-net - template: - metadata: - labels: - name: weave-net - spec: - containers: - - name: weave - command: - - /home/weave/launch.sh - env: - - name: HOSTNAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - image: 'docker.io/weaveworks/weave-kube:2.6.5' - readinessProbe: - httpGet: - host: 127.0.0.1 - path: /status - port: 6784 - resources: - requests: - cpu: 10m - securityContext: - privileged: true - volumeMounts: - - name: weavedb - mountPath: /weavedb - - name: cni-bin - mountPath: /host/opt - - name: cni-bin2 - mountPath: /host/home - - name: cni-conf - mountPath: /host/etc - - name: dbus - mountPath: /host/var/lib/dbus - - name: lib-modules - mountPath: /lib/modules - - name: xtables-lock - mountPath: /run/xtables.lock - - name: weave-npc - env: - - name: HOSTNAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - image: 'docker.io/weaveworks/weave-npc:2.6.5' - resources: - requests: - cpu: 10m - securityContext: - privileged: true - volumeMounts: - - name: xtables-lock - mountPath: /run/xtables.lock - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostPID: true - priorityClassName: system-node-critical - restartPolicy: Always - securityContext: - seLinuxOptions: {} - serviceAccountName: weave-net - tolerations: - - effect: NoSchedule - operator: Exists - - effect: NoExecute - operator: Exists - volumes: - - name: weavedb - hostPath: - path: /var/lib/weave - - name: cni-bin - hostPath: - path: /opt - - name: cni-bin2 - hostPath: - path: /home - - name: cni-conf - hostPath: - path: /etc - - name: dbus - hostPath: - path: /var/lib/dbus - - name: lib-modules - hostPath: - path: /lib/modules - - name: xtables-lock - hostPath: - path: /run/xtables.lock - type: FileOrCreate - updateStrategy: - type: RollingUpdate From 84fc3516cd48d3bfdb268dff5ff6cd2c658f7aa7 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 24 May 2022 17:03:15 -0700 Subject: [PATCH 40/72] dynamically get the kubectl version to download --- hack/jenkins/common.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/common.ps1 b/hack/jenkins/common.ps1 index ab36cb378d..e4d2342ffc 100644 --- a/hack/jenkins/common.ps1 +++ b/hack/jenkins/common.ps1 @@ -32,7 +32,8 @@ $gcs_bucket="minikube-builds/logs/$env:MINIKUBE_LOCATION/$env:ROOT_JOB_ID" $env:MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE="true" # Docker's kubectl breaks things, and comes earlier in the path than the regular kubectl. So download the expected kubectl and replace Docker's version. -(New-Object Net.WebClient).DownloadFile("https://dl.k8s.io/release/v1.20.0/bin/windows/amd64/kubectl.exe", "C:\Program Files\Docker\Docker\resources\bin\kubectl.exe") +$KubeVersion = (Invoke-WebRequest -Uri 'https://storage.googleapis.com/kubernetes-release/release/stable.txt' -UseBasicParsing).Content +(New-Object Net.WebClient).DownloadFile("https://dl.k8s.io/release/$KubeVersion/bin/windows/amd64/kubectl.exe", "C:\Program Files\Docker\Docker\resources\bin\kubectl.exe") # Setup the cleanup and reboot cron gsutil.cmd -m cp -r gs://minikube-builds/$env:MINIKUBE_LOCATION/windows_cleanup_and_reboot.ps1 C:\jenkins From d628748116e0a82f2681c102f1597e74565a26d2 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Wed, 25 May 2022 18:15:35 +0000 Subject: [PATCH 41/72] use antrea CNI --- test/integration/net_test.go | 2 +- test/integration/testdata/antrea.yaml | 5137 +++++++++++++++++++++++++ test/integration/testdata/romana.yaml | 402 -- 3 files changed, 5138 insertions(+), 403 deletions(-) create mode 100644 test/integration/testdata/antrea.yaml delete mode 100644 test/integration/testdata/romana.yaml diff --git a/test/integration/net_test.go b/test/integration/net_test.go index 12b14267dc..93e2666b47 100644 --- a/test/integration/net_test.go +++ b/test/integration/net_test.go @@ -61,7 +61,7 @@ func TestNetworkPlugins(t *testing.T) { {"flannel", []string{"--cni=flannel"}, "cni", "app=flannel", true}, {"kindnet", []string{"--cni=kindnet"}, "cni", "app=kindnet", true}, {"false", []string{"--cni=false"}, "", "", false}, - {"custom-romana", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "romana.yaml"))}, "cni", "", true}, + {"custom-antrea", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "antrea.yaml"))}, "cni", "", true}, {"calico", []string{"--cni=calico"}, "cni", "k8s-app=calico-node", true}, {"cilium", []string{"--cni=cilium"}, "cni", "k8s-app=cilium", true}, } diff --git a/test/integration/testdata/antrea.yaml b/test/integration/testdata/antrea.yaml new file mode 100644 index 0000000000..beb5bab289 --- /dev/null +++ b/test/integration/testdata/antrea.yaml @@ -0,0 +1,5137 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: antreaagentinfos.clusterinformation.antrea.tanzu.vmware.com +spec: + group: clusterinformation.antrea.tanzu.vmware.com + names: + kind: AntreaAgentInfo + plural: antreaagentinfos + shortNames: + - laai + singular: antreaagentinfo + scope: Cluster + versions: + - name: v1beta1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: antreaagentinfos.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: AntreaAgentInfo + plural: antreaagentinfos + shortNames: + - aai + singular: antreaagentinfo + scope: Cluster + versions: + - additionalPrinterColumns: + - description: Health status of this Agent + jsonPath: .agentConditions[?(@.type=='AgentHealthy')].status + name: Healthy + type: string + - description: Last time the Healthy Condition was updated + jsonPath: .agentConditions[?(@.type=='AgentHealthy')].lastHeartbeatTime + name: Last Heartbeat + type: date + - description: Version of this Agent + jsonPath: .version + name: Version + priority: 1 + type: string + - description: Node on which this Agent is running + jsonPath: .nodeRef.name + name: Node + priority: 1 + type: string + - description: Number of local Pods managed by this Agent + jsonPath: .localPodNum + name: Num Pods + priority: 2 + type: integer + - description: Subnets used by this Agent for Pod IPAM + jsonPath: .nodeSubnets + name: Subnets + priority: 2 + type: string + name: v1beta1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: antreacontrollerinfos.clusterinformation.antrea.tanzu.vmware.com +spec: + group: clusterinformation.antrea.tanzu.vmware.com + names: + kind: AntreaControllerInfo + plural: antreacontrollerinfos + shortNames: + - laci + singular: antreacontrollerinfo + scope: Cluster + versions: + - name: v1beta1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: antreacontrollerinfos.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: AntreaControllerInfo + plural: antreacontrollerinfos + shortNames: + - aci + singular: antreacontrollerinfo + scope: Cluster + versions: + - additionalPrinterColumns: + - description: Health status of the Controller + jsonPath: .controllerConditions[?(@.type=='ControllerHealthy')].status + name: Healthy + type: string + - description: Last time the Healthy Condition was updated + jsonPath: .controllerConditions[?(@.type=='ControllerHealthy')].lastHeartbeatTime + name: Last Heartbeat + type: date + - description: Version of the Controller + jsonPath: .version + name: Version + priority: 1 + type: string + - description: Number of Agents connected to the Controller + jsonPath: .connectedAgentNum + name: Connected Agents + priority: 1 + type: integer + - description: Node on which the Controller is running + jsonPath: .nodeRef.name + name: Node + priority: 1 + type: string + - description: Number of Network Policies computed by Controller + jsonPath: .networkPolicyControllerInfo.networkPolicyNum + name: Num Network Policies + priority: 2 + type: integer + name: v1beta1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: clustergroups.core.antrea.tanzu.vmware.com +spec: + group: core.antrea.tanzu.vmware.com + names: + kind: ClusterGroup + plural: clustergroups + shortNames: + - lcg + singular: group + scope: Cluster + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + childGroups: + items: + type: string + type: array + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + ipBlocks: + items: + properties: + cidr: + format: cidr + type: string + type: object + type: array + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + serviceReference: + properties: + name: + type: string + namespace: + type: string + type: object + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + type: string + status: + type: string + type: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: clustergroups.crd.antrea.io +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: antrea + namespace: kube-system + path: /convert/clustergroup + conversionReviewVersions: + - v1 + - v1beta1 + group: crd.antrea.io + names: + kind: ClusterGroup + plural: clustergroups + shortNames: + - cg + singular: clustergroup + scope: Cluster + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + childGroups: + items: + type: string + type: array + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + ipBlocks: + items: + properties: + cidr: + format: cidr + type: string + type: object + type: array + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + serviceReference: + properties: + name: + type: string + namespace: + type: string + type: object + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + type: string + status: + type: string + type: + type: string + type: object + type: array + type: object + type: object + served: true + storage: false + - name: v1alpha3 + schema: + openAPIV3Schema: + properties: + spec: + properties: + childGroups: + items: + type: string + type: array + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlocks: + items: + properties: + cidr: + format: cidr + type: string + type: object + type: array + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + serviceReference: + properties: + name: + type: string + namespace: + type: string + type: object + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + type: string + status: + type: string + type: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: clusternetworkpolicies.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: ClusterNetworkPolicy + plural: clusternetworkpolicies + shortNames: + - acnp + singular: clusternetworkpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The Tier to which this ClusterNetworkPolicy belongs to. + jsonPath: .spec.tier + name: Tier + type: string + - description: The Priority of this ClusterNetworkPolicy relative to other policies. + format: float + jsonPath: .spec.priority + name: Priority + type: number + - description: The total number of Nodes that should realize the NetworkPolicy. + format: int32 + jsonPath: .status.desiredNodesRealized + name: Desired Nodes + type: number + - description: The number of Nodes that have realized the NetworkPolicy. + format: int32 + jsonPath: .status.currentNodesRealized + name: Current Nodes + type: number + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + egress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + to: + items: + properties: + fqdn: + type: string + group: + type: string + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + namespaces: + properties: + match: + type: string + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + toServices: + items: + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + type: array + required: + - action + type: object + type: array + ingress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + from: + items: + properties: + group: + type: string + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + namespaces: + properties: + match: + enum: + - Self + type: string + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + required: + - action + type: object + type: array + priority: + format: float + maximum: 10000 + minimum: 1 + type: number + tier: + type: string + required: + - priority + type: object + status: + properties: + currentNodesRealized: + type: integer + desiredNodesRealized: + type: integer + observedGeneration: + type: integer + phase: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: clusternetworkpolicies.security.antrea.tanzu.vmware.com +spec: + group: security.antrea.tanzu.vmware.com + names: + kind: ClusterNetworkPolicy + plural: clusternetworkpolicies + shortNames: + - lacnp + singular: clusternetworkpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The Tier to which this ClusterNetworkPolicy belongs to. + jsonPath: .spec.tier + name: Tier + type: string + - description: The Priority of this ClusterNetworkPolicy relative to other policies. + format: float + jsonPath: .spec.priority + name: Priority + type: number + - description: The total number of Nodes that should realize the NetworkPolicy. + format: int32 + jsonPath: .status.desiredNodesRealized + name: Desired Nodes + type: number + - description: The number of Nodes that have realized the NetworkPolicy. + format: int32 + jsonPath: .status.currentNodesRealized + name: Current Nodes + type: number + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + egress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + to: + items: + properties: + group: + type: string + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + namespaces: + properties: + match: + type: string + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + required: + - action + type: object + type: array + ingress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + group: + type: string + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + from: + items: + properties: + group: + type: string + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + namespaces: + properties: + match: + type: string + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + required: + - action + type: object + type: array + priority: + format: float + maximum: 10000 + minimum: 1 + type: number + tier: + type: string + required: + - priority + type: object + status: + properties: + currentNodesRealized: + type: integer + desiredNodesRealized: + type: integer + observedGeneration: + type: integer + phase: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: egresses.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: Egress + plural: egresses + shortNames: + - eg + singular: egress + scope: Cluster + versions: + - additionalPrinterColumns: + - description: Specifies the SNAT IP address for the selected workloads. + jsonPath: .spec.egressIP + name: EgressIP + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - description: The Owner Node of egress IP + jsonPath: .status.egressNode + name: Node + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + anyOf: + - required: + - egressIP + - required: + - externalIPPool + properties: + appliedTo: + properties: + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + egressIP: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + externalIPPool: + type: string + required: + - appliedTo + type: object + status: + properties: + egressNode: + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: externalentities.core.antrea.tanzu.vmware.com +spec: + group: core.antrea.tanzu.vmware.com + names: + kind: ExternalEntity + plural: externalentities + shortNames: + - lee + singular: externalentity + scope: Namespaced + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + endpoints: + items: + properties: + ip: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + name: + type: string + type: object + type: array + externalNode: + type: string + ports: + items: + properties: + name: + type: string + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + - name: v1alpha1 + schema: + openAPIV3Schema: + type: object + served: false + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: externalentities.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: ExternalEntity + plural: externalentities + shortNames: + - ee + singular: externalentity + scope: Namespaced + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + endpoints: + items: + properties: + ip: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + name: + type: string + type: object + type: array + externalNode: + type: string + ports: + items: + properties: + name: + type: string + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + - name: v1alpha1 + schema: + openAPIV3Schema: + type: object + served: false + storage: false +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: externalippools.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: ExternalIPPool + plural: externalippools + shortNames: + - eip + singular: externalippool + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The number of total IPs + jsonPath: .status.usage.total + name: Total + type: integer + - description: The number of allocated IPs + jsonPath: .status.usage.used + name: Used + type: integer + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + ipRanges: + items: + oneOf: + - required: + - cidr + - required: + - start + - end + properties: + cidr: + format: cidr + type: string + end: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + start: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + type: object + type: array + nodeSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + required: + - ipRanges + - nodeSelector + type: object + status: + properties: + usage: + properties: + total: + type: integer + used: + type: integer + type: object + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: ippools.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: IPPool + plural: ippools + shortNames: + - ipp + singular: ippool + scope: Cluster + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + properties: + spec: + properties: + ipRanges: + items: + oneOf: + - required: + - cidr + - gateway + - prefixLength + - required: + - start + - end + - gateway + - prefixLength + properties: + cidr: + format: cidr + type: string + end: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + gateway: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + prefixLength: + type: integer + start: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + vlan: + type: string + type: object + type: array + ipVersion: + type: integer + required: + - ipVersion + - ipRanges + type: object + status: + properties: + ipAddresses: + items: + properties: + ipAddress: + type: string + owner: + properties: + pod: + properties: + containerID: + type: string + name: + type: string + namespace: + type: string + type: object + statefulSet: + properties: + index: + type: integer + name: + type: string + namespace: + type: string + type: object + type: object + phase: + type: string + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: networkpolicies.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: NetworkPolicy + plural: networkpolicies + shortNames: + - anp + singular: networkpolicy + scope: Namespaced + versions: + - additionalPrinterColumns: + - description: The Tier to which this Antrea NetworkPolicy belongs to. + jsonPath: .spec.tier + name: Tier + type: string + - description: The Priority of this Antrea NetworkPolicy relative to other policies. + format: float + jsonPath: .spec.priority + name: Priority + type: number + - description: The total number of Nodes that should realize the NetworkPolicy. + format: int32 + jsonPath: .status.desiredNodesRealized + name: Desired Nodes + type: number + - description: The number of Nodes that have realized the NetworkPolicy. + format: int32 + jsonPath: .status.currentNodesRealized + name: Current Nodes + type: number + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + egress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + to: + items: + properties: + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + fqdn: + type: string + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + toServices: + items: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + type: array + required: + - action + type: object + type: array + ingress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + from: + items: + properties: + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + required: + - action + type: object + type: array + priority: + format: float + maximum: 10000 + minimum: 1 + type: number + tier: + type: string + required: + - priority + type: object + status: + properties: + currentNodesRealized: + type: integer + desiredNodesRealized: + type: integer + observedGeneration: + type: integer + phase: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: networkpolicies.security.antrea.tanzu.vmware.com +spec: + group: security.antrea.tanzu.vmware.com + names: + kind: NetworkPolicy + plural: networkpolicies + shortNames: + - lanp + singular: networkpolicy + scope: Namespaced + versions: + - additionalPrinterColumns: + - description: The Tier to which this Antrea NetworkPolicy belongs to. + jsonPath: .spec.tier + name: Tier + type: string + - description: The Priority of this Antrea NetworkPolicy relative to other policies. + format: float + jsonPath: .spec.priority + name: Priority + type: number + - description: The total number of Nodes that should realize the NetworkPolicy. + format: int32 + jsonPath: .status.desiredNodesRealized + name: Desired Nodes + type: number + - description: The number of Nodes that have realized the NetworkPolicy. + format: int32 + jsonPath: .status.currentNodesRealized + name: Current Nodes + type: number + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + egress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + to: + items: + properties: + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + required: + - action + type: object + type: array + ingress: + items: + properties: + action: + enum: + - Allow + - Drop + - Reject + - Pass + type: string + appliedTo: + items: + properties: + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + enableLogging: + type: boolean + from: + items: + properties: + externalEntitySelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + ipBlock: + properties: + cidr: + format: cidr + type: string + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + podSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + enum: + - In + - NotIn + - Exists + - DoesNotExist + type: string + values: + items: + pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ + type: string + type: array + type: object + type: array + matchLabels: + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + type: array + name: + type: string + ports: + items: + properties: + endPort: + type: integer + port: + x-kubernetes-int-or-string: true + protocol: + type: string + type: object + type: array + required: + - action + type: object + type: array + priority: + format: float + maximum: 10000 + minimum: 1 + type: number + tier: + type: string + required: + - priority + type: object + status: + properties: + currentNodesRealized: + type: integer + desiredNodesRealized: + type: integer + observedGeneration: + type: integer + phase: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: tiers.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: Tier + plural: tiers + shortNames: + - tr + singular: tier + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The Priority of this Tier relative to other Tiers. + jsonPath: .spec.priority + name: Priority + type: integer + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + description: + type: string + priority: + maximum: 255 + minimum: 0 + type: integer + required: + - priority + type: object + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: tiers.security.antrea.tanzu.vmware.com +spec: + group: security.antrea.tanzu.vmware.com + names: + kind: Tier + plural: tiers + shortNames: + - ltr + singular: tier + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The Priority of this Tier relative to other Tiers. + jsonPath: .spec.priority + name: Priority + type: integer + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + description: + type: string + priority: + maximum: 255 + minimum: 0 + type: integer + required: + - priority + type: object + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: traceflows.crd.antrea.io +spec: + group: crd.antrea.io + names: + kind: Traceflow + plural: traceflows + shortNames: + - tf + singular: traceflow + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The phase of the Traceflow. + jsonPath: .status.phase + name: Phase + type: string + - description: The name of the source Pod. + jsonPath: .spec.source.pod + name: Source-Pod + priority: 10 + type: string + - description: The name of the destination Pod. + jsonPath: .spec.destination.pod + name: Destination-Pod + priority: 10 + type: string + - description: The IP address of the destination. + jsonPath: .spec.destination.ip + name: Destination-IP + priority: 10 + type: string + - description: Trace live traffic. + jsonPath: .spec.liveTraffic + name: Live-Traffic + priority: 10 + type: boolean + - description: Capture only the dropped packet. + jsonPath: .spec.droppedOnly + name: Dropped-Only + priority: 10 + type: boolean + - description: Timeout in seconds. + jsonPath: .spec.timeout + name: Timeout + priority: 10 + type: integer + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + destination: + properties: + ip: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + namespace: + type: string + pod: + type: string + service: + type: string + type: object + droppedOnly: + type: boolean + liveTraffic: + type: boolean + packet: + properties: + ipHeader: + properties: + flags: + type: integer + protocol: + type: integer + srcIP: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + ttl: + type: integer + type: object + ipv6Header: + properties: + hopLimit: + type: integer + nextHeader: + type: integer + srcIP: + format: ipv6 + type: string + type: object + transportHeader: + properties: + icmp: + properties: + id: + type: integer + sequence: + type: integer + type: object + tcp: + properties: + dstPort: + type: integer + flags: + type: integer + srcPort: + type: integer + type: object + udp: + properties: + dstPort: + type: integer + srcPort: + type: integer + type: object + type: object + type: object + source: + properties: + ip: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + namespace: + type: string + pod: + type: string + type: object + timeout: + type: integer + type: object + status: + properties: + capturedPacket: + properties: + dstIP: + type: string + ipHeader: + properties: + flags: + type: integer + protocol: + type: integer + ttl: + type: integer + type: object + ipv6Header: + properties: + hopLimit: + type: integer + nextHeader: + type: integer + type: object + length: + type: integer + srcIP: + type: string + transportHeader: + properties: + icmp: + properties: + id: + type: integer + sequence: + type: integer + type: object + tcp: + properties: + dstPort: + type: integer + flags: + type: integer + srcPort: + type: integer + type: object + udp: + properties: + dstPort: + type: integer + srcPort: + type: integer + type: object + type: object + type: object + dataplaneTag: + type: integer + phase: + type: string + reason: + type: string + results: + items: + properties: + node: + type: string + observations: + items: + properties: + action: + type: string + component: + type: string + componentInfo: + type: string + dstMAC: + type: string + networkPolicy: + type: string + pod: + type: string + translatedDstIP: + type: string + translatedSrcIP: + type: string + ttl: + type: integer + tunnelDstIP: + type: string + type: object + type: array + role: + type: string + timestamp: + type: integer + type: object + type: array + startTime: + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + labels: + app: antrea + name: traceflows.ops.antrea.tanzu.vmware.com +spec: + group: ops.antrea.tanzu.vmware.com + names: + kind: Traceflow + plural: traceflows + shortNames: + - ltf + singular: traceflow + scope: Cluster + versions: + - additionalPrinterColumns: + - description: The phase of the Traceflow. + jsonPath: .status.phase + name: Phase + type: string + - description: The name of the source Pod. + jsonPath: .spec.source.pod + name: Source-Pod + priority: 10 + type: string + - description: The name of the destination Pod. + jsonPath: .spec.destination.pod + name: Destination-Pod + priority: 10 + type: string + - description: The IP address of the destination. + jsonPath: .spec.destination.ip + name: Destination-IP + priority: 10 + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + properties: + destination: + properties: + ip: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + namespace: + type: string + pod: + type: string + service: + type: string + type: object + packet: + properties: + ipHeader: + properties: + flags: + type: integer + protocol: + type: integer + srcIP: + oneOf: + - format: ipv4 + - format: ipv6 + type: string + ttl: + type: integer + type: object + ipv6Header: + properties: + hopLimit: + type: integer + nextHeader: + type: integer + srcIP: + format: ipv6 + type: string + type: object + transportHeader: + properties: + icmp: + properties: + id: + type: integer + sequence: + type: integer + type: object + tcp: + properties: + dstPort: + type: integer + flags: + type: integer + srcPort: + type: integer + type: object + udp: + properties: + dstPort: + type: integer + srcPort: + type: integer + type: object + type: object + type: object + source: + properties: + namespace: + type: string + pod: + type: string + required: + - pod + - namespace + type: object + required: + - source + type: object + status: + properties: + dataplaneTag: + type: integer + phase: + type: string + reason: + type: string + results: + items: + properties: + node: + type: string + observations: + items: + properties: + action: + type: string + component: + type: string + componentInfo: + type: string + dstMAC: + type: string + networkPolicy: + type: string + pod: + type: string + translatedDstIP: + type: string + translatedSrcIP: + type: string + ttl: + type: integer + tunnelDstIP: + type: string + type: object + type: array + role: + type: string + timestamp: + type: integer + type: object + type: array + startTime: + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: antrea + name: antctl + namespace: kube-system +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: antrea + name: antrea-agent + namespace: kube-system +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: antrea + name: antrea-controller + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-admin: "true" + rbac.authorization.k8s.io/aggregate-to-edit: "true" + name: aggregate-antrea-clustergroups-edit +rules: +- apiGroups: + - core.antrea.tanzu.vmware.com + resources: + - clustergroups + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - crd.antrea.io + resources: + - clustergroups + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-view: "true" + name: aggregate-antrea-clustergroups-view +rules: +- apiGroups: + - core.antrea.tanzu.vmware.com + resources: + - clustergroups + verbs: + - get + - list + - watch +- apiGroups: + - crd.antrea.io + resources: + - clustergroups + verbs: + - get + - list + - watch +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-admin: "true" + rbac.authorization.k8s.io/aggregate-to-edit: "true" + name: aggregate-antrea-policies-edit +rules: +- apiGroups: + - security.antrea.tanzu.vmware.com + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - crd.antrea.io + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-view: "true" + name: aggregate-antrea-policies-view +rules: +- apiGroups: + - security.antrea.tanzu.vmware.com + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - list + - watch +- apiGroups: + - crd.antrea.io + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - list + - watch +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-admin: "true" + rbac.authorization.k8s.io/aggregate-to-edit: "true" + name: aggregate-traceflows-edit +rules: +- apiGroups: + - ops.antrea.tanzu.vmware.com + resources: + - traceflows + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - crd.antrea.io + resources: + - traceflows + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + rbac.authorization.k8s.io/aggregate-to-view: "true" + name: aggregate-traceflows-view +rules: +- apiGroups: + - ops.antrea.tanzu.vmware.com + resources: + - traceflows + verbs: + - get + - list + - watch +- apiGroups: + - crd.antrea.io + resources: + - traceflows + verbs: + - get + - list + - watch +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + name: antctl +rules: +- apiGroups: + - controlplane.antrea.tanzu.vmware.com + - controlplane.antrea.io + resources: + - networkpolicies + - appliedtogroups + - addressgroups + verbs: + - get + - list +- apiGroups: + - stats.antrea.tanzu.vmware.com + - stats.antrea.io + resources: + - networkpolicystats + - antreaclusternetworkpolicystats + - antreanetworkpolicystats + verbs: + - get + - list +- apiGroups: + - system.antrea.tanzu.vmware.com + - system.antrea.io + resources: + - controllerinfos + - agentinfos + verbs: + - get +- apiGroups: + - system.antrea.tanzu.vmware.com + - system.antrea.io + resources: + - supportbundles + verbs: + - get + - post +- apiGroups: + - system.antrea.tanzu.vmware.com + - system.antrea.io + resources: + - supportbundles/download + verbs: + - get +- nonResourceURLs: + - /agentinfo + - /addressgroups + - /appliedtogroups + - /loglevel + - /networkpolicies + - /ovsflows + - /ovstracing + - /podinterfaces + - /featuregates + - /serviceexternalip + verbs: + - get +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + name: antrea-agent +rules: +- apiGroups: + - "" + resources: + - nodes + verbs: + - get + - watch + - list +- apiGroups: + - "" + resources: + - nodes/status + verbs: + - patch +- apiGroups: + - "" + resources: + - pods + verbs: + - get + - watch + - list +- apiGroups: + - "" + resources: + - pods/status + verbs: + - patch +- apiGroups: + - "" + resources: + - endpoints + - services + - namespaces + verbs: + - get + - watch + - list +- apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - get + - watch + - list +- apiGroups: + - clusterinformation.antrea.tanzu.vmware.com + - crd.antrea.io + resources: + - antreaagentinfos + verbs: + - get + - create + - update + - delete +- apiGroups: + - controlplane.antrea.tanzu.vmware.com + - controlplane.antrea.io + resources: + - networkpolicies + - appliedtogroups + - addressgroups + verbs: + - get + - watch + - list +- apiGroups: + - controlplane.antrea.io + resources: + - egressgroups + verbs: + - get + - watch + - list +- apiGroups: + - controlplane.antrea.tanzu.vmware.com + - controlplane.antrea.io + resources: + - nodestatssummaries + verbs: + - create +- apiGroups: + - controlplane.antrea.tanzu.vmware.com + - controlplane.antrea.io + resources: + - networkpolicies/status + verbs: + - create + - get +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resourceNames: + - extension-apiserver-authentication + resources: + - configmaps + verbs: + - get + - list + - watch +- apiGroups: + - "" + resourceNames: + - antrea-ca + resources: + - configmaps + verbs: + - get + - watch + - list +- apiGroups: + - ops.antrea.tanzu.vmware.com + - crd.antrea.io + resources: + - traceflows + - traceflows/status + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - crd.antrea.io + resources: + - egresses + verbs: + - get + - watch + - list +- apiGroups: + - crd.antrea.io + resources: + - egresses/status + verbs: + - update +- apiGroups: + - crd.antrea.io + resources: + - externalippools + - ippools + verbs: + - get + - watch + - list +- apiGroups: + - crd.antrea.io + resources: + - ippools/status + verbs: + - update +- apiGroups: + - k8s.cni.cncf.io + resources: + - network-attachment-definitions + verbs: + - get + - list + - watch +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + name: antrea-cluster-identity-reader +rules: +- apiGroups: + - "" + resourceNames: + - antrea-cluster-identity + resources: + - configmaps + verbs: + - get +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app: antrea + name: antrea-controller +rules: +- apiGroups: + - "" + resources: + - pods + - services + - namespaces + - configmaps + verbs: + - get + - watch + - list +- apiGroups: + - "" + resources: + - nodes + verbs: + - get + - watch + - list + - patch +- apiGroups: + - "" + resources: + - services/status + verbs: + - update +- apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - get + - watch + - list +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - update +- apiGroups: + - "" + resourceNames: + - extension-apiserver-authentication + resources: + - configmaps + verbs: + - get + - list + - watch +- apiGroups: + - "" + resourceNames: + - antrea-ca + - antrea-cluster-identity + resources: + - configmaps + verbs: + - get + - update +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create +- apiGroups: + - apiregistration.k8s.io + resourceNames: + - v1alpha1.stats.antrea.tanzu.vmware.com + - v1beta1.system.antrea.tanzu.vmware.com + - v1beta2.controlplane.antrea.tanzu.vmware.com + - v1alpha1.stats.antrea.io + - v1beta1.system.antrea.io + - v1beta2.controlplane.antrea.io + resources: + - apiservices + verbs: + - get + - update +- apiGroups: + - apiregistration.k8s.io + resourceNames: + - v1beta1.networking.antrea.tanzu.vmware.com + - v1beta1.controlplane.antrea.tanzu.vmware.com + resources: + - apiservices + verbs: + - delete +- apiGroups: + - admissionregistration.k8s.io + resourceNames: + - crdmutator.antrea.tanzu.vmware.com + - crdvalidator.antrea.tanzu.vmware.com + - labelsmutator.antrea.io + - crdmutator.antrea.io + - crdvalidator.antrea.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - get + - update +- apiGroups: + - crd.antrea.io + resources: + - antreacontrollerinfos + verbs: + - get + - create + - update + - delete +- apiGroups: + - crd.antrea.io + resources: + - antreaagentinfos + verbs: + - list + - delete +- apiGroups: + - crd.antrea.io + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - crd.antrea.io + resources: + - clusternetworkpolicies/status + - networkpolicies/status + verbs: + - update +- apiGroups: + - crd.antrea.io + resources: + - tiers + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - crd.antrea.io + resources: + - traceflows + - traceflows/status + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - crd.antrea.io + resources: + - externalentities + - clustergroups + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - crd.antrea.io + resources: + - clustergroups/status + verbs: + - update +- apiGroups: + - crd.antrea.io + resources: + - egresses + verbs: + - get + - watch + - list + - update + - patch +- apiGroups: + - crd.antrea.io + resources: + - externalippools + - ippools + verbs: + - get + - watch + - list +- apiGroups: + - crd.antrea.io + resources: + - externalippools/status + - ippools/status + verbs: + - update +- apiGroups: + - apps + resources: + - statefulsets + verbs: + - get + - list + - watch +- apiGroups: + - clusterinformation.antrea.tanzu.vmware.com + resources: + - antreacontrollerinfos + verbs: + - get + - create + - update + - delete +- apiGroups: + - clusterinformation.antrea.tanzu.vmware.com + resources: + - antreaagentinfos + verbs: + - list + - delete +- apiGroups: + - security.antrea.tanzu.vmware.com + resources: + - clusternetworkpolicies + - networkpolicies + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - security.antrea.tanzu.vmware.com + resources: + - clusternetworkpolicies/status + - networkpolicies/status + verbs: + - update +- apiGroups: + - security.antrea.tanzu.vmware.com + resources: + - tiers + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - ops.antrea.tanzu.vmware.com + resources: + - traceflows + - traceflows/status + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - core.antrea.tanzu.vmware.com + resources: + - externalentities + - clustergroups + verbs: + - get + - watch + - list + - update + - patch + - create + - delete +- apiGroups: + - core.antrea.tanzu.vmware.com + resources: + - clustergroups/status + verbs: + - update +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + app: antrea + name: antctl + namespace: kube-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: antctl +subjects: +- kind: ServiceAccount + name: antctl + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + app: antrea + name: antrea-agent +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: antrea-agent +subjects: +- kind: ServiceAccount + name: antrea-agent + namespace: kube-system +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + app: antrea + name: antrea-controller +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: antrea-controller +subjects: +- kind: ServiceAccount + name: antrea-controller + namespace: kube-system +--- +apiVersion: v1 +data: + antrea-agent.conf: | + # FeatureGates is a map of feature names to bools that enable or disable experimental features. + featureGates: + # Enable AntreaProxy which provides ServiceLB for in-cluster Services in antrea-agent. + # It should be enabled on Windows, otherwise NetworkPolicy will not take effect on + # Service traffic. + # AntreaProxy: true + + # Enable EndpointSlice support in AntreaProxy. Don't enable this feature unless that EndpointSlice + # API version v1beta1 is supported and set as enabled in Kubernetes. If AntreaProxy is not enabled, + # this flag will not take effect. + # EndpointSlice: false + + # Enable traceflow which provides packet tracing feature to diagnose network issue. + # Traceflow: true + + # Enable NodePortLocal feature to make the Pods reachable externally through NodePort + # NodePortLocal: true + + # Enable Antrea ClusterNetworkPolicy feature to complement K8s NetworkPolicy for cluster admins + # to define security policies which apply to the entire cluster, and Antrea NetworkPolicy + # feature that supports priorities, rule actions and externalEntities in the future. + # AntreaPolicy: true + + # Enable flowexporter which exports polled conntrack connections as IPFIX flow records from each + # agent to a configured collector. + # FlowExporter: false + + # Enable collecting and exposing NetworkPolicy statistics. + # NetworkPolicyStats: true + + # Enable controlling SNAT IPs of Pod egress traffic. + # Egress: false + + # Enable flexible IPAM mode for Antrea. This mode allows to assign IP Ranges to Namespaces, + # Deployments and StatefulSets via IP Pool annotation. + # AntreaIPAM: false + + # Enable multicast traffic. This feature is supported only with noEncap mode. + # Multicast: false + + # Enable managing external IPs of Services of LoadBalancer type. + # ServiceExternalIP: false + + # Name of the OpenVSwitch bridge antrea-agent will create and use. + # Make sure it doesn't conflict with your existing OpenVSwitch bridges. + #ovsBridge: br-int + + # Datapath type to use for the OpenVSwitch bridge created by Antrea. Supported values are: + # - system + # - netdev + # 'system' is the default value and corresponds to the kernel datapath. Use 'netdev' to run + # OVS in userspace mode. Userspace mode requires the tun device driver to be available. + #ovsDatapathType: system + + # Name of the interface antrea-agent will create and use for host <--> pod communication. + # Make sure it doesn't conflict with your existing interfaces. + #hostGateway: antrea-gw0 + + # Determines how traffic is encapsulated. It has the following options: + # encap(default): Inter-node Pod traffic is always encapsulated and Pod to external network + # traffic is SNAT'd. + # noEncap: Inter-node Pod traffic is not encapsulated; Pod to external network traffic is + # SNAT'd if noSNAT is not set to true. Underlying network must be capable of + # supporting Pod traffic across IP subnets. + # hybrid: noEncap if source and destination Nodes are on the same subnet, otherwise encap. + # networkPolicyOnly: Antrea enforces NetworkPolicy only, and utilizes CNI chaining and delegates Pod + # IPAM and connectivity to the primary CNI. + # + #trafficEncapMode: encap + + # Whether or not to SNAT (using the Node IP) the egress traffic from a Pod to the external network. + # This option is for the noEncap traffic mode only, and the default value is false. In the noEncap + # mode, if the cluster's Pod CIDR is reachable from the external network, then the Pod traffic to + # the external network needs not be SNAT'd. In the networkPolicyOnly mode, antrea-agent never + # performs SNAT and this option will be ignored; for other modes it must be set to false. + #noSNAT: false + + # Tunnel protocols used for encapsulating traffic across Nodes. If WireGuard is enabled in trafficEncryptionMode, + # this option will not take effect. Supported values: + # - geneve (default) + # - vxlan + # - gre + # - stt + #tunnelType: geneve + + # Determines how tunnel traffic is encrypted. Currently encryption only works with encap mode. + # It has the following options: + # - none (default): Inter-node Pod traffic will not be encrypted. + # - ipsec: Enable IPsec (ESP) encryption for Pod traffic across Nodes. Antrea uses + # Preshared Key (PSK) for IKE authentication. When IPsec tunnel is enabled, + # the PSK value must be passed to Antrea Agent through an environment + # variable: ANTREA_IPSEC_PSK. + # - wireGuard: Enable WireGuard for tunnel traffic encryption. + #trafficEncryptionMode: none + + # Default MTU to use for the host gateway interface and the network interface of each Pod. + # If omitted, antrea-agent will discover the MTU of the Node's primary interface and + # also adjust MTU to accommodate for tunnel encapsulation overhead (if applicable). + #defaultMTU: 0 + + # wireGuard specifies WireGuard related configurations. + wireGuard: + # The port for WireGuard to receive traffic. + # port: 51820 + + egress: + # exceptCIDRs is the CIDR ranges to which outbound Pod traffic will not be SNAT'd by Egresses. + # exceptCIDRs: [] + + # ClusterIP CIDR range for Services. It's required when AntreaProxy is not enabled, and should be + # set to the same value as the one specified by --service-cluster-ip-range for kube-apiserver. When + # AntreaProxy is enabled, this parameter is not needed and will be ignored if provided. + #serviceCIDR: 10.96.0.0/12 + + # ClusterIP CIDR range for IPv6 Services. It's required when using kube-proxy to provide IPv6 Service in a Dual-Stack + # cluster or an IPv6 only cluster. The value should be the same as the configuration for kube-apiserver specified by + # --service-cluster-ip-range. When AntreaProxy is enabled, this parameter is not needed. + # No default value for this field. + #serviceCIDRv6: + + # The port for the antrea-agent APIServer to serve on. + # Note that if it's set to another value, the `containerPort` of the `api` port of the + # `antrea-agent` container must be set to the same value. + #apiPort: 10350 + + # Enable metrics exposure via Prometheus. Initializes Prometheus metrics listener. + #enablePrometheusMetrics: true + + # Provide the IPFIX collector address as a string with format :[][:]. + # HOST can either be the DNS name or the IP of the Flow Collector. For example, + # "flow-aggregator.flow-aggregator.svc" can be provided as DNS name to connect + # to the Antrea Flow Aggregator service. If IP, it can be either IPv4 or IPv6. + # However, IPv6 address should be wrapped with []. + # If PORT is empty, we default to 4739, the standard IPFIX port. + # If no PROTO is given, we consider "tls" as default. We support "tls", "tcp" and + # "udp" protocols. "tls" is used for securing communication between flow exporter and + # flow aggregator. + #flowCollectorAddr: "flow-aggregator.flow-aggregator.svc:4739:tls" + + # Provide flow poll interval as a duration string. This determines how often the + # flow exporter dumps connections from the conntrack module. Flow poll interval + # should be greater than or equal to 1s (one second). + # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". + #flowPollInterval: "5s" + + # Provide the active flow export timeout, which is the timeout after which a flow + # record is sent to the collector for active flows. Thus, for flows with a continuous + # stream of packets, a flow record will be exported to the collector once the elapsed + # time since the last export event is equal to the value of this timeout. + # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". + #activeFlowExportTimeout: "30s" + + # Provide the idle flow export timeout, which is the timeout after which a flow + # record is sent to the collector for idle flows. A flow is considered idle if no + # packet matching this flow has been observed since the last export event. + # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". + #idleFlowExportTimeout: "15s" + + nodePortLocal: + # Enable NodePortLocal, a feature used to make Pods reachable using port forwarding on the host. To + # enable this feature, you need to set "enable" to true, and ensure that the NodePortLocal feature + # gate is also enabled (which is the default). + # enable: false + # Provide the port range used by NodePortLocal. When the NodePortLocal feature is enabled, a port + # from that range will be assigned whenever a Pod's container defines a specific port to be exposed + # (each container can define a list of ports as pod.spec.containers[].ports), and all Node traffic + # directed to that port will be forwarded to the Pod. + # portRange: 61000-62000 + + # Provide the address of Kubernetes apiserver, to override any value provided in kubeconfig or InClusterConfig. + # Defaults to "". It must be a host string, a host:port pair, or a URL to the base of the apiserver. + #kubeAPIServerOverride: "" + + # Comma-separated list of Cipher Suites. If omitted, the default Go Cipher Suites will be used. + # https://golang.org/pkg/crypto/tls/#pkg-constants + # Note that TLS1.3 Cipher Suites cannot be added to the list. But the apiserver will always + # prefer TLS1.3 Cipher Suites whenever possible. + #tlsCipherSuites: + + # TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + #tlsMinVersion: + + # The name of the interface on Node which is used for tunneling or routing the traffic across Nodes. + # If there are multiple IP addresses configured on the interface, the first one is used. The IP + # address used for tunneling or routing traffic to remote Nodes is decided in the following order of + # preference (from highest to lowest): + # 1. transportInterface + # 2. transportInterfaceCIDRs + # 3. The Node IP + #transportInterface: + + # The names of the interfaces on Nodes that are used to forward multicast traffic. + # Defaults to transport interface if not set. + #multicastInterfaces: [] + + # The network CIDRs of the interface on Node which is used for tunneling or routing the traffic across + # Nodes. If there are multiple interfaces configured the same network CIDR, the first one is used. The + # IP address used for tunneling or routing traffic to remote Nodes is decided in the following order of + # preference (from highest to lowest): + # 1. transportInterface + # 2. transportInterfaceCIDRs + # 3. The Node IP + #transportInterfaceCIDRs: [,] + + # Option antreaProxy contains AntreaProxy related configuration options. + antreaProxy: + # ProxyAll tells antrea-agent to proxy all Service traffic, including NodePort, LoadBalancer, and ClusterIP traffic, + # regardless of where they come from. Therefore, running kube-proxy is no longer required. This requires the AntreaProxy + # feature to be enabled. + # Note that this option is experimental. If kube-proxy is removed, option kubeAPIServerOverride must be used to access + # apiserver directly. + #proxyAll: false + # A string array of values which specifies the host IPv4/IPv6 addresses for NodePort. Values can be valid IP blocks. + # (e.g. 1.2.3.0/24, 1.2.3.4/32). An empty string slice is meant to select all host IPv4/IPv6 addresses. + # Note that the option is only valid when proxyAll is true. + #nodePortAddresses: [] + # An array of string values to specify a list of Services which should be ignored by AntreaProxy (traffic to these + # Services will not be load-balanced). Values can be a valid ClusterIP (e.g. 10.11.1.2) or a Service name + # with Namespace (e.g. kube-system/kube-dns) + #skipServices: [] + # When ProxyLoadBalancerIPs is set to false, AntreaProxy no longer load-balances traffic destined to the + # External IPs of LoadBalancer Services. This is useful when the external LoadBalancer provides additional + # capabilities (e.g. TLS termination) and it is desirable for Pod-to-ExternalIP traffic to be sent to the + # external LoadBalancer instead of being load-balanced to an Endpoint directly by AntreaProxy. + # Note that setting ProxyLoadBalancerIPs to false usually only makes sense when ProxyAll is set to true and + # kube-proxy is removed from the cluser, otherwise kube-proxy will still load-balance this traffic. + #proxyLoadBalancerIPs: true + antrea-cni.conflist: | + { + "cniVersion":"0.3.0", + "name": "antrea", + "plugins": [ + { + "type": "antrea", + "ipam": { + "type": "host-local" + } + }, + { + "type": "portmap", + "capabilities": {"portMappings": true} + }, + { + "type": "bandwidth", + "capabilities": {"bandwidth": true} + } + ] + } + antrea-controller.conf: | + # FeatureGates is a map of feature names to bools that enable or disable experimental features. + featureGates: + # Enable traceflow which provides packet tracing feature to diagnose network issue. + # Traceflow: true + + # Enable Antrea ClusterNetworkPolicy feature to complement K8s NetworkPolicy for cluster admins + # to define security policies which apply to the entire cluster, and Antrea NetworkPolicy + # feature that supports priorities, rule actions and externalEntities in the future. + # AntreaPolicy: true + + # Enable collecting and exposing NetworkPolicy statistics. + # NetworkPolicyStats: true + + # Enable controlling SNAT IPs of Pod egress traffic. + # Egress: false + + # Run Kubernetes NodeIPAMController with Antrea. + # NodeIPAM: false + + # Enable flexible IPAM mode for Antrea. This mode allows to assign IP Ranges to Namespaces, + # Deployments and StatefulSets via IP Pool annotation. + # AntreaIPAM: false + + # Enable managing external IPs of Services of LoadBalancer type. + # ServiceExternalIP: false + + # The port for the antrea-controller APIServer to serve on. + # Note that if it's set to another value, the `containerPort` of the `api` port of the + # `antrea-controller` container must be set to the same value. + #apiPort: 10349 + + # Enable metrics exposure via Prometheus. Initializes Prometheus metrics listener. + #enablePrometheusMetrics: true + + # Indicates whether to use auto-generated self-signed TLS certificate. + # If false, A Secret named "antrea-controller-tls" must be provided with the following keys: + # ca.crt: + # tls.crt: + # tls.key: + # And the Secret must be mounted to directory "/var/run/antrea/antrea-controller-tls" of the + # antrea-controller container. + #selfSignedCert: true + + # Comma-separated list of Cipher Suites. If omitted, the default Go Cipher Suites will be used. + # https://golang.org/pkg/crypto/tls/#pkg-constants + # Note that TLS1.3 Cipher Suites cannot be added to the list. But the apiserver will always + # prefer TLS1.3 Cipher Suites whenever possible. + #tlsCipherSuites: + + # TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. + #tlsMinVersion: + + # If Antrea is upgraded from version <= v0.13 and legacy CRDs are used, this option should be + # enabled, otherwise the CRDs created with the legacy API groups will not take any effect and + # work as expected. When the mirroring is enabled, if a legacy CRD is created with legacy API + # groups, mirroring-controller will create a new CRD with the Spec and Labels from the legacy + # CRD. Afterwards, the modification of Spec and Label in legacy CRD will be synchronized to new + # CRD automatically. In addition, the modification of Status in new CRD will also be synchronized + # to legacy CRD automatically. If a legacy CRD is deleted, the corresponding new CRD will be deleted. + # Note that: to decouple a new CRD from the corresponding legacy CRD, the legacy CRD should be + # annotated with "crd.antrea.io/stop-mirror". Afterwards, updates to the legacy CRDs will no + # longer be reflected in the new CRD, and all CRUD operations should be done through the new + # API groups. After adding the annotation, legacy CRDs can be deleted safely without impacting + # new CRDs. + #legacyCRDMirroring: true + + nodeIPAM: + # Enable the integrated Node IPAM controller within the Antrea controller. + # enableNodeIPAM: false + + # CIDR ranges for Pods in cluster. String array containing single CIDR range, or multiple ranges. + # The CIDRs could be either IPv4 or IPv6. At most one CIDR may be specified for each IP family. + # Value ignored when enableNodeIPAM is false. + # clusterCIDRs: [] + + # CIDR ranges for Services in cluster. It is not necessary to specify it when there is no overlap with clusterCIDRs. + # Value ignored when enableNodeIPAM is false. + # serviceCIDR: + # serviceCIDRv6: + + # Mask size for IPv4 Node CIDR in IPv4 or dual-stack cluster. Value ignored when enableNodeIPAM is false + # or when IPv4 Pod CIDR is not configured. Valid range is 16 to 30. + # nodeCIDRMaskSizeIPv4: 24 + + # Mask size for IPv6 Node CIDR in IPv6 or dual-stack cluster. Value ignored when enableNodeIPAM is false + # or when IPv6 Pod CIDR is not configured. Valid range is 64 to 126. + # nodeCIDRMaskSizeIPv6: 64 +kind: ConfigMap +metadata: + annotations: {} + labels: + app: antrea + name: antrea-config-2k82d6f6t4 + namespace: kube-system +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: antrea + name: antrea + namespace: kube-system +spec: + ports: + - port: 443 + protocol: TCP + targetPort: api + selector: + app: antrea + component: antrea-controller +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: antrea + component: antrea-controller + name: antrea-controller + namespace: kube-system +spec: + replicas: 1 + selector: + matchLabels: + app: antrea + component: antrea-controller + strategy: + type: Recreate + template: + metadata: + labels: + app: antrea + component: antrea-controller + spec: + containers: + - args: + - --config + - /etc/antrea/antrea-controller.conf + - --logtostderr=false + - --log_dir=/var/log/antrea + - --alsologtostderr + - --log_file_max_size=100 + - --log_file_max_num=4 + - --v=0 + command: + - antrea-controller + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: SERVICEACCOUNT_NAME + valueFrom: + fieldRef: + fieldPath: spec.serviceAccountName + - name: ANTREA_CONFIG_MAP_NAME + value: antrea-config-2k82d6f6t4 + image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 + livenessProbe: + failureThreshold: 5 + httpGet: + host: localhost + path: /livez + port: api + scheme: HTTPS + periodSeconds: 10 + timeoutSeconds: 5 + name: antrea-controller + ports: + - containerPort: 10349 + name: api + protocol: TCP + readinessProbe: + failureThreshold: 5 + httpGet: + host: localhost + path: /readyz + port: api + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 5 + resources: + requests: + cpu: 200m + volumeMounts: + - mountPath: /etc/antrea/antrea-controller.conf + name: antrea-config + readOnly: true + subPath: antrea-controller.conf + - mountPath: /var/run/antrea/antrea-controller-tls + name: antrea-controller-tls + - mountPath: /var/log/antrea + name: host-var-log-antrea + hostNetwork: true + nodeSelector: + kubernetes.io/os: linux + priorityClassName: system-cluster-critical + serviceAccountName: antrea-controller + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoSchedule + key: node-role.kubernetes.io/control-plane + volumes: + - configMap: + name: antrea-config-2k82d6f6t4 + name: antrea-config + - name: antrea-controller-tls + secret: + defaultMode: 256 + optional: true + secretName: antrea-controller-tls + - hostPath: + path: /var/log/antrea + type: DirectoryOrCreate + name: host-var-log-antrea +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1alpha1.stats.antrea.io +spec: + group: stats.antrea.io + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1alpha1 + versionPriority: 100 +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1alpha1.stats.antrea.tanzu.vmware.com +spec: + group: stats.antrea.tanzu.vmware.com + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1alpha1 + versionPriority: 100 +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1beta1.system.antrea.io +spec: + group: system.antrea.io + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1beta1 + versionPriority: 100 +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1beta1.system.antrea.tanzu.vmware.com +spec: + group: system.antrea.tanzu.vmware.com + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1beta1 + versionPriority: 100 +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1beta2.controlplane.antrea.io +spec: + group: controlplane.antrea.io + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1beta2 + versionPriority: 100 +--- +apiVersion: apiregistration.k8s.io/v1 +kind: APIService +metadata: + labels: + app: antrea + name: v1beta2.controlplane.antrea.tanzu.vmware.com +spec: + group: controlplane.antrea.tanzu.vmware.com + groupPriorityMinimum: 100 + service: + name: antrea + namespace: kube-system + version: v1beta2 + versionPriority: 100 +--- +apiVersion: apps/v1 +kind: DaemonSet +metadata: + labels: + app: antrea + component: antrea-agent + name: antrea-agent + namespace: kube-system +spec: + selector: + matchLabels: + app: antrea + component: antrea-agent + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: antrea-agent + labels: + app: antrea + component: antrea-agent + spec: + containers: + - args: + - --config + - /etc/antrea/antrea-agent.conf + - --logtostderr=false + - --log_dir=/var/log/antrea + - --alsologtostderr + - --log_file_max_size=100 + - --log_file_max_num=4 + - --v=0 + command: + - antrea-agent + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 + livenessProbe: + exec: + command: + - /bin/sh + - -c + - container_liveness_probe agent + failureThreshold: 5 + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 5 + name: antrea-agent + ports: + - containerPort: 10350 + name: api + protocol: TCP + readinessProbe: + failureThreshold: 8 + httpGet: + host: localhost + path: /readyz + port: api + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 5 + resources: + requests: + cpu: 200m + securityContext: + privileged: true + volumeMounts: + - mountPath: /etc/antrea/antrea-agent.conf + name: antrea-config + readOnly: true + subPath: antrea-agent.conf + - mountPath: /var/run/antrea + name: host-var-run-antrea + - mountPath: /var/run/openvswitch + name: host-var-run-antrea + subPath: openvswitch + - mountPath: /var/lib/cni + name: host-var-run-antrea + subPath: cni + - mountPath: /var/log/antrea + name: host-var-log-antrea + - mountPath: /host/proc + name: host-proc + readOnly: true + - mountPath: /host/var/run/netns + mountPropagation: HostToContainer + name: host-var-run-netns + readOnly: true + - mountPath: /run/xtables.lock + name: xtables-lock + - args: + - --log_file_max_size=100 + - --log_file_max_num=4 + command: + - start_ovs + image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 + livenessProbe: + exec: + command: + - /bin/sh + - -c + - timeout 10 container_liveness_probe ovs + failureThreshold: 5 + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 10 + name: antrea-ovs + resources: + requests: + cpu: 200m + securityContext: + capabilities: + add: + - SYS_NICE + - NET_ADMIN + - SYS_ADMIN + - IPC_LOCK + volumeMounts: + - mountPath: /var/run/openvswitch + name: host-var-run-antrea + subPath: openvswitch + - mountPath: /var/log/openvswitch + name: host-var-log-antrea + subPath: openvswitch + dnsPolicy: ClusterFirstWithHostNet + hostNetwork: true + initContainers: + - command: + - install_cni + image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 + name: install-cni + resources: + requests: + cpu: 100m + securityContext: + capabilities: + add: + - SYS_MODULE + volumeMounts: + - mountPath: /etc/antrea/antrea-cni.conflist + name: antrea-config + readOnly: true + subPath: antrea-cni.conflist + - mountPath: /host/etc/cni/net.d + name: host-cni-conf + - mountPath: /host/opt/cni/bin + name: host-cni-bin + - mountPath: /lib/modules + name: host-lib-modules + readOnly: true + - mountPath: /var/run/antrea + name: host-var-run-antrea + nodeSelector: + kubernetes.io/os: linux + priorityClassName: system-node-critical + serviceAccountName: antrea-agent + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - effect: NoSchedule + operator: Exists + - effect: NoExecute + operator: Exists + volumes: + - configMap: + name: antrea-config-2k82d6f6t4 + name: antrea-config + - hostPath: + path: /etc/cni/net.d + name: host-cni-conf + - hostPath: + path: /opt/cni/bin + name: host-cni-bin + - hostPath: + path: /proc + name: host-proc + - hostPath: + path: /var/run/netns + name: host-var-run-netns + - hostPath: + path: /var/run/antrea + type: DirectoryOrCreate + name: host-var-run-antrea + - hostPath: + path: /var/log/antrea + type: DirectoryOrCreate + name: host-var-log-antrea + - hostPath: + path: /lib/modules + name: host-lib-modules + - hostPath: + path: /run/xtables.lock + type: FileOrCreate + name: xtables-lock + updateStrategy: + type: RollingUpdate +--- +apiVersion: admissionregistration.k8s.io/v1 +kind: MutatingWebhookConfiguration +metadata: + labels: + app: antrea + name: crdmutator.antrea.io +webhooks: +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /mutate/acnp + name: acnpmutator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - clusternetworkpolicies + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /mutate/anp + name: anpmutator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - networkpolicies + scope: Namespaced + sideEffects: None + timeoutSeconds: 5 +--- +apiVersion: admissionregistration.k8s.io/v1 +kind: MutatingWebhookConfiguration +metadata: + labels: + app: antrea + name: crdmutator.antrea.tanzu.vmware.com +webhooks: +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /mutate/acnp + name: acnpmutator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - security.antrea.tanzu.vmware.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - clusternetworkpolicies + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /mutate/anp + name: anpmutator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - security.antrea.tanzu.vmware.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - networkpolicies + scope: Namespaced + sideEffects: None + timeoutSeconds: 5 +--- +apiVersion: admissionregistration.k8s.io/v1 +kind: ValidatingWebhookConfiguration +metadata: + labels: + app: antrea + name: crdvalidator.antrea.io +webhooks: +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/tier + name: tiervalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + - DELETE + resources: + - tiers + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/acnp + name: acnpvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - clusternetworkpolicies + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/anp + name: anpvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - networkpolicies + scope: Namespaced + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/clustergroup + name: clustergroupvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha3 + - v1alpha2 + operations: + - CREATE + - UPDATE + resources: + - clustergroups + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/externalippool + name: externalippoolvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha2 + operations: + - UPDATE + resources: + - externalippools + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/egress + name: egressvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha2 + operations: + - CREATE + - UPDATE + resources: + - egresses + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/ippool + name: ippoolvalidator.antrea.io + rules: + - apiGroups: + - crd.antrea.io + apiVersions: + - v1alpha2 + operations: + - UPDATE + - DELETE + resources: + - ippools + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +--- +apiVersion: admissionregistration.k8s.io/v1 +kind: ValidatingWebhookConfiguration +metadata: + labels: + app: antrea + name: crdvalidator.antrea.tanzu.vmware.com +webhooks: +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/tier + name: tiervalidator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - security.antrea.tanzu.vmware.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + - DELETE + resources: + - tiers + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/acnp + name: acnpvalidator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - security.antrea.tanzu.vmware.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - clusternetworkpolicies + scope: Cluster + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/anp + name: anpvalidator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - security.antrea.tanzu.vmware.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - networkpolicies + scope: Namespaced + sideEffects: None + timeoutSeconds: 5 +- admissionReviewVersions: + - v1 + - v1beta1 + clientConfig: + service: + name: antrea + namespace: kube-system + path: /validate/clustergroup + name: clustergroupvalidator.antrea.tanzu.vmware.com + rules: + - apiGroups: + - core.antrea.tanzu.vmware.com + apiVersions: + - v1alpha2 + operations: + - CREATE + - UPDATE + - DELETE + resources: + - clustergroups + scope: Cluster + sideEffects: None + timeoutSeconds: 5 diff --git a/test/integration/testdata/romana.yaml b/test/integration/testdata/romana.yaml deleted file mode 100644 index f28c54a00f..0000000000 --- a/test/integration/testdata/romana.yaml +++ /dev/null @@ -1,402 +0,0 @@ -apiVersion: v1 -items: -- apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRole - metadata: - creationTimestamp: null - name: romana-listener - rules: - - apiGroups: - - '*' - resources: - - pods - - namespaces - - nodes - - endpoints - verbs: - - get - - list - - watch - - apiGroups: - - extensions - resources: - - networkpolicies - verbs: - - get - - list - - watch - - apiGroups: - - '*' - resources: - - services - verbs: - - update - - list - - watch -- apiVersion: v1 - kind: ServiceAccount - metadata: - creationTimestamp: null - name: romana-listener - namespace: kube-system -- apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRoleBinding - metadata: - creationTimestamp: null - name: romana-listener - roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: romana-listener - subjects: - - kind: ServiceAccount - name: romana-listener - namespace: kube-system -- apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRole - metadata: - creationTimestamp: null - name: romana-agent - rules: - - apiGroups: - - '*' - resources: - - pods - - nodes - verbs: - - get -- apiVersion: v1 - kind: ServiceAccount - metadata: - creationTimestamp: null - name: romana-agent - namespace: kube-system -- apiVersion: rbac.authorization.k8s.io/v1 - kind: ClusterRoleBinding - metadata: - creationTimestamp: null - name: romana-agent - roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: romana-agent - subjects: - - kind: ServiceAccount - name: romana-agent - namespace: kube-system -- apiVersion: v1 - kind: Service - metadata: - creationTimestamp: null - name: romana-etcd - namespace: kube-system - spec: - clusterIP: 10.96.0.88 - internalTrafficPolicy: Cluster - ports: - - name: etcd - port: 12379 - protocol: TCP - targetPort: 12379 - selector: - romana-app: etcd - sessionAffinity: None - type: ClusterIP - status: - loadBalancer: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - creationTimestamp: null - labels: - romana-app: etcd - name: romana-etcd - namespace: kube-system - spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - romana-app: etcd - strategy: - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 - type: RollingUpdate - template: - metadata: - creationTimestamp: null - labels: - romana-app: etcd - spec: - containers: - - command: - - etcd - - --listen-client-urls=http://0.0.0.0:12379 - - --listen-peer-urls=http://127.0.0.1:12380 - - --advertise-client-urls=http://10.96.0.88:12379 - - --data-dir=/var/etcd/data - image: gcr.io/google_containers/etcd-amd64:3.0.17 - imagePullPolicy: IfNotPresent - livenessProbe: - failureThreshold: 3 - httpGet: - host: 127.0.0.1 - path: /health - port: 12379 - scheme: HTTP - initialDelaySeconds: 15 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 15 - name: romana-etcd - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /var/etcd/data - name: etcd-data - dnsPolicy: ClusterFirst - hostNetwork: true - nodeSelector: - node-role.kubernetes.io/master: "" - restartPolicy: Always - schedulerName: default-scheduler - securityContext: - seLinuxOptions: - type: spc_t - terminationGracePeriodSeconds: 30 - tolerations: - - effect: NoSchedule - key: node-role.kubernetes.io/master - - effect: NoSchedule - key: node.kubernetes.io/not-ready - volumes: - - hostPath: - path: /var/lib/romana/etcd-db - type: "" - name: etcd-data - status: {} -- apiVersion: v1 - kind: Service - metadata: - creationTimestamp: null - name: romana - namespace: kube-system - spec: - clusterIP: 10.96.0.99 - internalTrafficPolicy: Cluster - ports: - - name: daemon - port: 9600 - protocol: TCP - targetPort: 9600 - selector: - romana-app: daemon - sessionAffinity: None - type: ClusterIP - status: - loadBalancer: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - creationTimestamp: null - labels: - romana-app: daemon - name: romana-daemon - namespace: kube-system - spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - romana-app: daemon - strategy: - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 - type: RollingUpdate - template: - metadata: - creationTimestamp: null - labels: - romana-app: daemon - spec: - containers: - - image: quay.io/romana/daemon:v2.0.2 - imagePullPolicy: Always - name: romana-daemon - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - dnsPolicy: ClusterFirst - hostNetwork: true - nodeSelector: - node-role.kubernetes.io/master: "" - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 - tolerations: - - effect: NoSchedule - key: node-role.kubernetes.io/master - - effect: NoSchedule - key: node.kubernetes.io/not-ready - status: {} -- apiVersion: apps/v1 - kind: Deployment - metadata: - creationTimestamp: null - labels: - romana-app: listener - name: romana-listener - namespace: kube-system - spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - romana-app: listener - strategy: - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 - type: RollingUpdate - template: - metadata: - creationTimestamp: null - labels: - romana-app: listener - spec: - containers: - - image: quay.io/romana/listener:v2.0.2 - imagePullPolicy: Always - name: romana-listener - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - dnsPolicy: ClusterFirst - hostNetwork: true - nodeSelector: - node-role.kubernetes.io/master: "" - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - serviceAccount: romana-listener - serviceAccountName: romana-listener - terminationGracePeriodSeconds: 30 - tolerations: - - effect: NoSchedule - key: node-role.kubernetes.io/master - - effect: NoSchedule - key: node.kubernetes.io/not-ready - status: {} -- apiVersion: apps/v1 - kind: DaemonSet - metadata: - annotations: - deprecated.daemonset.template.generation: "0" - creationTimestamp: null - labels: - romana-app: agent - name: romana-agent - namespace: kube-system - spec: - revisionHistoryLimit: 10 - selector: - matchLabels: - romana-app: agent - template: - metadata: - creationTimestamp: null - labels: - romana-app: agent - spec: - containers: - - env: - - name: NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: NODEIP - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: status.hostIP - image: quay.io/romana/agent:v2.0.2 - imagePullPolicy: Always - name: romana-agent - resources: {} - securityContext: - privileged: true - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /host/usr/local/bin - name: host-usr-local-bin - - mountPath: /host/etc/romana - name: host-etc-romana - - mountPath: /host/opt/cni/bin - name: host-cni-bin - - mountPath: /host/etc/cni/net.d - name: host-cni-net-d - - mountPath: /var/run/romana - name: run-path - - mountPath: /host/etc/rlog - name: host-etc-rlog - dnsPolicy: ClusterFirst - hostNetwork: true - restartPolicy: Always - schedulerName: default-scheduler - securityContext: - seLinuxOptions: - type: spc_t - serviceAccount: romana-agent - serviceAccountName: romana-agent - terminationGracePeriodSeconds: 30 - tolerations: - - effect: NoSchedule - key: node-role.kubernetes.io/master - - effect: NoSchedule - key: node.kubernetes.io/not-ready - volumes: - - hostPath: - path: /usr/local/bin - type: "" - name: host-usr-local-bin - - hostPath: - path: /etc/romana - type: "" - name: host-etc-romana - - hostPath: - path: /opt/cni/bin - type: "" - name: host-cni-bin - - hostPath: - path: /etc/cni/net.d - type: "" - name: host-cni-net-d - - hostPath: - path: /var/run/romana - type: "" - name: run-path - - hostPath: - path: /etc/rlog - type: "" - name: host-etc-rlog - updateStrategy: - rollingUpdate: - maxSurge: 0 - maxUnavailable: 1 - type: RollingUpdate - status: - currentNumberScheduled: 0 - desiredNumberScheduled: 0 - numberMisscheduled: 0 - numberReady: 0 -kind: List -metadata: {} From 4f5a12838fbf498feabd00c591111c97ef7a3bac Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 25 May 2022 14:39:18 -0700 Subject: [PATCH 42/72] automate updating Window Go version --- hack/jenkins/common.ps1 | 13 +++++++++++++ hack/update/golang_version/update_golang_version.go | 5 +++++ 2 files changed, 18 insertions(+) diff --git a/hack/jenkins/common.ps1 b/hack/jenkins/common.ps1 index e4d2342ffc..dc8418a6ae 100644 --- a/hack/jenkins/common.ps1 +++ b/hack/jenkins/common.ps1 @@ -30,6 +30,7 @@ function Write-GithubStatus { $env:SHORT_COMMIT=$env:COMMIT.substring(0, 7) $gcs_bucket="minikube-builds/logs/$env:MINIKUBE_LOCATION/$env:ROOT_JOB_ID" $env:MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE="true" +$GoVersion = "1.18.2" # Docker's kubectl breaks things, and comes earlier in the path than the regular kubectl. So download the expected kubectl and replace Docker's version. $KubeVersion = (Invoke-WebRequest -Uri 'https://storage.googleapis.com/kubernetes-release/release/stable.txt' -UseBasicParsing).Content @@ -53,6 +54,18 @@ If ($lastexitcode -gt 0) { Exit $lastexitcode } +# Download Go +$CurrentGo = go version +if ($CurrentGo -NotLike "*$GoVersion*") { + (New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip") + Remove-Item "c:\Program Files\Go\*" -Recurse + Add-Type -Assembly "System.IO.Compression.Filesystem" + [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:TEMP\golang.zip", "$env:TEMP\golang") + Copy-Item -Path "$env:TEMP\golang\go\*" -Destination "c:\Program Files\Go\" -Recurse + Remove-Item "$env:TEMP\golang" -Recurse + Remove-Item "$env:TEMP\golang.zip" +} + # Download gopogh and gotestsum (New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.13.0/gopogh.exe", "C:\Go\bin\gopogh.exe") (New-Object Net.WebClient).DownloadFile("https://github.com/gotestyourself/gotestsum/releases/download/v1.8.1/gotestsum_1.8.1_windows_amd64.tar.gz", "$env:TEMP\gotestsum.tar.gz") diff --git a/hack/update/golang_version/update_golang_version.go b/hack/update/golang_version/update_golang_version.go index 7024a2fadd..b574ce79fc 100644 --- a/hack/update/golang_version/update_golang_version.go +++ b/hack/update/golang_version/update_golang_version.go @@ -137,6 +137,11 @@ var ( `VERSION_TO_INSTALL=.*`: `VERSION_TO_INSTALL={{.StableVersion}}`, }, }, + "hack/jenkins/common.ps1": { + Replace: map[string]string{ + `GoVersion = ".*"`: `GoVersion = "{{.StableVersion}}"`, + }, + }, } // PR data From bc968683e6d51b655207e05843ee5244295024ae Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 25 May 2022 14:54:45 -0700 Subject: [PATCH 43/72] use custom flannel --- test/integration/net_test.go | 2 +- test/integration/testdata/antrea.yaml | 5137 ------------------- test/integration/testdata/kube-flannel.yaml | 248 + 3 files changed, 249 insertions(+), 5138 deletions(-) delete mode 100644 test/integration/testdata/antrea.yaml create mode 100644 test/integration/testdata/kube-flannel.yaml diff --git a/test/integration/net_test.go b/test/integration/net_test.go index 93e2666b47..4556172302 100644 --- a/test/integration/net_test.go +++ b/test/integration/net_test.go @@ -61,7 +61,7 @@ func TestNetworkPlugins(t *testing.T) { {"flannel", []string{"--cni=flannel"}, "cni", "app=flannel", true}, {"kindnet", []string{"--cni=kindnet"}, "cni", "app=kindnet", true}, {"false", []string{"--cni=false"}, "", "", false}, - {"custom-antrea", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "antrea.yaml"))}, "cni", "", true}, + {"custom-flannel", []string{fmt.Sprintf("--cni=%s", filepath.Join(*testdataDir, "kube-flannel.yaml"))}, "cni", "", true}, {"calico", []string{"--cni=calico"}, "cni", "k8s-app=calico-node", true}, {"cilium", []string{"--cni=cilium"}, "cni", "k8s-app=cilium", true}, } diff --git a/test/integration/testdata/antrea.yaml b/test/integration/testdata/antrea.yaml deleted file mode 100644 index beb5bab289..0000000000 --- a/test/integration/testdata/antrea.yaml +++ /dev/null @@ -1,5137 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: antreaagentinfos.clusterinformation.antrea.tanzu.vmware.com -spec: - group: clusterinformation.antrea.tanzu.vmware.com - names: - kind: AntreaAgentInfo - plural: antreaagentinfos - shortNames: - - laai - singular: antreaagentinfo - scope: Cluster - versions: - - name: v1beta1 - schema: - openAPIV3Schema: - type: object - x-kubernetes-preserve-unknown-fields: true - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: antreaagentinfos.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: AntreaAgentInfo - plural: antreaagentinfos - shortNames: - - aai - singular: antreaagentinfo - scope: Cluster - versions: - - additionalPrinterColumns: - - description: Health status of this Agent - jsonPath: .agentConditions[?(@.type=='AgentHealthy')].status - name: Healthy - type: string - - description: Last time the Healthy Condition was updated - jsonPath: .agentConditions[?(@.type=='AgentHealthy')].lastHeartbeatTime - name: Last Heartbeat - type: date - - description: Version of this Agent - jsonPath: .version - name: Version - priority: 1 - type: string - - description: Node on which this Agent is running - jsonPath: .nodeRef.name - name: Node - priority: 1 - type: string - - description: Number of local Pods managed by this Agent - jsonPath: .localPodNum - name: Num Pods - priority: 2 - type: integer - - description: Subnets used by this Agent for Pod IPAM - jsonPath: .nodeSubnets - name: Subnets - priority: 2 - type: string - name: v1beta1 - schema: - openAPIV3Schema: - type: object - x-kubernetes-preserve-unknown-fields: true - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: antreacontrollerinfos.clusterinformation.antrea.tanzu.vmware.com -spec: - group: clusterinformation.antrea.tanzu.vmware.com - names: - kind: AntreaControllerInfo - plural: antreacontrollerinfos - shortNames: - - laci - singular: antreacontrollerinfo - scope: Cluster - versions: - - name: v1beta1 - schema: - openAPIV3Schema: - type: object - x-kubernetes-preserve-unknown-fields: true - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: antreacontrollerinfos.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: AntreaControllerInfo - plural: antreacontrollerinfos - shortNames: - - aci - singular: antreacontrollerinfo - scope: Cluster - versions: - - additionalPrinterColumns: - - description: Health status of the Controller - jsonPath: .controllerConditions[?(@.type=='ControllerHealthy')].status - name: Healthy - type: string - - description: Last time the Healthy Condition was updated - jsonPath: .controllerConditions[?(@.type=='ControllerHealthy')].lastHeartbeatTime - name: Last Heartbeat - type: date - - description: Version of the Controller - jsonPath: .version - name: Version - priority: 1 - type: string - - description: Number of Agents connected to the Controller - jsonPath: .connectedAgentNum - name: Connected Agents - priority: 1 - type: integer - - description: Node on which the Controller is running - jsonPath: .nodeRef.name - name: Node - priority: 1 - type: string - - description: Number of Network Policies computed by Controller - jsonPath: .networkPolicyControllerInfo.networkPolicyNum - name: Num Network Policies - priority: 2 - type: integer - name: v1beta1 - schema: - openAPIV3Schema: - type: object - x-kubernetes-preserve-unknown-fields: true - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: clustergroups.core.antrea.tanzu.vmware.com -spec: - group: core.antrea.tanzu.vmware.com - names: - kind: ClusterGroup - plural: clustergroups - shortNames: - - lcg - singular: group - scope: Cluster - versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - childGroups: - items: - type: string - type: array - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - ipBlocks: - items: - properties: - cidr: - format: cidr - type: string - type: object - type: array - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - serviceReference: - properties: - name: - type: string - namespace: - type: string - type: object - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - type: string - status: - type: string - type: - type: string - type: object - type: array - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: clustergroups.crd.antrea.io -spec: - conversion: - strategy: Webhook - webhook: - clientConfig: - service: - name: antrea - namespace: kube-system - path: /convert/clustergroup - conversionReviewVersions: - - v1 - - v1beta1 - group: crd.antrea.io - names: - kind: ClusterGroup - plural: clustergroups - shortNames: - - cg - singular: clustergroup - scope: Cluster - versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - childGroups: - items: - type: string - type: array - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - ipBlocks: - items: - properties: - cidr: - format: cidr - type: string - type: object - type: array - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - serviceReference: - properties: - name: - type: string - namespace: - type: string - type: object - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - type: string - status: - type: string - type: - type: string - type: object - type: array - type: object - type: object - served: true - storage: false - - name: v1alpha3 - schema: - openAPIV3Schema: - properties: - spec: - properties: - childGroups: - items: - type: string - type: array - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlocks: - items: - properties: - cidr: - format: cidr - type: string - type: object - type: array - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - serviceReference: - properties: - name: - type: string - namespace: - type: string - type: object - type: object - status: - properties: - conditions: - items: - properties: - lastTransitionTime: - type: string - status: - type: string - type: - type: string - type: object - type: array - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: clusternetworkpolicies.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: ClusterNetworkPolicy - plural: clusternetworkpolicies - shortNames: - - acnp - singular: clusternetworkpolicy - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The Tier to which this ClusterNetworkPolicy belongs to. - jsonPath: .spec.tier - name: Tier - type: string - - description: The Priority of this ClusterNetworkPolicy relative to other policies. - format: float - jsonPath: .spec.priority - name: Priority - type: number - - description: The total number of Nodes that should realize the NetworkPolicy. - format: int32 - jsonPath: .status.desiredNodesRealized - name: Desired Nodes - type: number - - description: The number of Nodes that have realized the NetworkPolicy. - format: int32 - jsonPath: .status.currentNodesRealized - name: Current Nodes - type: number - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - egress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - to: - items: - properties: - fqdn: - type: string - group: - type: string - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - namespaces: - properties: - match: - type: string - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - toServices: - items: - properties: - name: - type: string - namespace: - type: string - required: - - name - - namespace - type: object - type: array - required: - - action - type: object - type: array - ingress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - from: - items: - properties: - group: - type: string - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - namespaces: - properties: - match: - enum: - - Self - type: string - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - required: - - action - type: object - type: array - priority: - format: float - maximum: 10000 - minimum: 1 - type: number - tier: - type: string - required: - - priority - type: object - status: - properties: - currentNodesRealized: - type: integer - desiredNodesRealized: - type: integer - observedGeneration: - type: integer - phase: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: clusternetworkpolicies.security.antrea.tanzu.vmware.com -spec: - group: security.antrea.tanzu.vmware.com - names: - kind: ClusterNetworkPolicy - plural: clusternetworkpolicies - shortNames: - - lacnp - singular: clusternetworkpolicy - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The Tier to which this ClusterNetworkPolicy belongs to. - jsonPath: .spec.tier - name: Tier - type: string - - description: The Priority of this ClusterNetworkPolicy relative to other policies. - format: float - jsonPath: .spec.priority - name: Priority - type: number - - description: The total number of Nodes that should realize the NetworkPolicy. - format: int32 - jsonPath: .status.desiredNodesRealized - name: Desired Nodes - type: number - - description: The number of Nodes that have realized the NetworkPolicy. - format: int32 - jsonPath: .status.currentNodesRealized - name: Current Nodes - type: number - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - egress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - to: - items: - properties: - group: - type: string - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - namespaces: - properties: - match: - type: string - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - required: - - action - type: object - type: array - ingress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - group: - type: string - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - from: - items: - properties: - group: - type: string - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - namespaces: - properties: - match: - type: string - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - required: - - action - type: object - type: array - priority: - format: float - maximum: 10000 - minimum: 1 - type: number - tier: - type: string - required: - - priority - type: object - status: - properties: - currentNodesRealized: - type: integer - desiredNodesRealized: - type: integer - observedGeneration: - type: integer - phase: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: egresses.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: Egress - plural: egresses - shortNames: - - eg - singular: egress - scope: Cluster - versions: - - additionalPrinterColumns: - - description: Specifies the SNAT IP address for the selected workloads. - jsonPath: .spec.egressIP - name: EgressIP - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - description: The Owner Node of egress IP - jsonPath: .status.egressNode - name: Node - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - anyOf: - - required: - - egressIP - - required: - - externalIPPool - properties: - appliedTo: - properties: - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - egressIP: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - externalIPPool: - type: string - required: - - appliedTo - type: object - status: - properties: - egressNode: - type: string - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: externalentities.core.antrea.tanzu.vmware.com -spec: - group: core.antrea.tanzu.vmware.com - names: - kind: ExternalEntity - plural: externalentities - shortNames: - - lee - singular: externalentity - scope: Namespaced - versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - endpoints: - items: - properties: - ip: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - name: - type: string - type: object - type: array - externalNode: - type: string - ports: - items: - properties: - name: - type: string - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - type: object - type: object - served: true - storage: true - - name: v1alpha1 - schema: - openAPIV3Schema: - type: object - served: false - storage: false ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: externalentities.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: ExternalEntity - plural: externalentities - shortNames: - - ee - singular: externalentity - scope: Namespaced - versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - endpoints: - items: - properties: - ip: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - name: - type: string - type: object - type: array - externalNode: - type: string - ports: - items: - properties: - name: - type: string - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - type: object - type: object - served: true - storage: true - - name: v1alpha1 - schema: - openAPIV3Schema: - type: object - served: false - storage: false ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: externalippools.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: ExternalIPPool - plural: externalippools - shortNames: - - eip - singular: externalippool - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The number of total IPs - jsonPath: .status.usage.total - name: Total - type: integer - - description: The number of allocated IPs - jsonPath: .status.usage.used - name: Used - type: integer - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - ipRanges: - items: - oneOf: - - required: - - cidr - - required: - - start - - end - properties: - cidr: - format: cidr - type: string - end: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - start: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - type: object - type: array - nodeSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - required: - - ipRanges - - nodeSelector - type: object - status: - properties: - usage: - properties: - total: - type: integer - used: - type: integer - type: object - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: ippools.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: IPPool - plural: ippools - shortNames: - - ipp - singular: ippool - scope: Cluster - versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - spec: - properties: - ipRanges: - items: - oneOf: - - required: - - cidr - - gateway - - prefixLength - - required: - - start - - end - - gateway - - prefixLength - properties: - cidr: - format: cidr - type: string - end: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - gateway: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - prefixLength: - type: integer - start: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - vlan: - type: string - type: object - type: array - ipVersion: - type: integer - required: - - ipVersion - - ipRanges - type: object - status: - properties: - ipAddresses: - items: - properties: - ipAddress: - type: string - owner: - properties: - pod: - properties: - containerID: - type: string - name: - type: string - namespace: - type: string - type: object - statefulSet: - properties: - index: - type: integer - name: - type: string - namespace: - type: string - type: object - type: object - phase: - type: string - type: object - type: array - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: networkpolicies.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: NetworkPolicy - plural: networkpolicies - shortNames: - - anp - singular: networkpolicy - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: The Tier to which this Antrea NetworkPolicy belongs to. - jsonPath: .spec.tier - name: Tier - type: string - - description: The Priority of this Antrea NetworkPolicy relative to other policies. - format: float - jsonPath: .spec.priority - name: Priority - type: number - - description: The total number of Nodes that should realize the NetworkPolicy. - format: int32 - jsonPath: .status.desiredNodesRealized - name: Desired Nodes - type: number - - description: The number of Nodes that have realized the NetworkPolicy. - format: int32 - jsonPath: .status.currentNodesRealized - name: Current Nodes - type: number - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - egress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - to: - items: - properties: - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - fqdn: - type: string - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - toServices: - items: - properties: - name: - type: string - namespace: - type: string - required: - - name - type: object - type: array - required: - - action - type: object - type: array - ingress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - from: - items: - properties: - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - required: - - action - type: object - type: array - priority: - format: float - maximum: 10000 - minimum: 1 - type: number - tier: - type: string - required: - - priority - type: object - status: - properties: - currentNodesRealized: - type: integer - desiredNodesRealized: - type: integer - observedGeneration: - type: integer - phase: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: networkpolicies.security.antrea.tanzu.vmware.com -spec: - group: security.antrea.tanzu.vmware.com - names: - kind: NetworkPolicy - plural: networkpolicies - shortNames: - - lanp - singular: networkpolicy - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: The Tier to which this Antrea NetworkPolicy belongs to. - jsonPath: .spec.tier - name: Tier - type: string - - description: The Priority of this Antrea NetworkPolicy relative to other policies. - format: float - jsonPath: .spec.priority - name: Priority - type: number - - description: The total number of Nodes that should realize the NetworkPolicy. - format: int32 - jsonPath: .status.desiredNodesRealized - name: Desired Nodes - type: number - - description: The number of Nodes that have realized the NetworkPolicy. - format: int32 - jsonPath: .status.currentNodesRealized - name: Current Nodes - type: number - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - egress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - to: - items: - properties: - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - required: - - action - type: object - type: array - ingress: - items: - properties: - action: - enum: - - Allow - - Drop - - Reject - - Pass - type: string - appliedTo: - items: - properties: - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - enableLogging: - type: boolean - from: - items: - properties: - externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - ipBlock: - properties: - cidr: - format: cidr - type: string - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$ - type: string - type: array - type: object - type: array - matchLabels: - x-kubernetes-preserve-unknown-fields: true - type: object - type: object - type: array - name: - type: string - ports: - items: - properties: - endPort: - type: integer - port: - x-kubernetes-int-or-string: true - protocol: - type: string - type: object - type: array - required: - - action - type: object - type: array - priority: - format: float - maximum: 10000 - minimum: 1 - type: number - tier: - type: string - required: - - priority - type: object - status: - properties: - currentNodesRealized: - type: integer - desiredNodesRealized: - type: integer - observedGeneration: - type: integer - phase: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: tiers.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: Tier - plural: tiers - shortNames: - - tr - singular: tier - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The Priority of this Tier relative to other Tiers. - jsonPath: .spec.priority - name: Priority - type: integer - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - description: - type: string - priority: - maximum: 255 - minimum: 0 - type: integer - required: - - priority - type: object - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: tiers.security.antrea.tanzu.vmware.com -spec: - group: security.antrea.tanzu.vmware.com - names: - kind: Tier - plural: tiers - shortNames: - - ltr - singular: tier - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The Priority of this Tier relative to other Tiers. - jsonPath: .spec.priority - name: Priority - type: integer - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - description: - type: string - priority: - maximum: 255 - minimum: 0 - type: integer - required: - - priority - type: object - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: traceflows.crd.antrea.io -spec: - group: crd.antrea.io - names: - kind: Traceflow - plural: traceflows - shortNames: - - tf - singular: traceflow - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The phase of the Traceflow. - jsonPath: .status.phase - name: Phase - type: string - - description: The name of the source Pod. - jsonPath: .spec.source.pod - name: Source-Pod - priority: 10 - type: string - - description: The name of the destination Pod. - jsonPath: .spec.destination.pod - name: Destination-Pod - priority: 10 - type: string - - description: The IP address of the destination. - jsonPath: .spec.destination.ip - name: Destination-IP - priority: 10 - type: string - - description: Trace live traffic. - jsonPath: .spec.liveTraffic - name: Live-Traffic - priority: 10 - type: boolean - - description: Capture only the dropped packet. - jsonPath: .spec.droppedOnly - name: Dropped-Only - priority: 10 - type: boolean - - description: Timeout in seconds. - jsonPath: .spec.timeout - name: Timeout - priority: 10 - type: integer - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - destination: - properties: - ip: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - namespace: - type: string - pod: - type: string - service: - type: string - type: object - droppedOnly: - type: boolean - liveTraffic: - type: boolean - packet: - properties: - ipHeader: - properties: - flags: - type: integer - protocol: - type: integer - srcIP: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - ttl: - type: integer - type: object - ipv6Header: - properties: - hopLimit: - type: integer - nextHeader: - type: integer - srcIP: - format: ipv6 - type: string - type: object - transportHeader: - properties: - icmp: - properties: - id: - type: integer - sequence: - type: integer - type: object - tcp: - properties: - dstPort: - type: integer - flags: - type: integer - srcPort: - type: integer - type: object - udp: - properties: - dstPort: - type: integer - srcPort: - type: integer - type: object - type: object - type: object - source: - properties: - ip: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - namespace: - type: string - pod: - type: string - type: object - timeout: - type: integer - type: object - status: - properties: - capturedPacket: - properties: - dstIP: - type: string - ipHeader: - properties: - flags: - type: integer - protocol: - type: integer - ttl: - type: integer - type: object - ipv6Header: - properties: - hopLimit: - type: integer - nextHeader: - type: integer - type: object - length: - type: integer - srcIP: - type: string - transportHeader: - properties: - icmp: - properties: - id: - type: integer - sequence: - type: integer - type: object - tcp: - properties: - dstPort: - type: integer - flags: - type: integer - srcPort: - type: integer - type: object - udp: - properties: - dstPort: - type: integer - srcPort: - type: integer - type: object - type: object - type: object - dataplaneTag: - type: integer - phase: - type: string - reason: - type: string - results: - items: - properties: - node: - type: string - observations: - items: - properties: - action: - type: string - component: - type: string - componentInfo: - type: string - dstMAC: - type: string - networkPolicy: - type: string - pod: - type: string - translatedDstIP: - type: string - translatedSrcIP: - type: string - ttl: - type: integer - tunnelDstIP: - type: string - type: object - type: array - role: - type: string - timestamp: - type: integer - type: object - type: array - startTime: - type: string - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app: antrea - name: traceflows.ops.antrea.tanzu.vmware.com -spec: - group: ops.antrea.tanzu.vmware.com - names: - kind: Traceflow - plural: traceflows - shortNames: - - ltf - singular: traceflow - scope: Cluster - versions: - - additionalPrinterColumns: - - description: The phase of the Traceflow. - jsonPath: .status.phase - name: Phase - type: string - - description: The name of the source Pod. - jsonPath: .spec.source.pod - name: Source-Pod - priority: 10 - type: string - - description: The name of the destination Pod. - jsonPath: .spec.destination.pod - name: Destination-Pod - priority: 10 - type: string - - description: The IP address of the destination. - jsonPath: .spec.destination.ip - name: Destination-IP - priority: 10 - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - spec: - properties: - destination: - properties: - ip: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - namespace: - type: string - pod: - type: string - service: - type: string - type: object - packet: - properties: - ipHeader: - properties: - flags: - type: integer - protocol: - type: integer - srcIP: - oneOf: - - format: ipv4 - - format: ipv6 - type: string - ttl: - type: integer - type: object - ipv6Header: - properties: - hopLimit: - type: integer - nextHeader: - type: integer - srcIP: - format: ipv6 - type: string - type: object - transportHeader: - properties: - icmp: - properties: - id: - type: integer - sequence: - type: integer - type: object - tcp: - properties: - dstPort: - type: integer - flags: - type: integer - srcPort: - type: integer - type: object - udp: - properties: - dstPort: - type: integer - srcPort: - type: integer - type: object - type: object - type: object - source: - properties: - namespace: - type: string - pod: - type: string - required: - - pod - - namespace - type: object - required: - - source - type: object - status: - properties: - dataplaneTag: - type: integer - phase: - type: string - reason: - type: string - results: - items: - properties: - node: - type: string - observations: - items: - properties: - action: - type: string - component: - type: string - componentInfo: - type: string - dstMAC: - type: string - networkPolicy: - type: string - pod: - type: string - translatedDstIP: - type: string - translatedSrcIP: - type: string - ttl: - type: integer - tunnelDstIP: - type: string - type: object - type: array - role: - type: string - timestamp: - type: integer - type: object - type: array - startTime: - type: string - type: object - required: - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app: antrea - name: antctl - namespace: kube-system ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app: antrea - name: antrea-agent - namespace: kube-system ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app: antrea - name: antrea-controller - namespace: kube-system ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-admin: "true" - rbac.authorization.k8s.io/aggregate-to-edit: "true" - name: aggregate-antrea-clustergroups-edit -rules: -- apiGroups: - - core.antrea.tanzu.vmware.com - resources: - - clustergroups - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - crd.antrea.io - resources: - - clustergroups - verbs: - - get - - list - - watch - - create - - update - - patch - - delete ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-view: "true" - name: aggregate-antrea-clustergroups-view -rules: -- apiGroups: - - core.antrea.tanzu.vmware.com - resources: - - clustergroups - verbs: - - get - - list - - watch -- apiGroups: - - crd.antrea.io - resources: - - clustergroups - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-admin: "true" - rbac.authorization.k8s.io/aggregate-to-edit: "true" - name: aggregate-antrea-policies-edit -rules: -- apiGroups: - - security.antrea.tanzu.vmware.com - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - crd.antrea.io - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - list - - watch - - create - - update - - patch - - delete ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-view: "true" - name: aggregate-antrea-policies-view -rules: -- apiGroups: - - security.antrea.tanzu.vmware.com - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - list - - watch -- apiGroups: - - crd.antrea.io - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-admin: "true" - rbac.authorization.k8s.io/aggregate-to-edit: "true" - name: aggregate-traceflows-edit -rules: -- apiGroups: - - ops.antrea.tanzu.vmware.com - resources: - - traceflows - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - crd.antrea.io - resources: - - traceflows - verbs: - - get - - list - - watch - - create - - update - - patch - - delete ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - rbac.authorization.k8s.io/aggregate-to-view: "true" - name: aggregate-traceflows-view -rules: -- apiGroups: - - ops.antrea.tanzu.vmware.com - resources: - - traceflows - verbs: - - get - - list - - watch -- apiGroups: - - crd.antrea.io - resources: - - traceflows - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - name: antctl -rules: -- apiGroups: - - controlplane.antrea.tanzu.vmware.com - - controlplane.antrea.io - resources: - - networkpolicies - - appliedtogroups - - addressgroups - verbs: - - get - - list -- apiGroups: - - stats.antrea.tanzu.vmware.com - - stats.antrea.io - resources: - - networkpolicystats - - antreaclusternetworkpolicystats - - antreanetworkpolicystats - verbs: - - get - - list -- apiGroups: - - system.antrea.tanzu.vmware.com - - system.antrea.io - resources: - - controllerinfos - - agentinfos - verbs: - - get -- apiGroups: - - system.antrea.tanzu.vmware.com - - system.antrea.io - resources: - - supportbundles - verbs: - - get - - post -- apiGroups: - - system.antrea.tanzu.vmware.com - - system.antrea.io - resources: - - supportbundles/download - verbs: - - get -- nonResourceURLs: - - /agentinfo - - /addressgroups - - /appliedtogroups - - /loglevel - - /networkpolicies - - /ovsflows - - /ovstracing - - /podinterfaces - - /featuregates - - /serviceexternalip - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - name: antrea-agent -rules: -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - - watch - - list -- apiGroups: - - "" - resources: - - nodes/status - verbs: - - patch -- apiGroups: - - "" - resources: - - pods - verbs: - - get - - watch - - list -- apiGroups: - - "" - resources: - - pods/status - verbs: - - patch -- apiGroups: - - "" - resources: - - endpoints - - services - - namespaces - verbs: - - get - - watch - - list -- apiGroups: - - discovery.k8s.io - resources: - - endpointslices - verbs: - - get - - watch - - list -- apiGroups: - - clusterinformation.antrea.tanzu.vmware.com - - crd.antrea.io - resources: - - antreaagentinfos - verbs: - - get - - create - - update - - delete -- apiGroups: - - controlplane.antrea.tanzu.vmware.com - - controlplane.antrea.io - resources: - - networkpolicies - - appliedtogroups - - addressgroups - verbs: - - get - - watch - - list -- apiGroups: - - controlplane.antrea.io - resources: - - egressgroups - verbs: - - get - - watch - - list -- apiGroups: - - controlplane.antrea.tanzu.vmware.com - - controlplane.antrea.io - resources: - - nodestatssummaries - verbs: - - create -- apiGroups: - - controlplane.antrea.tanzu.vmware.com - - controlplane.antrea.io - resources: - - networkpolicies/status - verbs: - - create - - get -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resourceNames: - - extension-apiserver-authentication - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - "" - resourceNames: - - antrea-ca - resources: - - configmaps - verbs: - - get - - watch - - list -- apiGroups: - - ops.antrea.tanzu.vmware.com - - crd.antrea.io - resources: - - traceflows - - traceflows/status - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - crd.antrea.io - resources: - - egresses - verbs: - - get - - watch - - list -- apiGroups: - - crd.antrea.io - resources: - - egresses/status - verbs: - - update -- apiGroups: - - crd.antrea.io - resources: - - externalippools - - ippools - verbs: - - get - - watch - - list -- apiGroups: - - crd.antrea.io - resources: - - ippools/status - verbs: - - update -- apiGroups: - - k8s.cni.cncf.io - resources: - - network-attachment-definitions - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - name: antrea-cluster-identity-reader -rules: -- apiGroups: - - "" - resourceNames: - - antrea-cluster-identity - resources: - - configmaps - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app: antrea - name: antrea-controller -rules: -- apiGroups: - - "" - resources: - - pods - - services - - namespaces - - configmaps - verbs: - - get - - watch - - list -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - - watch - - list - - patch -- apiGroups: - - "" - resources: - - services/status - verbs: - - update -- apiGroups: - - networking.k8s.io - resources: - - networkpolicies - verbs: - - get - - watch - - list -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - update -- apiGroups: - - "" - resourceNames: - - extension-apiserver-authentication - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - "" - resourceNames: - - antrea-ca - - antrea-cluster-identity - resources: - - configmaps - verbs: - - get - - update -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create -- apiGroups: - - apiregistration.k8s.io - resourceNames: - - v1alpha1.stats.antrea.tanzu.vmware.com - - v1beta1.system.antrea.tanzu.vmware.com - - v1beta2.controlplane.antrea.tanzu.vmware.com - - v1alpha1.stats.antrea.io - - v1beta1.system.antrea.io - - v1beta2.controlplane.antrea.io - resources: - - apiservices - verbs: - - get - - update -- apiGroups: - - apiregistration.k8s.io - resourceNames: - - v1beta1.networking.antrea.tanzu.vmware.com - - v1beta1.controlplane.antrea.tanzu.vmware.com - resources: - - apiservices - verbs: - - delete -- apiGroups: - - admissionregistration.k8s.io - resourceNames: - - crdmutator.antrea.tanzu.vmware.com - - crdvalidator.antrea.tanzu.vmware.com - - labelsmutator.antrea.io - - crdmutator.antrea.io - - crdvalidator.antrea.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - get - - update -- apiGroups: - - crd.antrea.io - resources: - - antreacontrollerinfos - verbs: - - get - - create - - update - - delete -- apiGroups: - - crd.antrea.io - resources: - - antreaagentinfos - verbs: - - list - - delete -- apiGroups: - - crd.antrea.io - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - crd.antrea.io - resources: - - clusternetworkpolicies/status - - networkpolicies/status - verbs: - - update -- apiGroups: - - crd.antrea.io - resources: - - tiers - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - crd.antrea.io - resources: - - traceflows - - traceflows/status - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - crd.antrea.io - resources: - - externalentities - - clustergroups - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - crd.antrea.io - resources: - - clustergroups/status - verbs: - - update -- apiGroups: - - crd.antrea.io - resources: - - egresses - verbs: - - get - - watch - - list - - update - - patch -- apiGroups: - - crd.antrea.io - resources: - - externalippools - - ippools - verbs: - - get - - watch - - list -- apiGroups: - - crd.antrea.io - resources: - - externalippools/status - - ippools/status - verbs: - - update -- apiGroups: - - apps - resources: - - statefulsets - verbs: - - get - - list - - watch -- apiGroups: - - clusterinformation.antrea.tanzu.vmware.com - resources: - - antreacontrollerinfos - verbs: - - get - - create - - update - - delete -- apiGroups: - - clusterinformation.antrea.tanzu.vmware.com - resources: - - antreaagentinfos - verbs: - - list - - delete -- apiGroups: - - security.antrea.tanzu.vmware.com - resources: - - clusternetworkpolicies - - networkpolicies - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - security.antrea.tanzu.vmware.com - resources: - - clusternetworkpolicies/status - - networkpolicies/status - verbs: - - update -- apiGroups: - - security.antrea.tanzu.vmware.com - resources: - - tiers - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - ops.antrea.tanzu.vmware.com - resources: - - traceflows - - traceflows/status - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - core.antrea.tanzu.vmware.com - resources: - - externalentities - - clustergroups - verbs: - - get - - watch - - list - - update - - patch - - create - - delete -- apiGroups: - - core.antrea.tanzu.vmware.com - resources: - - clustergroups/status - verbs: - - update ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app: antrea - name: antctl - namespace: kube-system -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: antctl -subjects: -- kind: ServiceAccount - name: antctl - namespace: kube-system ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app: antrea - name: antrea-agent -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: antrea-agent -subjects: -- kind: ServiceAccount - name: antrea-agent - namespace: kube-system ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app: antrea - name: antrea-controller -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: antrea-controller -subjects: -- kind: ServiceAccount - name: antrea-controller - namespace: kube-system ---- -apiVersion: v1 -data: - antrea-agent.conf: | - # FeatureGates is a map of feature names to bools that enable or disable experimental features. - featureGates: - # Enable AntreaProxy which provides ServiceLB for in-cluster Services in antrea-agent. - # It should be enabled on Windows, otherwise NetworkPolicy will not take effect on - # Service traffic. - # AntreaProxy: true - - # Enable EndpointSlice support in AntreaProxy. Don't enable this feature unless that EndpointSlice - # API version v1beta1 is supported and set as enabled in Kubernetes. If AntreaProxy is not enabled, - # this flag will not take effect. - # EndpointSlice: false - - # Enable traceflow which provides packet tracing feature to diagnose network issue. - # Traceflow: true - - # Enable NodePortLocal feature to make the Pods reachable externally through NodePort - # NodePortLocal: true - - # Enable Antrea ClusterNetworkPolicy feature to complement K8s NetworkPolicy for cluster admins - # to define security policies which apply to the entire cluster, and Antrea NetworkPolicy - # feature that supports priorities, rule actions and externalEntities in the future. - # AntreaPolicy: true - - # Enable flowexporter which exports polled conntrack connections as IPFIX flow records from each - # agent to a configured collector. - # FlowExporter: false - - # Enable collecting and exposing NetworkPolicy statistics. - # NetworkPolicyStats: true - - # Enable controlling SNAT IPs of Pod egress traffic. - # Egress: false - - # Enable flexible IPAM mode for Antrea. This mode allows to assign IP Ranges to Namespaces, - # Deployments and StatefulSets via IP Pool annotation. - # AntreaIPAM: false - - # Enable multicast traffic. This feature is supported only with noEncap mode. - # Multicast: false - - # Enable managing external IPs of Services of LoadBalancer type. - # ServiceExternalIP: false - - # Name of the OpenVSwitch bridge antrea-agent will create and use. - # Make sure it doesn't conflict with your existing OpenVSwitch bridges. - #ovsBridge: br-int - - # Datapath type to use for the OpenVSwitch bridge created by Antrea. Supported values are: - # - system - # - netdev - # 'system' is the default value and corresponds to the kernel datapath. Use 'netdev' to run - # OVS in userspace mode. Userspace mode requires the tun device driver to be available. - #ovsDatapathType: system - - # Name of the interface antrea-agent will create and use for host <--> pod communication. - # Make sure it doesn't conflict with your existing interfaces. - #hostGateway: antrea-gw0 - - # Determines how traffic is encapsulated. It has the following options: - # encap(default): Inter-node Pod traffic is always encapsulated and Pod to external network - # traffic is SNAT'd. - # noEncap: Inter-node Pod traffic is not encapsulated; Pod to external network traffic is - # SNAT'd if noSNAT is not set to true. Underlying network must be capable of - # supporting Pod traffic across IP subnets. - # hybrid: noEncap if source and destination Nodes are on the same subnet, otherwise encap. - # networkPolicyOnly: Antrea enforces NetworkPolicy only, and utilizes CNI chaining and delegates Pod - # IPAM and connectivity to the primary CNI. - # - #trafficEncapMode: encap - - # Whether or not to SNAT (using the Node IP) the egress traffic from a Pod to the external network. - # This option is for the noEncap traffic mode only, and the default value is false. In the noEncap - # mode, if the cluster's Pod CIDR is reachable from the external network, then the Pod traffic to - # the external network needs not be SNAT'd. In the networkPolicyOnly mode, antrea-agent never - # performs SNAT and this option will be ignored; for other modes it must be set to false. - #noSNAT: false - - # Tunnel protocols used for encapsulating traffic across Nodes. If WireGuard is enabled in trafficEncryptionMode, - # this option will not take effect. Supported values: - # - geneve (default) - # - vxlan - # - gre - # - stt - #tunnelType: geneve - - # Determines how tunnel traffic is encrypted. Currently encryption only works with encap mode. - # It has the following options: - # - none (default): Inter-node Pod traffic will not be encrypted. - # - ipsec: Enable IPsec (ESP) encryption for Pod traffic across Nodes. Antrea uses - # Preshared Key (PSK) for IKE authentication. When IPsec tunnel is enabled, - # the PSK value must be passed to Antrea Agent through an environment - # variable: ANTREA_IPSEC_PSK. - # - wireGuard: Enable WireGuard for tunnel traffic encryption. - #trafficEncryptionMode: none - - # Default MTU to use for the host gateway interface and the network interface of each Pod. - # If omitted, antrea-agent will discover the MTU of the Node's primary interface and - # also adjust MTU to accommodate for tunnel encapsulation overhead (if applicable). - #defaultMTU: 0 - - # wireGuard specifies WireGuard related configurations. - wireGuard: - # The port for WireGuard to receive traffic. - # port: 51820 - - egress: - # exceptCIDRs is the CIDR ranges to which outbound Pod traffic will not be SNAT'd by Egresses. - # exceptCIDRs: [] - - # ClusterIP CIDR range for Services. It's required when AntreaProxy is not enabled, and should be - # set to the same value as the one specified by --service-cluster-ip-range for kube-apiserver. When - # AntreaProxy is enabled, this parameter is not needed and will be ignored if provided. - #serviceCIDR: 10.96.0.0/12 - - # ClusterIP CIDR range for IPv6 Services. It's required when using kube-proxy to provide IPv6 Service in a Dual-Stack - # cluster or an IPv6 only cluster. The value should be the same as the configuration for kube-apiserver specified by - # --service-cluster-ip-range. When AntreaProxy is enabled, this parameter is not needed. - # No default value for this field. - #serviceCIDRv6: - - # The port for the antrea-agent APIServer to serve on. - # Note that if it's set to another value, the `containerPort` of the `api` port of the - # `antrea-agent` container must be set to the same value. - #apiPort: 10350 - - # Enable metrics exposure via Prometheus. Initializes Prometheus metrics listener. - #enablePrometheusMetrics: true - - # Provide the IPFIX collector address as a string with format :[][:]. - # HOST can either be the DNS name or the IP of the Flow Collector. For example, - # "flow-aggregator.flow-aggregator.svc" can be provided as DNS name to connect - # to the Antrea Flow Aggregator service. If IP, it can be either IPv4 or IPv6. - # However, IPv6 address should be wrapped with []. - # If PORT is empty, we default to 4739, the standard IPFIX port. - # If no PROTO is given, we consider "tls" as default. We support "tls", "tcp" and - # "udp" protocols. "tls" is used for securing communication between flow exporter and - # flow aggregator. - #flowCollectorAddr: "flow-aggregator.flow-aggregator.svc:4739:tls" - - # Provide flow poll interval as a duration string. This determines how often the - # flow exporter dumps connections from the conntrack module. Flow poll interval - # should be greater than or equal to 1s (one second). - # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - #flowPollInterval: "5s" - - # Provide the active flow export timeout, which is the timeout after which a flow - # record is sent to the collector for active flows. Thus, for flows with a continuous - # stream of packets, a flow record will be exported to the collector once the elapsed - # time since the last export event is equal to the value of this timeout. - # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - #activeFlowExportTimeout: "30s" - - # Provide the idle flow export timeout, which is the timeout after which a flow - # record is sent to the collector for idle flows. A flow is considered idle if no - # packet matching this flow has been observed since the last export event. - # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - #idleFlowExportTimeout: "15s" - - nodePortLocal: - # Enable NodePortLocal, a feature used to make Pods reachable using port forwarding on the host. To - # enable this feature, you need to set "enable" to true, and ensure that the NodePortLocal feature - # gate is also enabled (which is the default). - # enable: false - # Provide the port range used by NodePortLocal. When the NodePortLocal feature is enabled, a port - # from that range will be assigned whenever a Pod's container defines a specific port to be exposed - # (each container can define a list of ports as pod.spec.containers[].ports), and all Node traffic - # directed to that port will be forwarded to the Pod. - # portRange: 61000-62000 - - # Provide the address of Kubernetes apiserver, to override any value provided in kubeconfig or InClusterConfig. - # Defaults to "". It must be a host string, a host:port pair, or a URL to the base of the apiserver. - #kubeAPIServerOverride: "" - - # Comma-separated list of Cipher Suites. If omitted, the default Go Cipher Suites will be used. - # https://golang.org/pkg/crypto/tls/#pkg-constants - # Note that TLS1.3 Cipher Suites cannot be added to the list. But the apiserver will always - # prefer TLS1.3 Cipher Suites whenever possible. - #tlsCipherSuites: - - # TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. - #tlsMinVersion: - - # The name of the interface on Node which is used for tunneling or routing the traffic across Nodes. - # If there are multiple IP addresses configured on the interface, the first one is used. The IP - # address used for tunneling or routing traffic to remote Nodes is decided in the following order of - # preference (from highest to lowest): - # 1. transportInterface - # 2. transportInterfaceCIDRs - # 3. The Node IP - #transportInterface: - - # The names of the interfaces on Nodes that are used to forward multicast traffic. - # Defaults to transport interface if not set. - #multicastInterfaces: [] - - # The network CIDRs of the interface on Node which is used for tunneling or routing the traffic across - # Nodes. If there are multiple interfaces configured the same network CIDR, the first one is used. The - # IP address used for tunneling or routing traffic to remote Nodes is decided in the following order of - # preference (from highest to lowest): - # 1. transportInterface - # 2. transportInterfaceCIDRs - # 3. The Node IP - #transportInterfaceCIDRs: [,] - - # Option antreaProxy contains AntreaProxy related configuration options. - antreaProxy: - # ProxyAll tells antrea-agent to proxy all Service traffic, including NodePort, LoadBalancer, and ClusterIP traffic, - # regardless of where they come from. Therefore, running kube-proxy is no longer required. This requires the AntreaProxy - # feature to be enabled. - # Note that this option is experimental. If kube-proxy is removed, option kubeAPIServerOverride must be used to access - # apiserver directly. - #proxyAll: false - # A string array of values which specifies the host IPv4/IPv6 addresses for NodePort. Values can be valid IP blocks. - # (e.g. 1.2.3.0/24, 1.2.3.4/32). An empty string slice is meant to select all host IPv4/IPv6 addresses. - # Note that the option is only valid when proxyAll is true. - #nodePortAddresses: [] - # An array of string values to specify a list of Services which should be ignored by AntreaProxy (traffic to these - # Services will not be load-balanced). Values can be a valid ClusterIP (e.g. 10.11.1.2) or a Service name - # with Namespace (e.g. kube-system/kube-dns) - #skipServices: [] - # When ProxyLoadBalancerIPs is set to false, AntreaProxy no longer load-balances traffic destined to the - # External IPs of LoadBalancer Services. This is useful when the external LoadBalancer provides additional - # capabilities (e.g. TLS termination) and it is desirable for Pod-to-ExternalIP traffic to be sent to the - # external LoadBalancer instead of being load-balanced to an Endpoint directly by AntreaProxy. - # Note that setting ProxyLoadBalancerIPs to false usually only makes sense when ProxyAll is set to true and - # kube-proxy is removed from the cluser, otherwise kube-proxy will still load-balance this traffic. - #proxyLoadBalancerIPs: true - antrea-cni.conflist: | - { - "cniVersion":"0.3.0", - "name": "antrea", - "plugins": [ - { - "type": "antrea", - "ipam": { - "type": "host-local" - } - }, - { - "type": "portmap", - "capabilities": {"portMappings": true} - }, - { - "type": "bandwidth", - "capabilities": {"bandwidth": true} - } - ] - } - antrea-controller.conf: | - # FeatureGates is a map of feature names to bools that enable or disable experimental features. - featureGates: - # Enable traceflow which provides packet tracing feature to diagnose network issue. - # Traceflow: true - - # Enable Antrea ClusterNetworkPolicy feature to complement K8s NetworkPolicy for cluster admins - # to define security policies which apply to the entire cluster, and Antrea NetworkPolicy - # feature that supports priorities, rule actions and externalEntities in the future. - # AntreaPolicy: true - - # Enable collecting and exposing NetworkPolicy statistics. - # NetworkPolicyStats: true - - # Enable controlling SNAT IPs of Pod egress traffic. - # Egress: false - - # Run Kubernetes NodeIPAMController with Antrea. - # NodeIPAM: false - - # Enable flexible IPAM mode for Antrea. This mode allows to assign IP Ranges to Namespaces, - # Deployments and StatefulSets via IP Pool annotation. - # AntreaIPAM: false - - # Enable managing external IPs of Services of LoadBalancer type. - # ServiceExternalIP: false - - # The port for the antrea-controller APIServer to serve on. - # Note that if it's set to another value, the `containerPort` of the `api` port of the - # `antrea-controller` container must be set to the same value. - #apiPort: 10349 - - # Enable metrics exposure via Prometheus. Initializes Prometheus metrics listener. - #enablePrometheusMetrics: true - - # Indicates whether to use auto-generated self-signed TLS certificate. - # If false, A Secret named "antrea-controller-tls" must be provided with the following keys: - # ca.crt: - # tls.crt: - # tls.key: - # And the Secret must be mounted to directory "/var/run/antrea/antrea-controller-tls" of the - # antrea-controller container. - #selfSignedCert: true - - # Comma-separated list of Cipher Suites. If omitted, the default Go Cipher Suites will be used. - # https://golang.org/pkg/crypto/tls/#pkg-constants - # Note that TLS1.3 Cipher Suites cannot be added to the list. But the apiserver will always - # prefer TLS1.3 Cipher Suites whenever possible. - #tlsCipherSuites: - - # TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. - #tlsMinVersion: - - # If Antrea is upgraded from version <= v0.13 and legacy CRDs are used, this option should be - # enabled, otherwise the CRDs created with the legacy API groups will not take any effect and - # work as expected. When the mirroring is enabled, if a legacy CRD is created with legacy API - # groups, mirroring-controller will create a new CRD with the Spec and Labels from the legacy - # CRD. Afterwards, the modification of Spec and Label in legacy CRD will be synchronized to new - # CRD automatically. In addition, the modification of Status in new CRD will also be synchronized - # to legacy CRD automatically. If a legacy CRD is deleted, the corresponding new CRD will be deleted. - # Note that: to decouple a new CRD from the corresponding legacy CRD, the legacy CRD should be - # annotated with "crd.antrea.io/stop-mirror". Afterwards, updates to the legacy CRDs will no - # longer be reflected in the new CRD, and all CRUD operations should be done through the new - # API groups. After adding the annotation, legacy CRDs can be deleted safely without impacting - # new CRDs. - #legacyCRDMirroring: true - - nodeIPAM: - # Enable the integrated Node IPAM controller within the Antrea controller. - # enableNodeIPAM: false - - # CIDR ranges for Pods in cluster. String array containing single CIDR range, or multiple ranges. - # The CIDRs could be either IPv4 or IPv6. At most one CIDR may be specified for each IP family. - # Value ignored when enableNodeIPAM is false. - # clusterCIDRs: [] - - # CIDR ranges for Services in cluster. It is not necessary to specify it when there is no overlap with clusterCIDRs. - # Value ignored when enableNodeIPAM is false. - # serviceCIDR: - # serviceCIDRv6: - - # Mask size for IPv4 Node CIDR in IPv4 or dual-stack cluster. Value ignored when enableNodeIPAM is false - # or when IPv4 Pod CIDR is not configured. Valid range is 16 to 30. - # nodeCIDRMaskSizeIPv4: 24 - - # Mask size for IPv6 Node CIDR in IPv6 or dual-stack cluster. Value ignored when enableNodeIPAM is false - # or when IPv6 Pod CIDR is not configured. Valid range is 64 to 126. - # nodeCIDRMaskSizeIPv6: 64 -kind: ConfigMap -metadata: - annotations: {} - labels: - app: antrea - name: antrea-config-2k82d6f6t4 - namespace: kube-system ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app: antrea - name: antrea - namespace: kube-system -spec: - ports: - - port: 443 - protocol: TCP - targetPort: api - selector: - app: antrea - component: antrea-controller ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: antrea - component: antrea-controller - name: antrea-controller - namespace: kube-system -spec: - replicas: 1 - selector: - matchLabels: - app: antrea - component: antrea-controller - strategy: - type: Recreate - template: - metadata: - labels: - app: antrea - component: antrea-controller - spec: - containers: - - args: - - --config - - /etc/antrea/antrea-controller.conf - - --logtostderr=false - - --log_dir=/var/log/antrea - - --alsologtostderr - - --log_file_max_size=100 - - --log_file_max_num=4 - - --v=0 - command: - - antrea-controller - env: - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: SERVICEACCOUNT_NAME - valueFrom: - fieldRef: - fieldPath: spec.serviceAccountName - - name: ANTREA_CONFIG_MAP_NAME - value: antrea-config-2k82d6f6t4 - image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 - livenessProbe: - failureThreshold: 5 - httpGet: - host: localhost - path: /livez - port: api - scheme: HTTPS - periodSeconds: 10 - timeoutSeconds: 5 - name: antrea-controller - ports: - - containerPort: 10349 - name: api - protocol: TCP - readinessProbe: - failureThreshold: 5 - httpGet: - host: localhost - path: /readyz - port: api - scheme: HTTPS - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - resources: - requests: - cpu: 200m - volumeMounts: - - mountPath: /etc/antrea/antrea-controller.conf - name: antrea-config - readOnly: true - subPath: antrea-controller.conf - - mountPath: /var/run/antrea/antrea-controller-tls - name: antrea-controller-tls - - mountPath: /var/log/antrea - name: host-var-log-antrea - hostNetwork: true - nodeSelector: - kubernetes.io/os: linux - priorityClassName: system-cluster-critical - serviceAccountName: antrea-controller - tolerations: - - key: CriticalAddonsOnly - operator: Exists - - effect: NoSchedule - key: node-role.kubernetes.io/master - - effect: NoSchedule - key: node-role.kubernetes.io/control-plane - volumes: - - configMap: - name: antrea-config-2k82d6f6t4 - name: antrea-config - - name: antrea-controller-tls - secret: - defaultMode: 256 - optional: true - secretName: antrea-controller-tls - - hostPath: - path: /var/log/antrea - type: DirectoryOrCreate - name: host-var-log-antrea ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1alpha1.stats.antrea.io -spec: - group: stats.antrea.io - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1alpha1 - versionPriority: 100 ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1alpha1.stats.antrea.tanzu.vmware.com -spec: - group: stats.antrea.tanzu.vmware.com - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1alpha1 - versionPriority: 100 ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1beta1.system.antrea.io -spec: - group: system.antrea.io - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1beta1 - versionPriority: 100 ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1beta1.system.antrea.tanzu.vmware.com -spec: - group: system.antrea.tanzu.vmware.com - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1beta1 - versionPriority: 100 ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1beta2.controlplane.antrea.io -spec: - group: controlplane.antrea.io - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1beta2 - versionPriority: 100 ---- -apiVersion: apiregistration.k8s.io/v1 -kind: APIService -metadata: - labels: - app: antrea - name: v1beta2.controlplane.antrea.tanzu.vmware.com -spec: - group: controlplane.antrea.tanzu.vmware.com - groupPriorityMinimum: 100 - service: - name: antrea - namespace: kube-system - version: v1beta2 - versionPriority: 100 ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - labels: - app: antrea - component: antrea-agent - name: antrea-agent - namespace: kube-system -spec: - selector: - matchLabels: - app: antrea - component: antrea-agent - template: - metadata: - annotations: - kubectl.kubernetes.io/default-container: antrea-agent - labels: - app: antrea - component: antrea-agent - spec: - containers: - - args: - - --config - - /etc/antrea/antrea-agent.conf - - --logtostderr=false - - --log_dir=/var/log/antrea - - --alsologtostderr - - --log_file_max_size=100 - - --log_file_max_num=4 - - --v=0 - command: - - antrea-agent - env: - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 - livenessProbe: - exec: - command: - - /bin/sh - - -c - - container_liveness_probe agent - failureThreshold: 5 - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - name: antrea-agent - ports: - - containerPort: 10350 - name: api - protocol: TCP - readinessProbe: - failureThreshold: 8 - httpGet: - host: localhost - path: /readyz - port: api - scheme: HTTPS - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - resources: - requests: - cpu: 200m - securityContext: - privileged: true - volumeMounts: - - mountPath: /etc/antrea/antrea-agent.conf - name: antrea-config - readOnly: true - subPath: antrea-agent.conf - - mountPath: /var/run/antrea - name: host-var-run-antrea - - mountPath: /var/run/openvswitch - name: host-var-run-antrea - subPath: openvswitch - - mountPath: /var/lib/cni - name: host-var-run-antrea - subPath: cni - - mountPath: /var/log/antrea - name: host-var-log-antrea - - mountPath: /host/proc - name: host-proc - readOnly: true - - mountPath: /host/var/run/netns - mountPropagation: HostToContainer - name: host-var-run-netns - readOnly: true - - mountPath: /run/xtables.lock - name: xtables-lock - - args: - - --log_file_max_size=100 - - --log_file_max_num=4 - command: - - start_ovs - image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 - livenessProbe: - exec: - command: - - /bin/sh - - -c - - timeout 10 container_liveness_probe ovs - failureThreshold: 5 - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 10 - name: antrea-ovs - resources: - requests: - cpu: 200m - securityContext: - capabilities: - add: - - SYS_NICE - - NET_ADMIN - - SYS_ADMIN - - IPC_LOCK - volumeMounts: - - mountPath: /var/run/openvswitch - name: host-var-run-antrea - subPath: openvswitch - - mountPath: /var/log/openvswitch - name: host-var-log-antrea - subPath: openvswitch - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - initContainers: - - command: - - install_cni - image: projects.registry.vmware.com/antrea/antrea-ubuntu:v1.5.3 - name: install-cni - resources: - requests: - cpu: 100m - securityContext: - capabilities: - add: - - SYS_MODULE - volumeMounts: - - mountPath: /etc/antrea/antrea-cni.conflist - name: antrea-config - readOnly: true - subPath: antrea-cni.conflist - - mountPath: /host/etc/cni/net.d - name: host-cni-conf - - mountPath: /host/opt/cni/bin - name: host-cni-bin - - mountPath: /lib/modules - name: host-lib-modules - readOnly: true - - mountPath: /var/run/antrea - name: host-var-run-antrea - nodeSelector: - kubernetes.io/os: linux - priorityClassName: system-node-critical - serviceAccountName: antrea-agent - tolerations: - - key: CriticalAddonsOnly - operator: Exists - - effect: NoSchedule - operator: Exists - - effect: NoExecute - operator: Exists - volumes: - - configMap: - name: antrea-config-2k82d6f6t4 - name: antrea-config - - hostPath: - path: /etc/cni/net.d - name: host-cni-conf - - hostPath: - path: /opt/cni/bin - name: host-cni-bin - - hostPath: - path: /proc - name: host-proc - - hostPath: - path: /var/run/netns - name: host-var-run-netns - - hostPath: - path: /var/run/antrea - type: DirectoryOrCreate - name: host-var-run-antrea - - hostPath: - path: /var/log/antrea - type: DirectoryOrCreate - name: host-var-log-antrea - - hostPath: - path: /lib/modules - name: host-lib-modules - - hostPath: - path: /run/xtables.lock - type: FileOrCreate - name: xtables-lock - updateStrategy: - type: RollingUpdate ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: MutatingWebhookConfiguration -metadata: - labels: - app: antrea - name: crdmutator.antrea.io -webhooks: -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /mutate/acnp - name: acnpmutator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - clusternetworkpolicies - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /mutate/anp - name: anpmutator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - networkpolicies - scope: Namespaced - sideEffects: None - timeoutSeconds: 5 ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: MutatingWebhookConfiguration -metadata: - labels: - app: antrea - name: crdmutator.antrea.tanzu.vmware.com -webhooks: -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /mutate/acnp - name: acnpmutator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - security.antrea.tanzu.vmware.com - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - clusternetworkpolicies - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /mutate/anp - name: anpmutator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - security.antrea.tanzu.vmware.com - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - networkpolicies - scope: Namespaced - sideEffects: None - timeoutSeconds: 5 ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - labels: - app: antrea - name: crdvalidator.antrea.io -webhooks: -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/tier - name: tiervalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - - DELETE - resources: - - tiers - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/acnp - name: acnpvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - clusternetworkpolicies - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/anp - name: anpvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - networkpolicies - scope: Namespaced - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/clustergroup - name: clustergroupvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha3 - - v1alpha2 - operations: - - CREATE - - UPDATE - resources: - - clustergroups - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/externalippool - name: externalippoolvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha2 - operations: - - UPDATE - resources: - - externalippools - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/egress - name: egressvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha2 - operations: - - CREATE - - UPDATE - resources: - - egresses - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/ippool - name: ippoolvalidator.antrea.io - rules: - - apiGroups: - - crd.antrea.io - apiVersions: - - v1alpha2 - operations: - - UPDATE - - DELETE - resources: - - ippools - scope: Cluster - sideEffects: None - timeoutSeconds: 5 ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - labels: - app: antrea - name: crdvalidator.antrea.tanzu.vmware.com -webhooks: -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/tier - name: tiervalidator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - security.antrea.tanzu.vmware.com - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - - DELETE - resources: - - tiers - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/acnp - name: acnpvalidator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - security.antrea.tanzu.vmware.com - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - clusternetworkpolicies - scope: Cluster - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/anp - name: anpvalidator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - security.antrea.tanzu.vmware.com - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - networkpolicies - scope: Namespaced - sideEffects: None - timeoutSeconds: 5 -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: antrea - namespace: kube-system - path: /validate/clustergroup - name: clustergroupvalidator.antrea.tanzu.vmware.com - rules: - - apiGroups: - - core.antrea.tanzu.vmware.com - apiVersions: - - v1alpha2 - operations: - - CREATE - - UPDATE - - DELETE - resources: - - clustergroups - scope: Cluster - sideEffects: None - timeoutSeconds: 5 diff --git a/test/integration/testdata/kube-flannel.yaml b/test/integration/testdata/kube-flannel.yaml new file mode 100644 index 0000000000..e5b98de1ff --- /dev/null +++ b/test/integration/testdata/kube-flannel.yaml @@ -0,0 +1,248 @@ +--- +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + name: psp.flannel.unprivileged + annotations: + seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default + seccomp.security.alpha.kubernetes.io/defaultProfileName: docker/default + apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default + apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default +spec: + privileged: false + volumes: + - configMap + - secret + - emptyDir + - hostPath + allowedHostPaths: + - pathPrefix: "/etc/cni/net.d" + - pathPrefix: "/etc/kube-flannel" + - pathPrefix: "/run/flannel" + readOnlyRootFilesystem: false + # Users and groups + runAsUser: + rule: RunAsAny + supplementalGroups: + rule: RunAsAny + fsGroup: + rule: RunAsAny + # Privilege Escalation + allowPrivilegeEscalation: false + defaultAllowPrivilegeEscalation: false + # Capabilities + allowedCapabilities: ['NET_ADMIN', 'NET_RAW'] + defaultAddCapabilities: [] + requiredDropCapabilities: [] + # Host namespaces + hostPID: false + hostIPC: false + hostNetwork: true + hostPorts: + - min: 0 + max: 65535 + # SELinux + seLinux: + # SELinux is unused in CaaSP + rule: 'RunAsAny' +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: flannel +rules: +- apiGroups: ['extensions'] + resources: ['podsecuritypolicies'] + verbs: ['use'] + resourceNames: ['psp.flannel.unprivileged'] +- apiGroups: + - "" + resources: + - pods + verbs: + - get +- apiGroups: + - "" + resources: + - nodes + verbs: + - list + - watch +- apiGroups: + - "" + resources: + - nodes/status + verbs: + - patch +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: flannel +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: flannel +subjects: +- kind: ServiceAccount + name: flannel + namespace: kube-system +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: flannel + namespace: kube-system +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: kube-flannel-cfg + namespace: kube-system + labels: + tier: node + app: flannel +data: + cni-conf.json: | + { + "name": "cbr0", + "cniVersion": "0.3.1", + "plugins": [ + { + "type": "flannel", + "delegate": { + "hairpinMode": true, + "isDefaultGateway": true + } + }, + { + "type": "portmap", + "capabilities": { + "portMappings": true + } + } + ] + } + net-conf.json: | + { + "Network": "10.244.0.0/16", + "Backend": { + "Type": "vxlan" + } + } +--- +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: kube-flannel-ds + namespace: kube-system + labels: + tier: node + app: flannel +spec: + selector: + matchLabels: + app: flannel + template: + metadata: + labels: + tier: node + app: flannel + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/os + operator: In + values: + - linux + hostNetwork: true + priorityClassName: system-node-critical + tolerations: + - operator: Exists + effect: NoSchedule + serviceAccountName: flannel + initContainers: + - name: install-cni-plugin + #image: flannelcni/flannel-cni-plugin:v1.0.1 for ppc64le and mips64le (dockerhub limitations may apply) + image: rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.1 + command: + - cp + args: + - -f + - /flannel + - /opt/cni/bin/flannel + volumeMounts: + - name: cni-plugin + mountPath: /opt/cni/bin + - name: install-cni + #image: flannelcni/flannel:v0.17.0 for ppc64le and mips64le (dockerhub limitations may apply) + image: rancher/mirrored-flannelcni-flannel:v0.17.0 + command: + - cp + args: + - -f + - /etc/kube-flannel/cni-conf.json + - /etc/cni/net.d/10-flannel.conflist + volumeMounts: + - name: cni + mountPath: /etc/cni/net.d + - name: flannel-cfg + mountPath: /etc/kube-flannel/ + containers: + - name: kube-flannel + #image: flannelcni/flannel:v0.17.0 for ppc64le and mips64le (dockerhub limitations may apply) + image: rancher/mirrored-flannelcni-flannel:v0.17.0 + command: + - /opt/bin/flanneld + args: + - --ip-masq + - --kube-subnet-mgr + resources: + requests: + cpu: "100m" + memory: "50Mi" + limits: + cpu: "100m" + memory: "50Mi" + securityContext: + privileged: false + capabilities: + add: ["NET_ADMIN", "NET_RAW"] + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: EVENT_QUEUE_DEPTH + value: "5000" + volumeMounts: + - name: run + mountPath: /run/flannel + - name: flannel-cfg + mountPath: /etc/kube-flannel/ + - name: xtables-lock + mountPath: /run/xtables.lock + volumes: + - name: run + hostPath: + path: /run/flannel + - name: cni-plugin + hostPath: + path: /opt/cni/bin + - name: cni + hostPath: + path: /etc/cni/net.d + - name: flannel-cfg + configMap: + name: kube-flannel-cfg + - name: xtables-lock + hostPath: + path: /run/xtables.lock + type: FileOrCreate From b9c90e9d8245d97a352cda4ac27b6daff05725e2 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 25 May 2022 18:16:42 -0700 Subject: [PATCH 44/72] kicbase: don't build cri-dockerd from source --- deploy/kicbase/Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index be572bc5f3..56ff88ee11 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -33,12 +33,6 @@ ARG TARGETARCH ENV GOARCH=${TARGETARCH} RUN cd ./cmd/auto-pause/ && go build -# cri-dockerd static -FROM golang:1.16 as cri-dockerd -RUN git clone -n https://github.com/Mirantis/cri-dockerd && \ - cd cri-dockerd && git checkout a4d1895a2659ea9974bd7528a706592ab8b74181 && \ - cd src && env CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=a4d1895' -o cri-dockerd - # start from ubuntu 20.04, this image is reasonably small as a starting point # for a kubernetes node image, it doesn't contain much we don't need FROM ubuntu:focal-20220316 as kicbase @@ -47,6 +41,8 @@ ARG BUILDKIT_VERSION="v0.10.3" ARG FUSE_OVERLAYFS_VERSION="v1.7.1" ARG CONTAINERD_FUSE_OVERLAYFS_VERSION="1.0.3" ARG CRIO_VERSION="1.22" +ARG CRI_DOCKERD_VERSION="a4d1895a2659ea9974bd7528a706592ab8b74181" +ARG TARGETARCH # copy in static files (configs, scripts) COPY deploy/kicbase/10-network-security.conf /etc/sysctl.d/10-network-security.conf @@ -55,9 +51,7 @@ COPY deploy/kicbase/02-crio.conf /etc/crio/crio.conf.d/02-crio.conf COPY deploy/kicbase/clean-install /usr/local/bin/clean-install COPY deploy/kicbase/entrypoint /usr/local/bin/entrypoint COPY --from=auto-pause /src/cmd/auto-pause/auto-pause /bin/auto-pause -COPY --from=cri-dockerd /go/cri-dockerd/src/cri-dockerd /usr/bin/cri-dockerd -COPY --from=cri-dockerd /go/cri-dockerd/packaging/systemd/cri-docker.service /usr/lib/systemd/system/cri-docker.service -COPY --from=cri-dockerd /go/cri-dockerd/packaging/systemd/cri-docker.socket /usr/lib/systemd/system/cri-docker.socket + # Install dependencies, first from apt, then from release tarballs. # NOTE: we use one RUN to minimize layers. @@ -126,6 +120,12 @@ ARG COMMIT_SHA # could be changed to any debian that can run systemd USER root +# Install cri-dockerd from pre-compiled binaries stored in GCS, this is way faster than building from source in multi-arch +RUN echo "Installing cri-dockerd" && \ + curl -L "https://storage.googleapis.com/kicbase-artifacts/cri-dockerd/${CRI_DOCKERD_VERSION}/${TARGETARCH}/cri-dockerd" -o /usr/bin/cri-dockerd && \ + curl -L "https://storage.googleapis.com/kicbase-artifacts/cri-dockerd/${CRI_DOCKERD_VERSION}/cri-docker.socket" -o /usr/lib/systemd/system/cri-docker.socket && \ + curl -L "https://storage.googleapis.com/kicbase-artifacts/cri-dockerd/${CRI_DOCKERD_VERSION}/cri-docker.service" -o /usr/lib/systemd/system/cri-docker.service + # install system requirements from the regular distro repositories RUN clean-install \ lz4 \ From e4ca9c6c5020c8f9c976d4d95f58957a2317d3c1 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 25 May 2022 18:38:15 -0700 Subject: [PATCH 45/72] revert unrelated change --- .../addons/metrics-server/metrics-server-deployment.yaml.tmpl | 4 ++-- deploy/kicbase/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl b/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl index 9e1d621b96..e8ed7029e4 100644 --- a/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl +++ b/deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl @@ -47,14 +47,14 @@ spec: protocol: TCP readinessProbe: httpGet: - path: /readyz + path: /readyz?exclude=livez port: https scheme: HTTPS periodSeconds: 10 failureThreshold: 3 livenessProbe: httpGet: - path: /livez + path: /livez?exclude=readyz port: https scheme: HTTPS periodSeconds: 10 diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 56ff88ee11..f1fea1d304 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -170,7 +170,7 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && \ curl -LO https://downloadcontent.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \ apt-key add - < Release.key && \ if [ "$ARCH" != "ppc64le" ]; then \ - clean-install containers-common conmon containernetworking-plugins cri-tools crun podman podman-plugins catatonit; \ + clean-install containers-common conmon containernetworking-plugins cri-tools crun podman-plugins catatonit; \ else \ clean-install containers-common conmon containernetworking-plugins crun; \ fi From 600cc3009661c3d1761cfec5d095b40d66adb658 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Thu, 26 May 2022 13:11:20 -0700 Subject: [PATCH 46/72] add automation for uploading cri-dockerd binaries --- Makefile | 5 ++ hack/update/cri_dockerd/update_cri_dockerd.sh | 49 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100755 hack/update/cri_dockerd/update_cri_dockerd.sh diff --git a/Makefile b/Makefile index 18d2db14cd..951b274319 100644 --- a/Makefile +++ b/Makefile @@ -702,6 +702,11 @@ KICBASE_IMAGE_GCR ?= $(REGISTRY)/kicbase:$(KIC_VERSION) KICBASE_IMAGE_HUB ?= kicbase/stable:$(KIC_VERSION) KICBASE_IMAGE_REGISTRIES ?= $(KICBASE_IMAGE_GCR) $(KICBASE_IMAGE_HUB) +CRI_DOCKERD_VERSION ?= $(shell egrep "CRI_DOCKERD_VERSION=" deploy/kicbase/Dockerfile | cut -d \" -f2) +.PHONY: update-cri-dockerd +update-cri-dockerd: + hack/update/cri_dockerd/update_cri_dockerd.sh $(CRI_DOCKERD_VERSION) $(KICBASE_ARCH) + .PHONY: local-kicbase local-kicbase: ## Builds the kicbase image and tags it local/kicbase:latest and local/kicbase:$(KIC_VERSION)-$(COMMIT_SHORT) docker build -f ./deploy/kicbase/Dockerfile -t local/kicbase:$(KIC_VERSION) --build-arg COMMIT_SHA=${VERSION}-$(COMMIT) --cache-from $(KICBASE_IMAGE_GCR) . diff --git a/hack/update/cri_dockerd/update_cri_dockerd.sh b/hack/update/cri_dockerd/update_cri_dockerd.sh new file mode 100755 index 0000000000..05a7c8903a --- /dev/null +++ b/hack/update/cri_dockerd/update_cri_dockerd.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +# Copyright 2022 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eux -o pipefail + +if [ "$#" -ne 2 ]; then + echo "Usage: update_cri_dockerd.sh " >&2 + exit 1 +fi + +readonly version=$1 +archlist=$2 + +IFS=, read -a archarray <<< "$archlist" + +tmpdir=$(mktemp -d) +pushd $tmpdir +git clone -n https://github.com/Mirantis/cri-dockerd +cd cri-dockerd +git checkout $version +cd src + +for (( i=0; i < ${#archarray[*]}; i++ )) +do + arch=${archarray[i]#"linux/"} + env GOOS=linux GOARCH=$arch CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=a4d1895' -o cri-dockerd-$arch + gsutil cp cri-dockerd-$arch gs://kicbase-artifacts/cri-dockerd/$version/$arch/cri-dockerd + +done + +cd .. +gsutil cp ./packaging/systemd/cri-docker.service gs://kicbase-artifacts/cri-dockerd/$version/cri-docker.service +gsutil cp ./packaging/systemd/cri-docker.socket gs://kicbase-artifacts/cri-dockerd/$version/cri-docker.socket + +popd +rm -rf $tmpdir From 315aef0f15f6198badd27abb8de8bd371129302d Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Thu, 26 May 2022 13:12:36 -0700 Subject: [PATCH 47/72] revert unnecessary change --- deploy/kicbase/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index f1fea1d304..979b9df48e 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -170,9 +170,9 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && \ curl -LO https://downloadcontent.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \ apt-key add - < Release.key && \ if [ "$ARCH" != "ppc64le" ]; then \ - clean-install containers-common conmon containernetworking-plugins cri-tools crun podman-plugins catatonit; \ + clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins crun; \ else \ - clean-install containers-common conmon containernetworking-plugins crun; \ + clean-install containers-common conmon containernetworking-plugins crun; \ fi # install cri-o based on https://github.com/cri-o/cri-o/blob/release-1.22/README.md#installing-cri-o From e92ad5f7f90d0e7f5ddb6ff6d4276e72dab60079 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Thu, 26 May 2022 13:16:58 -0700 Subject: [PATCH 48/72] write proper git commit to go build --- hack/update/cri_dockerd/update_cri_dockerd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update/cri_dockerd/update_cri_dockerd.sh b/hack/update/cri_dockerd/update_cri_dockerd.sh index 05a7c8903a..f6ea8e841d 100755 --- a/hack/update/cri_dockerd/update_cri_dockerd.sh +++ b/hack/update/cri_dockerd/update_cri_dockerd.sh @@ -36,7 +36,7 @@ cd src for (( i=0; i < ${#archarray[*]}; i++ )) do arch=${archarray[i]#"linux/"} - env GOOS=linux GOARCH=$arch CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=a4d1895' -o cri-dockerd-$arch + env GOOS=linux GOARCH=$arch CGO_ENABLED=0 go build -ldflags "-X github.com/Mirantis/cri-dockerd/version.GitCommit=${version:0:7}" -o cri-dockerd-$arch gsutil cp cri-dockerd-$arch gs://kicbase-artifacts/cri-dockerd/$version/$arch/cri-dockerd done From e15f3bca50d38a42000644f8fd3a9f5380f82def Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Thu, 26 May 2022 13:22:47 -0700 Subject: [PATCH 49/72] spaces --- deploy/kicbase/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 979b9df48e..735b8f4827 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -170,9 +170,9 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && \ curl -LO https://downloadcontent.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \ apt-key add - < Release.key && \ if [ "$ARCH" != "ppc64le" ]; then \ - clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins crun; \ + clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins crun; \ else \ - clean-install containers-common conmon containernetworking-plugins crun; \ + clean-install containers-common conmon containernetworking-plugins crun; \ fi # install cri-o based on https://github.com/cri-o/cri-o/blob/release-1.22/README.md#installing-cri-o From 6825e02378e0cd566c49d6fef3f2aaf87c2e29f8 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Thu, 26 May 2022 21:35:45 +0000 Subject: [PATCH 50/72] Updating kicbase image to v0.0.31-1653596720-14230 --- pkg/drivers/kic/types.go | 8 ++++---- site/content/en/docs/commands/start.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/drivers/kic/types.go b/pkg/drivers/kic/types.go index dad8c54d6e..2de298b003 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.31" + Version = "v0.0.31-1653596720-14230" // SHA of the kic base image - baseImageSHA = "c3375f1b260bd936aa532a0c749626e07d94ab129a7f2395e95345aa04ca708c" + baseImageSHA = "e953786303ac8350802546ee187d34e89f0007072a54fdbcc2f86a1fb8575418" // The name of the GCR kicbase repository - gcrRepo = "gcr.io/k8s-minikube/kicbase" + gcrRepo = "gcr.io/k8s-minikube/kicbase-builds" // The name of the Dockerhub kicbase repository - dockerhubRepo = "docker.io/kicbase/stable" + dockerhubRepo = "docker.io/kicbase/build" ) var ( diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index c4076fc4f9..63d0b09524 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:v0.0.31@sha256:c3375f1b260bd936aa532a0c749626e07d94ab129a7f2395e95345aa04ca708c") + --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.31-1653596720-14230@sha256:e953786303ac8350802546ee187d34e89f0007072a54fdbcc2f86a1fb8575418") --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) From e57dff657b44744883dcaf6f0823613b188c004e Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 26 May 2022 16:07:40 -0700 Subject: [PATCH 51/72] skip TestSkaffold on Hyper-V --- test/integration/skaffold_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/skaffold_test.go b/test/integration/skaffold_test.go index 52223ac5d5..e9ea6d38b3 100644 --- a/test/integration/skaffold_test.go +++ b/test/integration/skaffold_test.go @@ -38,6 +38,9 @@ func TestSkaffold(t *testing.T) { if NoneDriver() { t.Skip("none driver doesn't support `minikube docker-env`; skaffold depends on this command") } + if HyperVDriver() { + t.Skip("skipping due to https://github.com/kubernetes/minikube/issues/14232") + } if cr := ContainerRuntime(); cr != "docker" { t.Skipf("skaffold requires docker-env, currently testing %s container runtime", cr) } From cbb189558a8637cc5645225aa2875e5bfa6d90f0 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 26 May 2022 16:19:26 -0700 Subject: [PATCH 52/72] skip for all of Windows --- test/integration/skaffold_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/skaffold_test.go b/test/integration/skaffold_test.go index e9ea6d38b3..78351f8b29 100644 --- a/test/integration/skaffold_test.go +++ b/test/integration/skaffold_test.go @@ -35,12 +35,12 @@ import ( // TestSkaffold makes sure skaffold run can be run with minikube func TestSkaffold(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("skipping due to https://github.com/kubernetes/minikube/issues/14232") + } if NoneDriver() { t.Skip("none driver doesn't support `minikube docker-env`; skaffold depends on this command") } - if HyperVDriver() { - t.Skip("skipping due to https://github.com/kubernetes/minikube/issues/14232") - } if cr := ContainerRuntime(); cr != "docker" { t.Skipf("skaffold requires docker-env, currently testing %s container runtime", cr) } From 8d1e01e38aceef402f9dbd9fde01425e861dc1dd Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 27 May 2022 11:12:21 -0700 Subject: [PATCH 53/72] fix crontab on Mac machines --- hack/jenkins/installers/check_install_osx_crons.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/installers/check_install_osx_crons.sh b/hack/jenkins/installers/check_install_osx_crons.sh index 2b6877f0a7..1ed194cd90 100755 --- a/hack/jenkins/installers/check_install_osx_crons.sh +++ b/hack/jenkins/installers/check_install_osx_crons.sh @@ -18,6 +18,7 @@ set -e mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES" install cron/cleanup_and_reboot_Darwin.sh $HOME/cleanup_and_reboot.sh || echo "FAILED TO INSTALL CLEANUP AND REBOOT" +echo "*/30 * * * * $HOME/cleanup_and_reboot.sh" | crontab install cron/cleanup_go_modules.sh $HOME/cleanup_go_modules.sh || echo "FAILED TO INSTALL GO MODULES CLEANUP" -echo "*/30 * * * * $HOME/cleanup_and_reboot.sh\n0 0 1 * * $HOME/cleanup_go_modules.sh" | crontab +(crontab -l ; echo "0 0 1 * * $HOME/cleanup_go_modules.sh")| crontab - crontab -l From ead3e5906435b3a043a4f100cd227a23ea23b345 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 27 May 2022 11:42:13 -0700 Subject: [PATCH 54/72] fix opening window during command running --- gui/commandrunner.cpp | 10 +++++++++- gui/commandrunner.h | 2 ++ gui/errormessage.cpp | 3 ++- gui/errormessage.h | 3 ++- gui/operator.cpp | 13 ++++++++++--- gui/operator.h | 4 +++- gui/tray.cpp | 6 +++--- gui/updater.cpp | 8 ++++---- gui/window.cpp | 3 ++- 9 files changed, 37 insertions(+), 15 deletions(-) diff --git a/gui/commandrunner.cpp b/gui/commandrunner.cpp index 3c460971b0..53f6ec9d2d 100644 --- a/gui/commandrunner.cpp +++ b/gui/commandrunner.cpp @@ -18,11 +18,13 @@ CommandRunner::CommandRunner(QDialog *parent) void CommandRunner::executeMinikubeCommand(QStringList args) { + m_isRunning = true; m_output = ""; QStringList userArgs = { "--user", "minikube-gui" }; args << userArgs; m_process = new QProcess(m_parent); - connect(m_process, QOverload::of(&QProcess::finished), this, &CommandRunner::executionCompleted); + connect(m_process, QOverload::of(&QProcess::finished), this, + &CommandRunner::executionCompleted); connect(m_process, &QProcess::readyReadStandardError, this, &CommandRunner::errorReady); connect(m_process, &QProcess::readyReadStandardOutput, this, &CommandRunner::outputReady); m_process->setProcessEnvironment(m_env); @@ -163,6 +165,7 @@ void CommandRunner::requestClusters() void CommandRunner::executionCompleted() { + m_isRunning = false; QString cmd = m_command; m_command = ""; QString output = m_output; @@ -212,3 +215,8 @@ void CommandRunner::minikubePath() QStringList path = { "/usr/local/bin" }; m_minikubePath = QStandardPaths::findExecutable("minikube", path); } + +bool CommandRunner::isRunning() +{ + return m_isRunning; +} diff --git a/gui/commandrunner.h b/gui/commandrunner.h index ddf8cfbaca..2d836d9f32 100644 --- a/gui/commandrunner.h +++ b/gui/commandrunner.h @@ -25,6 +25,7 @@ public: void deleteMinikube(QStringList args); void stopCommand(); void requestClusters(); + bool isRunning(); signals: void startingExecution(); @@ -53,6 +54,7 @@ private: QString m_command; QDialog *m_parent; QStringList m_args; + bool m_isRunning; }; #endif // COMMANDRUNNER_H diff --git a/gui/errormessage.cpp b/gui/errormessage.cpp index 375eb77eee..d4222092f1 100644 --- a/gui/errormessage.cpp +++ b/gui/errormessage.cpp @@ -13,7 +13,8 @@ ErrorMessage::ErrorMessage(QDialog *parent, QIcon icon) m_icon = icon; } -void ErrorMessage::error(QString errorCode, QString advice, QString message, QString url, QString issues) +void ErrorMessage::error(QString errorCode, QString advice, QString message, QString url, + QString issues) { m_dialog = new QDialog(m_parent); diff --git a/gui/errormessage.h b/gui/errormessage.h index dfab8e1db6..0ab015383c 100644 --- a/gui/errormessage.h +++ b/gui/errormessage.h @@ -14,7 +14,8 @@ class ErrorMessage : public QObject public: explicit ErrorMessage(QDialog *parent, QIcon icon); - void error(QString errorCode, QString advice, QString errorMessage, QString url, QString issues); + void error(QString errorCode, QString advice, QString errorMessage, QString url, + QString issues); QLabel *createLabel(QString title, QString text, QFormLayout *form, bool isLink); private: diff --git a/gui/operator.cpp b/gui/operator.cpp index 61b7b4918e..336573fae3 100644 --- a/gui/operator.cpp +++ b/gui/operator.cpp @@ -5,7 +5,10 @@ #include #include -Operator::Operator(AdvancedView *advancedView, BasicView *basicView, CommandRunner *commandRunner, ErrorMessage *errorMessage, ProgressWindow *progressWindow, Tray *tray, HyperKit *hyperKit, Updater *updater, QStackedWidget *stackedWidget, QDialog *parent) +Operator::Operator(AdvancedView *advancedView, BasicView *basicView, CommandRunner *commandRunner, + ErrorMessage *errorMessage, ProgressWindow *progressWindow, Tray *tray, + HyperKit *hyperKit, Updater *updater, QStackedWidget *stackedWidget, + QDialog *parent) { m_advancedView = advancedView; m_basicView = basicView; @@ -37,14 +40,16 @@ Operator::Operator(AdvancedView *advancedView, BasicView *basicView, CommandRunn connect(m_advancedView, &AdvancedView::dashboard, this, &Operator::dashboardBrowser); connect(m_advancedView, &AdvancedView::basic, this, &Operator::toBasicView); connect(m_advancedView, &AdvancedView::createCluster, this, &Operator::createCluster); - connect(m_advancedView->clusterListView, SIGNAL(clicked(QModelIndex)), this, SLOT(updateButtons())); + connect(m_advancedView->clusterListView, SIGNAL(clicked(QModelIndex)), this, + SLOT(updateButtons())); connect(m_commandRunner, &CommandRunner::startingExecution, this, &Operator::commandStarting); connect(m_commandRunner, &CommandRunner::executionEnded, this, &Operator::commandEnding); connect(m_commandRunner, &CommandRunner::output, this, &Operator::commandOutput); connect(m_commandRunner, &CommandRunner::error, this, &Operator::commandError); connect(m_commandRunner, &CommandRunner::updatedClusters, this, &Operator::clustersReceived); - connect(m_commandRunner, &CommandRunner::startCommandStarting, this, &Operator::startCommandStarting); + connect(m_commandRunner, &CommandRunner::startCommandStarting, this, + &Operator::startCommandStarting); connect(m_progressWindow, &ProgressWindow::cancelled, this, &Operator::cancelCommand); @@ -185,6 +190,8 @@ void Operator::restoreWindow() if (wasVisible) { return; } + if (m_commandRunner->isRunning()) + return; updateClusters(); } diff --git a/gui/operator.h b/gui/operator.h index eb1490c423..69239911b2 100644 --- a/gui/operator.h +++ b/gui/operator.h @@ -18,7 +18,9 @@ class Operator : public QObject Q_OBJECT public: - Operator(AdvancedView *advancedView, BasicView *basicView, CommandRunner *commandRunner, ErrorMessage *errorMessage, ProgressWindow *progressWindow, Tray *tray, HyperKit *hyperKit, Updater *updater, QStackedWidget *stackedWidget, QDialog *parent); + Operator(AdvancedView *advancedView, BasicView *basicView, CommandRunner *commandRunner, + ErrorMessage *errorMessage, ProgressWindow *progressWindow, Tray *tray, + HyperKit *hyperKit, Updater *updater, QStackedWidget *stackedWidget, QDialog *parent); public slots: void startMinikube(); diff --git a/gui/tray.cpp b/gui/tray.cpp index 30717fe562..d8c3e3d914 100644 --- a/gui/tray.cpp +++ b/gui/tray.cpp @@ -1,8 +1,8 @@ #include "tray.h" -#include -#include -#include +#include +#include +#include Tray::Tray(QIcon icon) { diff --git a/gui/updater.cpp b/gui/updater.cpp index ea18e2b279..e39a1d5278 100644 --- a/gui/updater.cpp +++ b/gui/updater.cpp @@ -13,7 +13,6 @@ #include #include - Updater::Updater(QVersionNumber version, QIcon icon) { m_version = version; @@ -22,7 +21,8 @@ Updater::Updater(QVersionNumber version, QIcon icon) static bool checkedForUpdateRecently() { - QString filePath = QStandardPaths::locate(QStandardPaths::HomeLocation, "/.minikube-gui/last_update_check"); + QString filePath = QStandardPaths::locate(QStandardPaths::HomeLocation, + "/.minikube-gui/last_update_check"); if (filePath == "") { return false; } @@ -32,14 +32,14 @@ static bool checkedForUpdateRecently() } QTextStream in(&file); QString line = in.readLine(); - QDateTime nextCheck = QDateTime::fromString(line).addSecs(60*60*24); + QDateTime nextCheck = QDateTime::fromString(line).addSecs(60 * 60 * 24); QDateTime now = QDateTime::currentDateTime(); return nextCheck > now; } static void logUpdateCheck() { - QDir dir = QDir(QDir::homePath() + "/.minikube-gui"); + QDir dir = QDir(QDir::homePath() + "/.minikube-gui"); if (!dir.exists()) { dir.mkpath("."); } diff --git a/gui/window.cpp b/gui/window.cpp index 4f54c63e44..aada74c8de 100644 --- a/gui/window.cpp +++ b/gui/window.cpp @@ -108,7 +108,8 @@ Window::Window() hyperKit = new HyperKit(*trayIconIcon); updater = new Updater(version, *trayIconIcon); - op = new Operator(advancedView, basicView, commandRunner, errorMessage, progressWindow, tray, hyperKit, updater, stackedWidget, this); + op = new Operator(advancedView, basicView, commandRunner, errorMessage, progressWindow, tray, + hyperKit, updater, stackedWidget, this); stackedWidget->addWidget(basicView->basicView); stackedWidget->addWidget(advancedView->advancedView); From 77c8e7844f049afc4e0d482969ac4a90900decc9 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 27 May 2022 20:01:51 +0000 Subject: [PATCH 55/72] Updating kicbase image to v0.0.31-1653677545-13807 --- pkg/drivers/kic/types.go | 4 ++-- site/content/en/docs/commands/start.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/drivers/kic/types.go b/pkg/drivers/kic/types.go index 2de298b003..0e07e1ba71 100644 --- a/pkg/drivers/kic/types.go +++ b/pkg/drivers/kic/types.go @@ -24,9 +24,9 @@ import ( const ( // Version is the current version of kic - Version = "v0.0.31-1653596720-14230" + Version = "v0.0.31-1653677545-13807" // SHA of the kic base image - baseImageSHA = "e953786303ac8350802546ee187d34e89f0007072a54fdbcc2f86a1fb8575418" + baseImageSHA = "312115a5663b1250effab8ed8ada9435fca80af41962223c98bf66f86b32c52a" // The name of the GCR kicbase repository gcrRepo = "gcr.io/k8s-minikube/kicbase-builds" // The name of the Dockerhub kicbase repository diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 7c75a3dc22..4c137a9b99 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.31-1653596720-14230@sha256:e953786303ac8350802546ee187d34e89f0007072a54fdbcc2f86a1fb8575418") + --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.31-1653677545-13807@sha256:312115a5663b1250effab8ed8ada9435fca80af41962223c98bf66f86b32c52a") --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) From 23f70ec9afd06aa6a3add74ca25b6c78f2679315 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 27 May 2022 20:29:26 +0000 Subject: [PATCH 56/72] Update auto-generated docs and translations --- site/content/en/docs/commands/config.md | 3 ++- translations/de.json | 8 +++++++- translations/es.json | 10 +++++++--- translations/fr.json | 7 +++++++ translations/ja.json | 8 +++++++- translations/ko.json | 10 +++++++--- translations/pl.json | 9 +++++++-- translations/ru.json | 10 +++++++--- translations/strings.txt | 10 +++++++--- translations/zh-CN.json | 10 +++++++--- 10 files changed, 65 insertions(+), 20 deletions(-) diff --git a/site/content/en/docs/commands/config.md b/site/content/en/docs/commands/config.md index 34f572b58b..093722474f 100644 --- a/site/content/en/docs/commands/config.md +++ b/site/content/en/docs/commands/config.md @@ -78,6 +78,7 @@ list displays all valid default settings for PROPERTY_NAME Acceptable fields: * driver + * kubernetes-version ```shell minikube config defaults PROPERTY_NAME [flags] @@ -86,7 +87,7 @@ minikube config defaults PROPERTY_NAME [flags] ### Options ``` - --output string Output format. Accepted values: [json] + -o, --output string Output format. Accepted values: [json, yaml] ``` ### Options inherited from parent commands diff --git a/translations/de.json b/translations/de.json index dc13eb9dd3..8698b8b9f9 100644 --- a/translations/de.json +++ b/translations/de.json @@ -449,6 +449,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "Öffnet das Addon mit Namen ADDON_NAME in Minikube (Beispiel: minikube addons open dashboard). Um eine Liste aller verfügbaren Addons zu erhalten, verwenden Sie: minikube addons list ", "Operations on nodes": "Operationen auf dem Node", "Options: {{.options}}": "Optionen: {{.options}}", + "Output format. Accepted values: [json, yaml]": "", "Output format. Accepted values: [json]": "Ausgabe Format. Akzeptierte Werte: [json]", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "Überschreibe das Image, auch wenn ein Image mit dem gleichen Image:Tag-Namen existiert", @@ -591,7 +592,8 @@ "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "Entschuldigung, {{.driver}} erlaubt es nicht, dass Mounts nach dem Erstellen des Containers geändert werden (vorheriger Mount: '{{.old}}, neuer Mount: '{{.new}}'", "Source {{.path}} can not be empty": "Quelle {{.path}} kann nicht leer sein", "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "Die angegebene Kubernetes Version {{.specified}} ist kleiner als die älteste unterstütze Version: {{.oldest}}", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "Gebe die --kubernetes-version in folgender Form an: v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e Beispiel: 'v1.1.14'", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "Gebe einen alternativen --host-only-cidr Wert an, z.B. 172.16.0.1/24", @@ -909,6 +911,7 @@ "enable failed": "aktivieren fehlgeschlagen", "error creating clientset": "Fehler beim Anlegen des Clientsets", "error creatings 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", "error initializing tracing: {{.Error}}": "Fehler beim Initialisieren des Tracings: {{.Error}}", @@ -931,6 +934,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "Falls Sie ein Profil anlegen möchten, können Sie das mit diesem Befehl: minikube start -p {{.profile_name}}", "initialization failed, will try again: {{.error}}": "Initialisierung fehlgeschlagen, versuche erneut: {{.error}}", "invalid kubernetes version": "Invalide Kubernetes Version", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "Halte den kube-context aktiv, wenn der Cluster gestoppt ist. Default: false", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "kubeadm erkannte einen TCP Port Konflikt mit anderen Prozessen: wahrscheinlich eine andere lokale Kubernetes Installation. Führe lsof -p\u003cport\u003e aus um den Prozess zu finden und zu töten", "kubectl and minikube configuration will be stored in {{.home_folder}}": "Konfiguration von Kubectl und minikube wird in {{.home_folder}} gespeichert", @@ -995,12 +999,14 @@ "usage: minikube addons images ADDON_NAME": "Verwendung: minikube addons images ADDON_NAME", "usage: minikube addons list": "Verwendung: minikube addons list", "usage: minikube addons open ADDON_NAME": "Verwendung: minikube addons open ADDON_NAME", + "usage: minikube config list PROPERTY_NAME": "", "usage: minikube config unset PROPERTY_NAME": "Verwendung: minikube config unset PROPERTY_NAME", "usage: minikube delete": "Verwendung: minikube delete", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "Verwendung: minikube profile [MINIKUBE_PROFILE_NAME]", "using metrics-server addon, heapster is deprecated": "Verwende Metrics-Server Addon, heapster ist veraltet (deprecated)", "version json failure": "version json Fehler", "version yaml failure": "version yaml Fehler", + "yaml encoding failure": "", "zsh completion failed": "zsh completion fehlgeschlagen", "zsh completion.": "", "{{ .name }}: Suggestion: {{ .suggestion}}": "{{ .name }}: Vorschlag: {{ .suggestion}}", diff --git a/translations/es.json b/translations/es.json index 62ac409130..372055a0dd 100644 --- a/translations/es.json +++ b/translations/es.json @@ -458,7 +458,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "", "Options: {{.options}}": "", - "Output format. Accepted values: [json]": "", + "Output format. Accepted values: [json, yaml]": "", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "", "Path to the Dockerfile to use (optional)": "", @@ -597,8 +597,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "La URL proporcionada con la marca --registry-mirror no es válida: {{.url}}", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -911,6 +911,7 @@ "enable failed": "", "error creating clientset": "", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", "error initializing tracing: {{.Error}}": "", @@ -931,6 +932,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "", "kubectl and minikube configuration will be stored in {{.home_folder}}": "La configuración de kubectl y de minikube se almacenará en {{.home_folder}}", @@ -995,12 +997,14 @@ "usage: minikube addons images ADDON_NAME": "", "usage: minikube addons list": "", "usage: minikube addons open ADDON_NAME": "", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "Falló el autocompletado de zsh", "zsh completion.": "autocompletado zsh", "{{ .name }}: Suggestion: {{ .suggestion}}": "{{ .name }}: Sugerencia: {{ .suggestion}}", diff --git a/translations/fr.json b/translations/fr.json index 541597f76e..e291737545 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -436,6 +436,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "Ouvre le module avec ADDON_NAME dans minikube (exemple : minikube addons open dashboard). Pour une liste des modules disponibles, utilisez: minikube addons list", "Operations on nodes": "Opérations sur les nœuds", "Options: {{.options}}": "Options: {{.options}}", + "Output format. Accepted values: [json, yaml]": "", "Output format. Accepted values: [json]": "Format de sortie. Valeurs acceptées : [json]", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "Affiche la complétion du shell minikube pour le shell donné (bash, zsh ou fish)\n\n\tCela dépend du binaire bash-completion. Exemple d'instructions d'installation :\n\tOS X :\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # pour les utilisateurs bash\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # pour les utilisateurs zsh\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t \t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # pour les utilisateurs bash\n\t\t$ source \u003c(minikube completion zsh) # pour les utilisateurs zsh\n\t \t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\n\tDe plus, vous voudrez peut-être sortir la complétion dans un fichier et une source dans votre .bashrc\n n\tRemarque pour les utilisateurs de zsh : [1] les complétions zsh ne sont prises en charge que dans les versions de zsh \u003e= 5.2\n\tRemarque pour les utilisateurs de fish : [2] veuillez vous référer à cette documentation pour plus de détails https://fishshell.com/docs/current/#tab-completion\n", "Overwrite image even if same image:tag name exists": "Écraser l'image même si la même image:balise existe", @@ -573,7 +574,9 @@ "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "Désolé, {{.driver}} n'autorise pas la modification des montages après la création du conteneur (montage précédent : '{{.old}}', nouveau montage : '{{.new}})'", "Source {{.path}} can not be empty": "La source {{.path}} ne peut pas être vide", "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "La version spécifiée de Kubernetes {{.specified}} est inférieure à la plus ancienne version prise en charge : {{.oldest}}", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "La version de Kubernetes spécifiée {{.specified}} est plus récente que la dernière version prise en charge : {{.newest}}", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "La version majeure spécifiée de Kubernetes {{.specifiedMajor}} est plus récente que la dernière version majeure prise en charge : {{.newestMajor}}", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "Spécifiez --kubernetes-version avec la forme v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e. exemple : 'v1.1.14'", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "Spécifiez une autre valeur --host-only-cidr, telle que 172.16.0.1/24", @@ -875,6 +878,7 @@ "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 getting defaults: {{.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", "error initializing tracing: {{.Error}}": "erreur d'initialisation du traçage : {{.Error}}", @@ -897,6 +901,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "si vous voulez créer un profil vous pouvez par cette commande : minikube start -p {{.profile_name}}", "initialization failed, will try again: {{.error}}": "l'initialisation a échoué, va réessayer : {{.error}}", "invalid kubernetes version": "version kubernetes invalide", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "garder le kube-context actif après l'arrêt du cluster. La valeur par défaut est false.", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "kubeadm a détecté un conflit de port TCP avec un autre processus : probablement une autre installation locale de Kubernetes. Exécutez lsof -p\u003cport\u003e pour trouver le processus et le tuer", "kubectl and minikube configuration will be stored in {{.home_folder}}": "Les configurations kubectl et minikube seront stockées dans le dossier {{.home_folder}}.", @@ -961,12 +966,14 @@ "usage: minikube addons images ADDON_NAME": "utilisation: minikube addons images ADDON_NAME", "usage: minikube addons list": "utilisation : minikube addons list", "usage: minikube addons open ADDON_NAME": "utilisation : minikube addons open ADDON_NAME", + "usage: minikube config list PROPERTY_NAME": "", "usage: minikube config unset PROPERTY_NAME": "utilisation : minikube config unset PROPERTY_NAME", "usage: minikube delete": "utilisation : minikube delete", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "utilisation : minikube profile [MINIKUBE_PROFILE_NAME]", "using metrics-server addon, heapster is deprecated": "utilisation du module metrics-server, heapster est obsolète", "version json failure": "échec de la version du JSON", "version yaml failure": "échec de la version du YAML", + "yaml encoding failure": "", "zsh completion failed": "complétion de zsh en échec", "zsh completion.": "complétion zsh.", "{{ .name }}: Suggestion: {{ .suggestion}}": "{{ .name }}: Suggestion: {{ .suggestion}}", diff --git a/translations/ja.json b/translations/ja.json index ca2561498d..431d324b57 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -447,6 +447,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "minikube 中で ADDON_NAME アドオンを開きます (例: minikube addons open dashboard)。利用可能なアドオンの一覧表示: minikube addons list ", "Operations on nodes": "ノードの操作", "Options: {{.options}}": "オプション: {{.options}}", + "Output format. Accepted values: [json, yaml]": "", "Output format. Accepted values: [json]": "出力フォーマット。利用可能な値: [json]", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "指定されたシェル用の minikube シェル補完コマンドを出力 (bash、zsh、fish)\n\n\tbash-completion バイナリーに依存しています。インストールコマンドの例:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # bash ユーザー用\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # zsh ユーザー用\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # fish ユーザー用\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # bash ユーザー用\n\t\t$ source \u003c(minikube completion zsh) # zsh ユーザー用\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # fish ユーザー用\n\n\tさらに、補完コマンドをファイルに出力して .bashrc 内で source を実行するとよいでしょう\n\n\t注意 (zsh ユーザー): [1] zsh 補完コマンドは zsh バージョン \u003e= 5.2 でのみサポートしています\n\t注意 (fish ユーザー): [2] 詳細はこちらのドキュメントを参照してください https://fishshell.com/docs/current/#tab-completion\n", "Overwrite image even if same image:tag name exists": "同じ image:tag 名が存在していてもイメージを上書きします", @@ -589,7 +590,8 @@ "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "申し訳ありませんが、{{.driver}} はコンテナーの生成後にマウントを変更できません (旧マウント: '{{.old}}'、新マウント: '{{.new}})'", "Source {{.path}} can not be empty": "ソース {{.path}} は空にできません", "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "指定された Kubernetes バージョン {{.specified}} はサポートされたバージョン {{.oldest}} より古いです", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "v\u003cメジャー\u003e.\u003cマイナー.\u003cビルド\u003e 形式で --kubernetes-version 値を指定します。例: 'v1.1.14'", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "代わりの --host-only-cidr 値を指定します (172.16.0.1/24 など)", @@ -920,6 +922,7 @@ "enable failed": "有効化に失敗しました", "error creating clientset": "clientset 作成中にエラー", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "最初のコントロールプレーン取得中にエラー", "error getting ssh port": "SSH ポートを取得中にエラー", "error initializing tracing: {{.Error}}": "トレーシング初期化中にエラー: {{.Error}}", @@ -942,6 +945,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "プロファイルを作成したい場合、次のコマンドで作成できます: minikube start -p {{.profile_name}}", "initialization failed, will try again: {{.error}}": "初期化に失敗しました。再試行します: {{.error}}", "invalid kubernetes version": "無効な Kubernetes バージョン", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "クラスター停止後に kube-context をアクティブのままにします。デフォルトは false です。", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "kubeadm が他のプロセス (おそらくローカルにインストールされた他の Kubernetes) との TCP ポート衝突を検出しました。 lsof -p\u003cport\u003e を実行してそのプロセスを特定し、停止してください", "kubectl and minikube configuration will be stored in {{.home_folder}}": "kubectl と minikube の構成は {{.home_folder}} に保存されます", @@ -1016,12 +1020,14 @@ "usage: minikube addons images ADDON_NAME": "使用法: minikube addons images ADDON_NAME", "usage: minikube addons list": "使用法: minikube addons list", "usage: minikube addons open ADDON_NAME": "使用法: minikube addons open ADDON_NAME", + "usage: minikube config list PROPERTY_NAME": "", "usage: minikube config unset PROPERTY_NAME": "使用法: minikube config unset PROPERTY_NAME", "usage: minikube delete": "使用法: minikube delete", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "使用法: minikube profile [MINIKUBE_PROFILE_NAME]", "using metrics-server addon, heapster is deprecated": "metrics-server アドオンを使用します (heapster は廃止予定です)", "version json failure": "JSON 形式のバージョン表示に失敗しました", "version yaml failure": "YAML 形式のバージョン表示に失敗しました", + "yaml encoding failure": "", "zsh completion failed": "zsh のコマンド補完に失敗しました", "zsh completion.": "zsh のコマンド補完です。", "{{ .name }}: Suggestion: {{ .suggestion}}": "{{ .name }}: 提案: {{ .suggestion}}", diff --git a/translations/ko.json b/translations/ko.json index 551947c123..bc8ae87d68 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -473,7 +473,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "", "Options: {{.options}}": "옵션: {{.options}}", - "Output format. Accepted values: [json]": "", + "Output format. Accepted values: [json, yaml]": "", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "", "Path to the Dockerfile to use (optional)": "", @@ -610,8 +610,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -916,6 +916,7 @@ "error creating clientset": "clientset 생성 오류", "error creating machine client": "머신 client 생성 오류", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "ssh 포트 조회 오류", "error initializing tracing: {{.Error}}": "", @@ -937,6 +938,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "프로필을 생성하려면 다음 명령어를 입력하세요: minikube start -p {{.profile_name}}\"", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "", "kubectl and minikube configuration will be stored in {{.home_folder}}": "kubectl 과 minikube 환경 정보는 {{.home_folder}} 에 저장될 것입니다", @@ -1006,12 +1008,14 @@ "usage: minikube addons images ADDON_NAME": "", "usage: minikube addons list": "", "usage: minikube addons open ADDON_NAME": "", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "zsh 완성이 실패하였습니다", "zsh completion.": "", "{{ .name }}: Suggestion: {{ .suggestion}}": "", diff --git a/translations/pl.json b/translations/pl.json index 7a6850d76b..888d780c9b 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -465,6 +465,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "Operacje na węzłach", "Options: {{.options}}": "Opcje: {{.options}}", + "Output format. Accepted values: [json, yaml]": "", "Output format. Accepted values: [json]": "Format wyjściowy. Akceptowane wartości: [json]", "Outputs minikube shell completion for the given shell (bash or zsh)": "Zwraca autouzupełnianie poleceń minikube dla danej powłoki (bash, zsh)", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", @@ -610,8 +611,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -922,6 +923,7 @@ "enable failed": "", "error creating clientset": "", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", "error initializing tracing: {{.Error}}": "", @@ -942,6 +944,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "Nieprawidłowa wersja Kubernetesa", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "", "kubectl and minikube configuration will be stored in {{.home_folder}}": "konfiguracja minikube i kubectl będzie przechowywana w katalogu {{.home_folder}}", @@ -1008,12 +1011,14 @@ "usage: minikube addons images ADDON_NAME": "użycie: minikube addons images ADDON_NAME", "usage: minikube addons list": "użycie: minikube addons list", "usage: minikube addons open ADDON_NAME": "użycie: minikube addons open ADDON_NAME", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "autouzupełnianie zsh nie powiodło się", "zsh completion.": "autouzupełnianie zsh", "{{ .name }}: Suggestion: {{ .suggestion}}": "", diff --git a/translations/ru.json b/translations/ru.json index b336a0e471..a399935794 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -423,7 +423,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "", "Options: {{.options}}": "", - "Output format. Accepted values: [json]": "", + "Output format. Accepted values: [json, yaml]": "", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "", "Path to the Dockerfile to use (optional)": "", @@ -557,8 +557,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -845,6 +845,7 @@ "enable failed": "", "error creating clientset": "", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", "error initializing tracing: {{.Error}}": "", @@ -865,6 +866,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "", "kubectl and minikube configuration will be stored in {{.home_folder}}": "", @@ -929,12 +931,14 @@ "usage: minikube addons images ADDON_NAME": "", "usage: minikube addons list": "", "usage: minikube addons open ADDON_NAME": "", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "", "zsh completion.": "", "{{ .name }}: Suggestion: {{ .suggestion}}": "", diff --git a/translations/strings.txt b/translations/strings.txt index c0e6441dc2..46e0e41bc0 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -423,7 +423,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "", "Options: {{.options}}": "", - "Output format. Accepted values: [json]": "", + "Output format. Accepted values: [json, yaml]": "", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "", "Path to the Dockerfile to use (optional)": "", @@ -557,8 +557,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -845,6 +845,7 @@ "enable failed": "", "error creating clientset": "", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", "error initializing tracing: {{.Error}}": "", @@ -865,6 +866,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "", "kubectl and minikube configuration will be stored in {{.home_folder}}": "", @@ -929,12 +931,14 @@ "usage: minikube addons images ADDON_NAME": "", "usage: minikube addons list": "", "usage: minikube addons open ADDON_NAME": "", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "", "zsh completion.": "", "{{ .name }}: Suggestion: {{ .suggestion}}": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index 390d7611eb..b6f494a59a 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -538,7 +538,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "", "Operations on nodes": "", "Options: {{.options}}": "", - "Output format. Accepted values: [json]": "", + "Output format. Accepted values: [json, yaml]": "", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "", "Overwrite image even if same image:tag name exists": "", "Path to the Dockerfile to use (optional)": "", @@ -693,8 +693,8 @@ "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "抱歉,通过 --registry-mirror 标志提供的网址无效:{{.url}}", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", "Source {{.path}} can not be empty": "", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "", @@ -1030,6 +1030,7 @@ "enable failed": "开启失败", "error creating clientset": "", "error creatings urls": "", + "error getting defaults: {{.error}}": "", "error getting primary control plane": "", "error getting ssh port": "", "error initializing tracing: {{.Error}}": "", @@ -1050,6 +1051,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "", "initialization failed, will try again: {{.error}}": "", "invalid kubernetes version": "", + "json encoding failure": "", "keep the kube-context active after cluster is stopped. Defaults to false.": "", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "kubeadm 检测一个到与其他进程的 TCP 端口冲突:或许是另外的本地安装的 Kubernetes 导致。执行 lsof -p\u003cport\u003e 查找并杀死这些进程", "kubectl and minikube configuration will be stored in {{.home_folder}}": "kubectl 和 minikube 配置将存储在 {{.home_folder}} 中", @@ -1119,12 +1121,14 @@ "usage: minikube addons images ADDON_NAME": "", "usage: minikube addons list": "", "usage: minikube addons open ADDON_NAME": "", + "usage: minikube config list PROPERTY_NAME": "", "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": "", "zsh completion failed": "", "zsh completion.": "", "{{ .name }}: Suggestion: {{ .suggestion}}": "", From b785613d6936397e0a4273ee5b5aab13502b012e Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Fri, 27 May 2022 21:18:11 +0000 Subject: [PATCH 57/72] Updating ISO to v1.26.0-1653677468-13807 --- Makefile | 2 +- pkg/minikube/download/iso.go | 2 +- site/content/en/docs/commands/start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0605610288..346dfd0614 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.26.0-1652998508-14153 +ISO_VERSION ?= v1.26.0-1653677468-13807 # 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 a5ecc47cf0..dcbe6c9089 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/14153" + isoBucket := "minikube-builds/iso/13807" 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), diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index 4c137a9b99..920810ebd1 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -69,7 +69,7 @@ minikube start [flags] --insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added. --install-addons If set, install addons. Defaults to true. (default true) --interactive Allow user prompts for more information (default true) - --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/14153/minikube-v1.26.0-1652998508-14153-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652998508-14153/minikube-v1.26.0-1652998508-14153-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652998508-14153-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/14153/minikube-v1.26.0-1652998508-14153.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1652998508-14153/minikube-v1.26.0-1652998508-14153.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1652998508-14153.iso]) + --iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.26.0-1653677468-13807-amd64.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1653677468-13807/minikube-v1.26.0-1653677468-13807-amd64.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1653677468-13807-amd64.iso,https://storage.googleapis.com/minikube-builds/iso/13807/minikube-v1.26.0-1653677468-13807.iso,https://github.com/kubernetes/minikube/releases/download/v1.26.0-1653677468-13807/minikube-v1.26.0-1653677468-13807.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.26.0-1653677468-13807.iso]) --keep-context This will keep the existing kubectl context and will create a minikube context. --kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.6, 'latest' for v1.23.6). Defaults to 'stable'. --kvm-gpu Enable experimental NVIDIA GPU support in minikube From a4572112c9573d1d0e2cb11e2f4a966672cab060 Mon Sep 17 00:00:00 2001 From: Peter Becich Date: Sat, 28 May 2022 17:50:18 -0700 Subject: [PATCH 58/72] correct GPU flag in documentation --- site/content/en/docs/drivers/kvm2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/en/docs/drivers/kvm2.md b/site/content/en/docs/drivers/kvm2.md index c89ea9e65f..c350d4db4d 100644 --- a/site/content/en/docs/drivers/kvm2.md +++ b/site/content/en/docs/drivers/kvm2.md @@ -22,7 +22,7 @@ aliases: The `minikube start` command supports 5 additional KVM specific flags: -* **`--gpu`**: Enable experimental NVIDIA GPU support in minikube +* **`--kvm-gpu`**: Enable experimental NVIDIA GPU support in minikube * **`--hidden`**: Hide the hypervisor signature from the guest in minikube * **`--kvm-network`**: The KVM default network name * **`--network`**: The dedicated KVM private network name From ab48ca2fde2d63546eeb2b2d9bb57ef094d5effd Mon Sep 17 00:00:00 2001 From: Jeff MAURY Date: Mon, 30 May 2022 10:24:04 +0200 Subject: [PATCH 59/72] Fix french translation Signed-off-by: Jeff MAURY --- translations/fr.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/translations/fr.json b/translations/fr.json index e291737545..fc8f47c909 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -436,7 +436,7 @@ "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "Ouvre le module avec ADDON_NAME dans minikube (exemple : minikube addons open dashboard). Pour une liste des modules disponibles, utilisez: minikube addons list", "Operations on nodes": "Opérations sur les nœuds", "Options: {{.options}}": "Options: {{.options}}", - "Output format. Accepted values: [json, yaml]": "", + "Output format. Accepted values: [json, yaml]": "Format de sortie. Valeurs acceptées : [json, yaml]", "Output format. Accepted values: [json]": "Format de sortie. Valeurs acceptées : [json]", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "Affiche la complétion du shell minikube pour le shell donné (bash, zsh ou fish)\n\n\tCela dépend du binaire bash-completion. Exemple d'instructions d'installation :\n\tOS X :\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # pour les utilisateurs bash\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # pour les utilisateurs zsh\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t \t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # pour les utilisateurs bash\n\t\t$ source \u003c(minikube completion zsh) # pour les utilisateurs zsh\n\t \t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\n\tDe plus, vous voudrez peut-être sortir la complétion dans un fichier et une source dans votre .bashrc\n n\tRemarque pour les utilisateurs de zsh : [1] les complétions zsh ne sont prises en charge que dans les versions de zsh \u003e= 5.2\n\tRemarque pour les utilisateurs de fish : [2] veuillez vous référer à cette documentation pour plus de détails https://fishshell.com/docs/current/#tab-completion\n", "Overwrite image even if same image:tag name exists": "Écraser l'image même si la même image:balise existe", @@ -574,9 +574,9 @@ "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "Désolé, {{.driver}} n'autorise pas la modification des montages après la création du conteneur (montage précédent : '{{.old}}', nouveau montage : '{{.new}})'", "Source {{.path}} can not be empty": "La source {{.path}} ne peut pas être vide", "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}": "La version spécifiée de Kubernetes {{.specified}} est inférieure à la plus ancienne version prise en charge : {{.oldest}}", - "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}. Use `minikube config defaults kubernetes-version` for details.": "La version de Kubernetes spécifiée {{.specified}} est antérieure à la version la plus ancienne prise en charge : {{.oldest}}. Utilisez `minikube config defaults kubernetes-version` pour plus de détails.", "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}": "La version de Kubernetes spécifiée {{.specified}} est plus récente que la dernière version prise en charge : {{.newest}}", - "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "", + "Specified Kubernetes version {{.specified}} is newer than the newest supported version: {{.newest}}. Use `minikube config defaults kubernetes-version` for details.": "La version de Kubernetes spécifiée {{.specified}} est plus récente que la dernière version prise en charge : {{.newest}}. Utilisez `minikube config defaults kubernetes-version` pour plus de détails.", "Specified Major version of Kubernetes {{.specifiedMajor}} is newer than the newest supported Major version: {{.newestMajor}}": "La version majeure spécifiée de Kubernetes {{.specifiedMajor}} est plus récente que la dernière version majeure prise en charge : {{.newestMajor}}", "Specify --kubernetes-version in v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e form. example: 'v1.1.14'": "Spécifiez --kubernetes-version avec la forme v\u003cmajor\u003e.\u003cminor.\u003cbuild\u003e. exemple : 'v1.1.14'", "Specify an alternate --host-only-cidr value, such as 172.16.0.1/24": "Spécifiez une autre valeur --host-only-cidr, telle que 172.16.0.1/24", @@ -878,7 +878,7 @@ "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 getting defaults: {{.error}}": "", + "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", "error initializing tracing: {{.Error}}": "erreur d'initialisation du traçage : {{.Error}}", @@ -901,7 +901,7 @@ "if you want to create a profile you can by this command: minikube start -p {{.profile_name}}": "si vous voulez créer un profil vous pouvez par cette commande : minikube start -p {{.profile_name}}", "initialization failed, will try again: {{.error}}": "l'initialisation a échoué, va réessayer : {{.error}}", "invalid kubernetes version": "version kubernetes invalide", - "json encoding failure": "", + "json encoding failure": "échec de l'encodage json", "keep the kube-context active after cluster is stopped. Defaults to false.": "garder le kube-context actif après l'arrêt du cluster. La valeur par défaut est false.", "kubeadm detected a TCP port conflict with another process: probably another local Kubernetes installation. Run lsof -p\u003cport\u003e to find the process and kill it": "kubeadm a détecté un conflit de port TCP avec un autre processus : probablement une autre installation locale de Kubernetes. Exécutez lsof -p\u003cport\u003e pour trouver le processus et le tuer", "kubectl and minikube configuration will be stored in {{.home_folder}}": "Les configurations kubectl et minikube seront stockées dans le dossier {{.home_folder}}.", @@ -966,14 +966,14 @@ "usage: minikube addons images ADDON_NAME": "utilisation: minikube addons images ADDON_NAME", "usage: minikube addons list": "utilisation : minikube addons list", "usage: minikube addons open ADDON_NAME": "utilisation : minikube addons open ADDON_NAME", - "usage: minikube config list PROPERTY_NAME": "", + "usage: minikube config list PROPERTY_NAME": "utilisation : minikube config list PROPERTY_NAME", "usage: minikube config unset PROPERTY_NAME": "utilisation : minikube config unset PROPERTY_NAME", "usage: minikube delete": "utilisation : minikube delete", "usage: minikube profile [MINIKUBE_PROFILE_NAME]": "utilisation : minikube profile [MINIKUBE_PROFILE_NAME]", "using metrics-server addon, heapster is deprecated": "utilisation du module metrics-server, heapster est obsolète", "version json failure": "échec de la version du JSON", "version yaml failure": "échec de la version du YAML", - "yaml encoding failure": "", + "yaml encoding failure": "échec de l'encodage yaml", "zsh completion failed": "complétion de zsh en échec", "zsh completion.": "complétion zsh.", "{{ .name }}: Suggestion: {{ .suggestion}}": "{{ .name }}: Suggestion: {{ .suggestion}}", From 46d55b6ab2a2dc97ad3c76db8088f62b7f653b3b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 18:14:51 +0000 Subject: [PATCH 60/72] Bump actions/setup-go from 3.1.0 to 3.2.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/fcdc43634adb5f7ae75a9d7a9b9361790f7293e2...b22fbbc2921299758641fab08929b4ac52b32923) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 6 +++--- .github/workflows/docs.yml | 2 +- .github/workflows/functional_verified.yml | 4 ++-- .github/workflows/leaderboard.yml | 2 +- .github/workflows/master.yml | 16 ++++++++-------- .github/workflows/pr.yml | 16 ++++++++-------- .github/workflows/sync-minikube.yml | 2 +- .github/workflows/time-to-k8s-public-chart.yml | 4 ++-- .github/workflows/time-to-k8s.yml | 2 +- .github/workflows/translations.yml | 2 +- .github/workflows/update-golang-version.yml | 2 +- .github/workflows/update-golint-version.yml | 2 +- .github/workflows/update-gopogh-version.yml | 2 +- .github/workflows/update-gotestsum-version.yml | 2 +- .github/workflows/update-k8s-versions.yml | 2 +- .github/workflows/update-kubadm-constants.yml | 2 +- 16 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35e1e1f673..7a31c07d1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0399df7fe4..777fc772e2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/functional_verified.yml b/.github/workflows/functional_verified.yml index 9e179dbdf3..9f25f05730 100644 --- a/.github/workflows/functional_verified.yml +++ b/.github/workflows/functional_verified.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -115,7 +115,7 @@ jobs: echo "--------------------------" hostname || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/leaderboard.yml b/.github/workflows/leaderboard.yml index 42d1c7eb70..6b41d2ffc6 100644 --- a/.github/workflows/leaderboard.yml +++ b/.github/workflows/leaderboard.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index ccb592bae4..dd5c5382f7 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -119,7 +119,7 @@ jobs: echo "--------------------------" docker ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -219,7 +219,7 @@ jobs: echo "--------------------------" docker ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -323,7 +323,7 @@ jobs: echo "--------------------------" podman ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -409,7 +409,7 @@ jobs: curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/darwin/amd64/kubectl sudo install kubectl /usr/local/bin/kubectl kubectl version --client=true - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -519,7 +519,7 @@ jobs: VERSION="v1.17.0" curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/$VERSION/crictl-${VERSION}-linux-amd64.tar.gz --output crictl-${VERSION}-linux-amd64.tar.gz sudo tar zxvf crictl-$VERSION-linux-amd64.tar.gz -C /usr/local/bin - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9c3a3610e9..53519b3f0c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -117,7 +117,7 @@ jobs: echo "--------------------------" docker ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -217,7 +217,7 @@ jobs: echo "--------------------------" docker ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -322,7 +322,7 @@ jobs: echo "--------------------------" podman ps || true echo "--------------------------" - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -409,7 +409,7 @@ jobs: curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/darwin/amd64/kubectl sudo install kubectl /usr/local/bin/kubectl kubectl version --client=true - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -520,7 +520,7 @@ jobs: VERSION="v1.17.0" curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/$VERSION/crictl-${VERSION}-linux-amd64.tar.gz --output crictl-${VERSION}-linux-amd64.tar.gz sudo tar zxvf crictl-$VERSION-linux-amd64.tar.gz -C /usr/local/bin - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/sync-minikube.yml b/.github/workflows/sync-minikube.yml index 79acd2022f..7bad491f15 100644 --- a/.github/workflows/sync-minikube.yml +++ b/.github/workflows/sync-minikube.yml @@ -22,7 +22,7 @@ jobs: path: ./image-syncer - name: Set up Go - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: 1.17 diff --git a/.github/workflows/time-to-k8s-public-chart.yml b/.github/workflows/time-to-k8s-public-chart.yml index 18b765daf2..686bd8914c 100644 --- a/.github/workflows/time-to-k8s-public-chart.yml +++ b/.github/workflows/time-to-k8s-public-chart.yml @@ -20,7 +20,7 @@ jobs: AWS_DEFAULT_REGION: 'us-west-1' steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true @@ -45,7 +45,7 @@ jobs: curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/darwin/amd64/kubectl sudo install kubectl /usr/local/bin/kubectl kubectl version --client=true - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/time-to-k8s.yml b/.github/workflows/time-to-k8s.yml index 41d4c6e37e..b1d75d9089 100644 --- a/.github/workflows/time-to-k8s.yml +++ b/.github/workflows/time-to-k8s.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - name: Checkout submodules run: git submodule update --init - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 674cacd1cb..8b8d8b5535 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/update-golang-version.yml b/.github/workflows/update-golang-version.yml index aa97fee86b..95fab538ab 100644 --- a/.github/workflows/update-golang-version.yml +++ b/.github/workflows/update-golang-version.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/update-golint-version.yml b/.github/workflows/update-golint-version.yml index 35a5a24871..fda67e6f4a 100644 --- a/.github/workflows/update-golint-version.yml +++ b/.github/workflows/update-golint-version.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/update-gopogh-version.yml b/.github/workflows/update-gopogh-version.yml index 0631568152..d54b4d7fe4 100644 --- a/.github/workflows/update-gopogh-version.yml +++ b/.github/workflows/update-gopogh-version.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/update-gotestsum-version.yml b/.github/workflows/update-gotestsum-version.yml index 00b0adda43..de847d7e44 100644 --- a/.github/workflows/update-gotestsum-version.yml +++ b/.github/workflows/update-gotestsum-version.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true diff --git a/.github/workflows/update-k8s-versions.yml b/.github/workflows/update-k8s-versions.yml index 944351aa6a..9057285953 100644 --- a/.github/workflows/update-k8s-versions.yml +++ b/.github/workflows/update-k8s-versions.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} - name: Bump Kubernetes Versions diff --git a/.github/workflows/update-kubadm-constants.yml b/.github/workflows/update-kubadm-constants.yml index d1b60c8bf6..f5c1a9f689 100644 --- a/.github/workflows/update-kubadm-constants.yml +++ b/.github/workflows/update-kubadm-constants.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 - - uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2 + - uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 with: go-version: ${{env.GO_VERSION}} stable: true From 0097be8300c3864ce39a276c170e83c6a4f33d3b Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Tue, 31 May 2022 19:10:04 +0000 Subject: [PATCH 61/72] Update auto-generated docs and translations --- translations/de.json | 19 +++++++++++++++++-- translations/es.json | 32 +++++++++++++++++--------------- translations/fr.json | 17 +++++++++++++++++ translations/ja.json | 21 +++++++++++++++++---- translations/ko.json | 33 +++++++++++++++++---------------- translations/pl.json | 32 +++++++++++++++++--------------- translations/ru.json | 34 +++++++++++++++++----------------- translations/strings.txt | 34 +++++++++++++++++----------------- translations/zh-CN.json | 32 +++++++++++++++++--------------- 9 files changed, 153 insertions(+), 101 deletions(-) diff --git a/translations/de.json b/translations/de.json index 8698b8b9f9..e69121febd 100644 --- a/translations/de.json +++ b/translations/de.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "Das {{.minikube_addon}} Addon ist deaktiviert", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Der Kontext \"{{.context}}\" wurde aktualisiert, um auf {{.hostname}}:{{.port}} zu zeigen", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" existiert nicht, nichts zum Stoppen", "\"{{.name}}\" profile does not exist, trying anyways.": "Das Profil \"{{.name}}\" existiert nicht, versuche dennoch.", @@ -17,6 +18,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "Stellen Sie sicher, dass der {{.driver_name}} Daemon genug CPU/RAM Resourcen zur Verfügung hat.", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Unnötige {{.driver_name}} Images, Volumes, Netzwerke und nicht mehr verwendete Container aufräumen.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "Starten Sie den {{.driver_name}} Service neu", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime muss für rootless auf \\\"containerd\\\" oder \\\"cri-o\\\" gesetzt sein", "--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", @@ -56,6 +58,7 @@ "Aliases": "Aliase", "All existing scheduled stops cancelled": "Alle derzeit existierenden und geplanten Stops wurden storniert.", "Allow user prompts for more information": "Benutzer-Eingabeaufforderungen für zusätzliche Informationen zulassen", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Alternatives Bild-Repository zum Abrufen von Docker-Images. Dies ist hilfreich, wenn Sie nur eingeschränkten Zugriff auf gcr.io haben. Stellen Sie \\\"auto\\\" ein, dann wählt minikube eins für sie aus. Nutzer vom chinesischen Festland können einen lokalen gcr.io-Mirror wie registry.cn-hangzhou.aliyuncs.com/google_containers verwenden.", "Alternatively you could install one of these drivers:": "Alternativ könnten Sie einen dieser Treiber installieren:", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "Größe des der minikube-VM zugewiesenen Arbeitsspeichers (Format: \u003cNummer\u003e [\u003cEinheit\u003e], wobei Einheit = b, k, m oder g)", @@ -300,7 +303,7 @@ "Force minikube to perform possibly dangerous operations": "minikube zwingen, möglicherweise gefährliche Operationen durchzuführen", "Format output. One of: short|table|json|yaml": "Format-Ausgabe. Mögliche Werte: short|table|json|yaml", "Format to print stdout in. Options include: [text,json]": "Format für die Ausgabe aus stdout. Mögliche Werte: [text,json]", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "Docker erkannt, aber der Docker Service läuft nicht. Versuchen Sie den Docker Service zu restarten.", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "Treiber wurden gefunden, sind aber nicht funktional. Schauen Sie die obigen Anmerkungen an, um die installierten Treiber zu reparieren.", "Found network options:": "Gefundene Netzwerkoptionen:", @@ -442,6 +445,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Nur alphanumerische Werte und Striche sind erlaubt '-'. Minimum 1 Zeichen, muss mit alphanumerisch anfangen.", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Nur alphanumerische Werte und Striche sind erlaubt '-'. Minimum 2 Zeichen, muss mit alphanumerisch anfangen.", "Open the addons URL with https instead of http": "Öffnen Sie die URL des Addons mit https anstelle von http", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Öffne die Service URL mit https anstelle von http (default: \\\"false\\\")", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Öffne Kubernetes service {{.namespace_name}}/{{.service_name}} im Default-Browser...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Öffne Service {{.namespace_name}}/{{.service_name}} im Default-Browser...", @@ -636,9 +640,11 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "Der Cluster \"{{.name}}\" wurde gelöscht.", "The \"{{.name}}\" cluster has been deleted.__1": "Der Cluster \"{{.name}}\" wurde gelöscht.", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "Der Treiber \"Keine\" ist für Experten designed, die mit einer existierenden VM integrieren müssen", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "Der Treiber \"Keine\" bietet eine eingeschränkte Isolation und beeinträchtigt möglicherweise Sicherheit und Zuverlässigkeit des Systems.", "The '{{.addonName}}' addon is enabled": "Das Addon {{.addonName}} ist aktiviert", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "Der Treiber {{.driver}} benötigt höhere Berechtigungen. Die folgenden Befehle werden ausgeführt:\\n\\n{{ .example }}\\n", "The '{{.driver}}' provider was not found: {{.error}}": "Der Provider des Treibers {{.driver}} wurde nicht gefunden: {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "Der Treiber '{{.name}} unterstützt keine mehrfach Profile: https://minikube.sigs.k8s.io/docs/reference/drivers/none/", @@ -744,7 +750,9 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "Verwenden Sie zum Herstellen einer Verbindung zu diesem Cluster: kubectl --context = {{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Verwenden Sie zum Herstellen einer Verbindung zu diesem Cluster: kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Um Beta-Hinweise zu deaktivieren, starte: 'minikube config set WantBetaUpdateNotification false'", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "Um diesen Hinweis zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Um Hinweise generell zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Um neue externe Images zu ziehen, müsste eventuell ein Proxy konfiguriert werden: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "Um die Addon-List für andere Profile anzusehen, verwende: `minikube addons -p name list`", @@ -862,7 +870,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": "Sie scheinen einen Proxy zu verwenden, aber Ihre NO_PROXY-Umgebung enthält keine minikube-IP ({{.ip_address}}). Weitere Informationen finden Sie unter {{.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": "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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", @@ -872,6 +880,7 @@ "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "Die Speichergröße eines existierenden Minikube Clusters kann nicht geändert werden. Bitte löschen Sie den Cluster zuerst.", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "Sie haben sich mit einem Service Account authentifiziert, welcher kein zugehöriges JSON besitzt. GCP Auth benötigt Zugangsdaten in einer JSON-Datei um weitermachen zu können. Das Image Pull Secret wurde importiert.", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "Sie haben den CNI Treiber deaktiviert, aber die \\\"{{.name}}\\\" Container Laufzeitumgebung benötigt ein CNI", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "Sie haben den \"virtualbox\" Treiber ausgewählt, aber es existieren bessere Möglichkeiten !\nFür eine bessere Performanz und besseren Support erwägen Sie die Verwendung eines anderen Treibers: {{.drivers}}\n\nUm diese Warnung zu deaktivieren, führen Sie folgendes aus:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nUm mehr über die Minikube-Treiber zu erfahren, lesen Sie https://minikube.sigs.k8s.io/docs/drivers/\nZu Benchmarks lesen Sie https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "Möglicherweise müssen Sie die VM \"{{.name}}\" manuell von Ihrem Hypervisor entfernen", @@ -899,6 +908,7 @@ "call with cleanup=true to remove old tunnels": "Rufe mit cleanup=true auf auf, um alte Tunnel zu entfernen", "cancel any existing scheduled stop requests": "halte alle existierenden, geplanten Stop Requests ab", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "die --kubernetes-version kann nicht angegeben werden, wenn --no-kubernetes verwendet wird,\nzum Löschen der Einstellung in der globalen Konfiguration führe Folgendes aus:\n\n$ minikube config unset kubernetes-version", + "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "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}}", @@ -941,11 +951,13 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl nicht gefunden. Falls Sie es benötigen, versuchen Sie 'minikube kubectl -- get pods -A' aufzurufen", "kubectl proxy": "", "libmachine failed": "libmachine fehlgeschlagen", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "Zeigt einer Liste aller validen Standard-Einstellungen (default-Werte) für das Property PROPERTY_NAME\nAkzeptierte Felder: \\n\\n", "list versions of all components included with minikube. (the cluster must be running)": "Liste alle Versionen der Komponenten die in Minikube enthalten sind.", "loading profile": "Lade Profil", "max time to wait per Kubernetes or host to be healthy.": "maximale Zeit die gewartet werden soll, bis Kubernetes oder der Host als funktional angesehen soll.", "minikube addons list --output OUTPUT. json, list": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "minikube unterstützt den BTRFS Storage Treiber nicht, es gibt einen Workaround, füge den folgenden Paramater zum Start-Befehl hinzu `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "Minikube fehlen die Dateien, die für die Gast-Umgebung erforderlich sind. Dies kann durch Ausführen von 'minikube delete' repariert werden", "minikube is not meant for production use. You are opening non-local traffic": "Minikube ist nicht für die Verwendung in Produktion gedacht. Nicht lokaler Traffik wird zugelassen", @@ -967,10 +979,12 @@ "namespaces to unpause": "Namespaces, die fortgesetzt werden sollen", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "Netzwerk, welches Minikube verwenden soll. Derzeit wird dies vom docker/podman-Treiber und dem KVM Treiber unterstützt. Falls keines angeben wird, wird Minikube ein neues Netzwerk anlegen.", "none driver does not support multi-node clusters": "Der 'none'-Treiber unterstützt keine Multi-Node Cluster", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "nicht genug Argumente ({{.ArgCount}}).\\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "Numa Node wird nur von k8s Version v1.18 oder später unterstützt", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "Ausgabe Layout (EXPERIMENTELL, nur JSON): 'nodes' oder 'clusters'", "pause Kubernetes": "pausiere Kubernetes", + "preload extraction failed: \"No space left on device\"": "", "preload extraction failed: \\\"No space left on device\\\"": "Auspacken von Preload fehlgeschlagen: \\\"Es ist kein Speicherplatz mehr verfügbar\\\"", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "Provisioniere Host für Node", @@ -982,6 +996,7 @@ "stat failed": "state Fehler", "status json failure": "Status json Fehler", "status text failure": "Status text Fehler", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Zu viele Parameter ({{.ArgCount}}).\\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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", diff --git a/translations/es.json b/translations/es.json index 372055a0dd..21ad1b02f0 100644 --- a/translations/es.json +++ b/translations/es.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "El complemento \"{{.minikube_addon}}\" está desactivado", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "El contexto \"{{.context}}\" ha sido actualizado para apuntar a {{.hostname}}:{{.port}}", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" no existe, nada para detener.", "\"{{.name}}\" profile does not exist": "El perfil \"{{.name}}\" no existe.", @@ -18,6 +19,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "Garantiza que {{.driver_name}} posee suficientes recursos de CPU/Memoria", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Recorta las imágenes, volumenes, redes y contenedores abandonados de {{.driver_name}}.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "- Reinicia el servicio {{.driver_name}}", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime debe ser configurado a \\\"containerd\\\" o \\\"crio-o\\\" para no usar usuario root", "--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", @@ -58,6 +60,7 @@ "Aliases": "Aliases", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "Permitir que el usuario solicite más información", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Repositorio de imágenes alternativo del que extraer imágenes de Docker. Puedes usarlo cuando tengas acceso limitado a gcr.io. Si quieres que minikube elija uno por ti, solo tienes que definir el valor como \"auto\". Los usuarios de China continental pueden utilizar réplicas locales de gcr.io, como registry.cn-hangzhou.aliyuncs.com/google_containers", "Alternatively you could install one of these drivers:": "Alternativamente, puede installar uno de estos drivers:", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "Cantidad de RAM asignada a la VM de minikube (formato: \u003cnúmero\u003e[\u003cunidad\u003e], donde unidad = b, k, m o g)", @@ -309,7 +312,7 @@ "Force minikube to perform possibly dangerous operations": "Permite forzar minikube para que realice operaciones potencialmente peligrosas", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "Se han encontrado las siguientes opciones de red:", @@ -451,7 +454,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "", "Open the addons URL with https instead of http": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening {{.url}} in your default browser...": "", @@ -641,10 +644,11 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "Se ha eliminado el clúster \"{{.name}}\".", "The \"{{.name}}\" cluster has been deleted.__1": "Se ha eliminado el clúster \"{{.name}}\".", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "La opción de controlador \"none\" proporciona un aislamiento limitado y puede reducir la seguridad y la fiabilidad del sistema.", "The '{{.addonName}}' addon is enabled": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -661,7 +665,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "El puerto de escucha del apiserver", "The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine": "El nombre del apiserver del certificado de Kubernetes generado. Se puede utilizar para que sea posible acceder al apiserver desde fuera de la máquina", @@ -747,8 +750,8 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "Para conectarte a este clúster, usa: kubectl --context={{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -864,7 +867,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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": "", @@ -873,7 +876,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "Puede que tengas que retirar manualmente la VM \"{{.name}}\" de tu hipervisor", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -888,7 +891,6 @@ "Your minikube vm is not running, try minikube start.": "", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "", @@ -899,7 +901,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "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 service is not running: {{.error}}": "", @@ -939,12 +941,12 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "", "kubectl proxy": "", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading profile": "", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", @@ -965,11 +967,11 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "", @@ -980,7 +982,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/fr.json b/translations/fr.json index e291737545..da46aeaff5 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "Le module \"{{.minikube_addon}}\" est désactivé", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Le contexte \"{{.context}}\" a été mis à jour pour pointer vers {{.hostname}}:{{.port}}", "\"{{.machineName}}\" does not exist, nothing to stop": "La machine \"{{.machineName}} n'existe pas, rien a arrêter", "\"{{.name}}\" profile does not exist, trying anyways.": "Le profil \"{{.name}}\" n'existe pas, tentative de suppression quand même.", @@ -18,6 +19,7 @@ "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Nettoyer les images {{.driver_name}} non utilisées, les volumes, les réseaux et les conteneurs abandonnées.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "- Redémarrer votre service {{.driver_name}}", "- {{.logPath}}": "- {{.logPath}}", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime doit être défini sur \\\"containerd\\\" ou \\\"cri-o\\\" pour utilisateur normal", "--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": "le drapeau --network est valide uniquement avec les pilotes docker/podman et KVM, il va être ignoré", @@ -58,6 +60,7 @@ "Aliases": "Alias", "All existing scheduled stops cancelled": "Tous les arrêts programmés existants annulés", "Allow user prompts for more information": "Autoriser les utilisateurs à saisir plus d'informations", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Autre dépôt d'images d'où extraire des images Docker. Il peut être utilisé en cas d'accès limité à gcr.io. Définissez-le sur \\\"auto\\\" pour permettre à minikube de choisir la valeur à votre place. Pour les utilisateurs situés en Chine continentale, vous pouvez utiliser des miroirs gcr.io locaux tels que registry.cn-hangzhou.aliyuncs.com/google_containers.", "Alternatively you could install one of these drivers:": "Vous pouvez également installer l'un de ces pilotes :", "Amount of time to wait for a service in seconds": "Temps d'attente pour un service en secondes", @@ -291,6 +294,7 @@ "Force minikube to perform possibly dangerous operations": "Oblige minikube à réaliser des opérations possiblement dangereuses.", "Format output. One of: short|table|json|yaml": "Format de sortie. L'un des suivants : short|table|json|yaml", "Format to print stdout in. Options include: [text,json]": "Format dans lequel imprimer la sortie standard. Les options incluent : [text,json]", + "Forwards all services in a namespace (defaults to \"false\")": "", "Forwards all services in a namespace (defaults to \\\"false\\\")": "Transfère tous les services dans un espace de noms (par défaut à \\\"false\\\")", "Found docker, but the docker service isn't running. Try restarting the docker service.": "Docker trouvé, mais le service docker ne fonctionne pas. Essayez de redémarrer le service Docker.", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "Pilote(s) trouvé(s) mais aucun n'était en fonctionnement. Voir ci-dessus pour des suggestions sur la façon de réparer les pilotes installés.", @@ -429,6 +433,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Seuls les caractères alphanumériques et les tirets '-' sont autorisés. Minimum 1 caractère, commençant par alphanumérique.", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Seuls les caractères alphanumériques et les tirets '-' sont autorisés. Minimum 2 caractères, commençant par alphanumérique.", "Open the addons URL with https instead of http": "Ouvrez l'URL des modules avec https au lieu de http", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Ouvrez l'URL du service avec https au lieu de http (par défaut \\\"false\\\")", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Ouverture du service Kubernetes {{.namespace_name}}/{{.service_name}} dans le navigateur par défaut...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Ouverture du service {{.namespace_name}}/{{.service_name}} dans le navigateur par défaut...", @@ -620,8 +625,10 @@ "Test docs have been saved at - {{.path}}": "Les documents de test ont été enregistrés à - {{.path}}", "The \"{{.driver_name}}\" driver should not be used with root privileges.": "Le pilote \"{{.driver_name}}\" ne doit pas être utilisé avec les privilèges root.", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "Le pilote \"{{.driver_name}}\" ne doit pas être utilisé avec les privilèges root. Si vous souhaitez continuer en tant que root, utilisez --force.", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "Le pilote 'none' est conçu pour les experts qui doivent s'intégrer à une machine virtuelle existante", "The '{{.addonName}}' addon is enabled": "Le module '{{.addonName}}' est activé", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "Le pilote '{{.driver}}' nécessite des autorisations élevées. Les commandes suivantes seront exécutées :\\n\\n{{ .example }}\\n", "The '{{.driver}}' provider was not found: {{.error}}": "Le fournisseur '{{.driver}}' n'a pas été trouvé : {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "Le pilote '{{.name}}' ne prend pas en charge plusieurs profils : https://minikube.sigs.k8s.io/docs/reference/drivers/none/", @@ -714,7 +721,9 @@ "To connect to this cluster, use: --context={{.name}}": "Pour vous connecter à ce cluster, utilisez : --context={{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Pour vous connecter à ce cluster, utilisez : kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Pour désactiver les notifications bêta, exécutez : 'minikube config set WantBetaUpdateNotification false'", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver cette notification, exécutez : 'minikube config set WantUpdateNotification false'\\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Pour extraire de nouvelles images externes, vous devrez peut-être configurer un proxy : https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "Pour voir la liste des modules pour d'autres profils, utilisez: `minikube addons -p name list`", @@ -828,6 +837,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "Vous semblez utiliser un proxy, mais votre environnement NO_PROXY n'inclut pas l'IP minikube ({{.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": "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}}": "", "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 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 :", @@ -839,6 +849,7 @@ "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. Le module complémentaire GCP Auth nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. L'authentification GCP nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. L'authentification GCP nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "Vous avez choisi de désactiver le CNI mais le runtime du conteneur \\\"{{.name}}\\\" nécessite CNI", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "Vous avez sélectionné le pilote \"virtualbox\", mais il existe de meilleures options !\nPour de meilleures performances et une meilleure assistance, envisagez d'utiliser un autre pilote: {{.drivers}}\n\nPour désactiver cet avertissement, exécutez :\n\n\t $ minikube config set WantVirtualBoxDriverWarning false\n\n\nPour en savoir plus sur les pilotes minikube, consultez https://minikube.sigs.k8s.io/docs/drivers/\nPour voir les benchmarks, consultez https://minikube.sigs.k8s. io/docs/benchmarks/cpuusage/\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "Vous devrez peut-être supprimer la VM \"{{.name}}\" manuellement de votre hyperviseur.", @@ -866,6 +877,7 @@ "call with cleanup=true to remove old tunnels": "appelez avec cleanup=true pour supprimer les anciens tunnels", "cancel any existing scheduled stop requests": "annuler toutes les demandes d'arrêt programmées existantes", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "impossible de spécifier --kubernetes-version avec --no-kubernetes,\npour désactiver une configuration globale, exécutez :\n\n$ minikube config unset kubernetes-version", + "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "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}}", @@ -908,11 +920,13 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl introuvable. Si vous en avez besoin, essayez : 'minikube kubectl -- get pods -A'", "kubectl proxy": "proxy kubectl", "libmachine failed": "libmachine a échoué", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "la liste affiche tous les paramètres par défaut valides pour PROPERTY_NAME\nChamps acceptables : \\n\\n", "list versions of all components included with minikube. (the cluster must be running)": "répertorier les versions de tous les composants inclus avec minikube. (le cluster doit être en cours d'exécution)", "loading profile": "profil de chargement", "max time to wait per Kubernetes or host to be healthy.": "temps d'attente maximal par Kubernetes ou hôte pour être en bonne santé.", "minikube addons list --output OUTPUT. json, list": "liste des modules minikube --output OUTPUT. json, liste", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "minikube ne prend pas encore en charge le pilote de stockage BTRFS, il existe une solution de contournement, ajoutez l'indicateur suivant à votre commande de démarrage `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "minikube manque des fichiers relatifs à votre environnement invité. Cela peut être corrigé en exécutant 'minikube delete'", "minikube is not meant for production use. You are opening non-local traffic": "minikube n'est pas destiné à une utilisation en production. Vous ouvrez du trafic non local", @@ -934,10 +948,12 @@ "namespaces to unpause": "espaces de noms à réactiver", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "réseau avec lequel exécuter minikube. Maintenant, il est utilisé par les pilotes docker/podman et KVM. Si laissé vide, minikube créera un nouveau réseau.", "none driver does not support multi-node clusters": "aucun pilote ne prend pas en charge les clusters multi-nœuds", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "pas assez d'arguments ({{.ArgCount}}).\\nusage : minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "le nœud numa n'est pris en charge que sur k8s v1.18 et versions ultérieures", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "format de sortie (EXPERIMENTAL, JSON uniquement) : 'nodes' ou 'cluster'", "pause Kubernetes": "met Kubernetes en pause", + "preload extraction failed: \"No space left on device\"": "", "preload extraction failed: \\\"No space left on device\\\"": "échec de l'extraction du préchargement : \\\"Pas d'espace disponible sur l'appareil\\\"", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "profile définit le profil courrant de minikube, ou obtient le profil actuel si aucun argument n'est fourni. Ceci est utilisé pour exécuter et gérer plusieurs instances de minikube. Vous pouvez revenir au profil par défaut du minikube en exécutant `minikube profile default`", "provisioning host for node": "provisionne un hôte pour le nœud", @@ -949,6 +965,7 @@ "stat failed": "stat en échec", "status json failure": "état du JSON en échec", "status text failure": "état du texte en échec", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "toom tous les arguments ({{.ArgCount}}).\\nusage : jeu de configuration de minikube PROPERTY_NAME PROPERTY_VALUE", "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", diff --git a/translations/ja.json b/translations/ja.json index 431d324b57..3b81fad925 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "'{{.minikube_addon}}' アドオンが無効です", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "「{{.context}}」コンテキストが更新されて、{{.hostname}}:{{.port}} を指すようになりました", "\"{{.machineName}}\" does not exist, nothing to stop": "「{{.machineName}}」は存在しません。停止対象がありません", "\"{{.name}}\" profile does not exist, trying anyways.": "「{{.name}}」プロファイルは存在しませんが、それでも続行します。", @@ -20,7 +21,7 @@ "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- 使用していない {{.driver_name}} イメージ、ボリューム、ネットワーク、コンテナーを削除してください。\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "{{.driver_name}} サービスを再起動してください", "- {{.logPath}}": "- {{.logPath}}", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "--network フラグは、docker/podman および KVM ドライバーでのみ有効であるため、無視されます", "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": "", @@ -59,6 +60,7 @@ "Aliases": "エイリアス", "All existing scheduled stops cancelled": "既存のスケジュールされていたすべての停止がキャンセルされました", "Allow user prompts for more information": "ユーザーによる詳細情報の入力をできるようにします", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Docker イメージを取得するための代替イメージリポジトリー。これは、gcr.io へのアクセスが制限されている場合に使用できます。これを「auto」に設定すると、minikube によって自動的に指定されるようになります。中国本土のユーザーの場合、registry.cn-hangzhou.aliyuncs.com/google_containers などのローカル gcr.io ミラーを使用できます", "Alternatively you could install one of these drivers:": "代わりに、これらのドライバーのいずれかをインストールすることもできます:", "Amount of RAM to allocate to Kubernetes (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g).": "Kubernetes に割り当てられた RAM 容量 (形式: \u003cnumber\u003e[\u003cunit\u003e]、unit = b、k、m、g)。", @@ -299,7 +301,7 @@ "Force minikube to perform possibly dangerous operations": "minikube で危険性のある操作を強制的に実行します", "Format output. One of: short|table|json|yaml": "出力フォーマット。short|table|json|yaml のいずれか", "Format to print stdout in. Options include: [text,json]": "標準出力のフォーマット。選択肢: [text,json]", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "docker が見つかりましたが、docker サービスが稼働していません。docker サービスを再起動してみてください。", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "ドライバーが見つかりましたが、健全なものがありません。上記のインストール済みドライバーの修正方法の提示を参照してください。", "Found network options:": "ネットワークオプションが見つかりました:", @@ -440,6 +442,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "アルファベット、数字、ハイフン (-) のみ利用可能です。最小 1 文字、最初の文字はアルファベットか数字です。", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "アルファベット、数字、ハイフン (-) のみ利用可能です。最小 2 文字、最初の文字はアルファベットか数字です。", "Open the addons URL with https instead of http": "HTTP の代わりに HTTPS のアドオン URL を開く", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Open the service URL with https instead of http (defaults to \\\"false\\\")": "HTTP の代わりに HTTPS のサービス URL を開く (デフォルトは「false」)", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "デフォルトブラウザーで {{.namespace_name}}/{{.service_name}} Kubernetes サービスを開いています...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "デフォルトブラウザーで {{.namespace_name}}/{{.service_name}} サービスを開いています...", @@ -635,9 +638,11 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "「{{.name}}」クラスターが削除されました", "The \"{{.name}}\" cluster has been deleted.__1": "「{{.name}}」クラスターが削除されました", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "'none' ドライバーは既存 VM の統合が必要なエキスパートに向けて設計されています。", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "ドライバーに 'none' を指定すると、分離が制限され、システムのセキュリティーと信頼性が低下する可能性があります", "The '{{.addonName}}' addon is enabled": "'{{.addonName}}' アドオンが有効です", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "'{{.driver}}' ドライバーは権限昇格が必要です。次のコマンドを実行してください:\\n\\n{{ .example }}\\n", "The '{{.driver}}' provider was not found: {{.error}}": "'{{.driver}}' プロバイダーが見つかりません: {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "'{{.name}} ドライバーは複数のプロファイルをサポートしていません: https://minikube.sigs.k8s.io/docs/reference/drivers/none/", @@ -744,7 +749,9 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "このクラスターに接続するためには、kubectl --context={{.name}} を使用します", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "このクラスターに接続するためには、kubectl --context={{.profile_name}} を使用します", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "ベータ通知を無効にするためには、'minikube config set WantBetaUpdateNotification false' を実行します", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "この通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "全体的に更新通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "外部イメージを取得するためには、プロキシーを設定する必要があるかも知れません: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "他のプロファイル用のアドオン一覧を表示するためには、`minikube addons -p name list` を実行します", @@ -868,7 +875,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": "プロキシーを使用しようとしていますが、minikube の IP ({{.ip_address}}) が NO_PROXY 環境変数に含まれていません。詳細は {{.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": "WSL 内で Windows の .exe バイナリーを実行しようとしています。これより優れた統合として、Linux バイナリーを代わりに使用してください (https://minikube.sigs.k8s.io/docs/start/ でダウンロードしてください)。そうではなく、引き続きこのバイナリーを使用したい場合、--force オプションを使用してください", "You are trying to run amd64 binary on M1 system. Please consider running darwin/arm64 binary instead (Download at {{.url}}.)": "M1 システム上で amd64 バイナリーを実行しようとしています。darwin/arm64 バイナリーを代わりに実行することをご検討ください ({{.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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "You can also use 'minikube kubectl -- get pods' to invoke a matching version": "一致するバージョンを実行するために、'minikube kubectl -- get pods' も使用できます", "You can create one using 'minikube start'.\n\t\t": "", "You can delete them using the following command(s):": "次のコマンドで削除できます:", @@ -880,6 +887,7 @@ "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "既存の minikube クラスターに対して、メモリサイズを変更できません。最初にクラスターを削除してください。", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "関連する JSON がないサービスアカウントで認証しています。GCP Auth は、作業を続行するために JSON ファイル付きクレデンシャルを要求します。イメージ取得シークレットがインポートされました。", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "CNI 無効が選択されましたが、「{{.name}}」コンテナランタイムは CNI が必要です", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "「virtualbox」ドライバーが選択されましたが、より良い選択肢があります!\n性能と機能の向上のため、別のドライバー使用を検討してください: {{.drivers}}\n\nこの警告を表示させないためには、以下を実行してください:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nminikube ドライバーについてもっと知るためには、https://minikube.sigs.k8s.io/docs/drivers/ を確認してください。\nベンチマークについては https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/ を確認してください\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "ハイパーバイザーから「{{.name}}」VM を手動で削除することが必要かもしれません", @@ -910,6 +918,7 @@ "cancel any existing scheduled stop requests": "既存のスケジュール済み停止要求をキャンセルしてください", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "--kubernetes-version と --no-kubernetes を同時に指定できません。\nグローバル設定を解除するコマンド:\n\n$ minikube config unset kubernetes-version", "config modifies minikube config files using subcommands like \"minikube config set driver kvm\"\nConfigurable fields:\\n\\n": "config コマンドは「minikube config set driver kvm」のようにサブコマンドを使用して、minikube 設定ファイルを編集します。 \n設定可能なフィールド:\\n\\n", + "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "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}}", @@ -952,6 +961,7 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl が見つかりません。kubectl が必要な場合、'minikube kubectl -- get pods -A' を試してください", "kubectl proxy": "", "libmachine failed": "libmachine が失敗しました", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "PROPERTY_NAME 用の有効なデフォルト設定を全て表示します。\n受け入れ可能なフィールド:\\n\\n", "list versions of all components included with minikube. (the cluster must be running)": "minikube に含まれる全コンポーネントのバージョン一覧を出力します。(クラスターが実行中でなければなりません)", "loading profile": "プロファイルを読み込み中", @@ -959,7 +969,7 @@ "max time to wait per Kubernetes core services to be healthy.": "Kubernetes のコアサービスが正常稼働するまでの最大待機時間", "max time to wait per Kubernetes or host to be healthy.": "Kubernetes またはホストが正常稼働するまでの最大待機時間", "minikube addons list --output OUTPUT. json, list": "minikube addons list --output OUTPUT. json, list", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is exiting due to an error. If the above message is not useful, open an issue:": "minikube がエラーで終了しました。上記メッセージが有用でない場合、Issue を作成してください: ", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "minikube はあなたのゲスト環境に関連するファイルを見失いました。これは 'minikube delete' を実行することで修正できます", "minikube is not meant for production use. You are opening non-local traffic": "minikube は本番適用を意図されたものではありません。あなたは非ローカルのトラフィックを開こうとしています", @@ -983,11 +993,13 @@ "namespaces to unpause": "停止を解除する名前空間", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "minikube を実行するネットワーク。現時点では docker/podman と KVM ドライバーで使用されます。空の場合、minikube は新しいネットワークを作成します。", "none driver does not support multi-node clusters": "none ドライバーはマルチノードクラスターをサポートしていません", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}}) が不十分です。\\n使用方法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "NUMA ノードは k8s v1.18 以降でのみサポートされます", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "出力形式 (実験的、JSON のみ): 'nodes' または 'cluster'", "pause Kubernetes": "Kubernetes を一時停止させます", "pause containers": "コンテナーを一時停止させます", + "preload extraction failed: \"No space left on device\"": "", "preload extraction failed: \\\"No space left on device\\\"": "プリロードの展開に失敗しました: 「デバイスに空きスペースがありません」", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "profile は現在の minikube プロファイルを設定します (profile に引数を指定しない場合、現在のプロファイルを取得します)。このコマンドは複数の minikube インスタンスを管理するのに使用されます。`minikube profile default` でデフォルトの minikube プロファイルを返します", "provisioning host for node": "ノード用ホストの構築中", @@ -1001,6 +1013,7 @@ "stat failed": "stat に失敗しました", "status json failure": "status json に失敗しました", "status text failure": "status text に失敗しました", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}} 個) が多すぎます。\\n使用法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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 を参照してください", "tunnel makes services of type LoadBalancer accessible on localhost": "tunnel は LoadBalancer タイプのサービスを localhost からアクセス可能にします", diff --git a/translations/ko.json b/translations/ko.json index bc8ae87d68..021b9cf130 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "\"The '{{.minikube_addon}}' 이 비활성화되었습니다", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "\"{{.context}}\" 컨텍스트가 {{.hostname}}:{{.port}}로 갱신되었습니다.", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" 이 존재하지 않아, 중단할 것이 없습니다", "\"{{.name}}\" profile does not exist": "\"{{.name}}\" 프로필이 존재하지 않습니다", @@ -23,7 +24,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "- {{.driver_name}} 데몬이 충분한 CPU/메모리 리소스에 액세스할 수 있는지 확인합니다.", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "", "- Restart your {{.driver_name}} service": "{{.driver_name}} 서비스를 다시 시작하세요", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "", "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": "", @@ -61,7 +62,7 @@ "Aliases": "", "All existing scheduled stops cancelled": "예정된 모든 중지 요청이 취소되었습니다", "Allow user prompts for more information": "많은 정보를 위해 사용자 프롬프트를 허가합니다", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternatively you could install one of these drivers:": "", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g).": "minikube 가상 머신에 할당할 RAM 의 용량 (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)", "Amount of time to wait for a service in seconds": "", @@ -324,7 +325,7 @@ "Force minikube to perform possibly dangerous operations": "", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "네트워크 옵션을 찾았습니다", @@ -466,7 +467,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "", "Open the addons URL with https instead of http": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening {{.url}} in your default browser...": "", @@ -655,9 +656,10 @@ "The \"{{.driver_name}}\" driver requires root privileges. Please run minikube using 'sudo minikube --driver={{.driver_name}}'.": "\"{{.driver_name}}\" 드라이버는 root 권한으로 실행되어야 합니다. minikube 를 다음과 같이 실행하세요 'sudo minikube --driver={{.driver_name}}'", "The \"{{.driver_name}}\" driver should not be used with root privileges.": "\"{{.driver_name}}\" 드라이버는 root 권한으로 실행되면 안 됩니다", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The '{{.addonName}}' addon is enabled": "'{{.addonName}}' 애드온이 활성화되었습니다", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -673,7 +675,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "API 서버 수신 포트", "The argument to pass the minikube mount command on start.": "", @@ -746,8 +747,9 @@ "To connect to this cluster, use: --context={{.name}}": "", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "해당 알림을 비활성화하려면 다음 명령어를 실행하세요. 'minikube config set WantUpdateNotification false'", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -863,7 +865,7 @@ "With --network-plugin=cni, you will need to provide your own CNI. See --cni flag as a user-friendly alternative": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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):": "다음 명령어(들)을 사용하여 제거할 수 있습니다", @@ -874,7 +876,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -891,7 +893,6 @@ "Your minikube vm is not running, try minikube start.": "minikube 가상 머신이 실행 중이 아닙니다, minikube start 를 시도하세요", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "", @@ -902,7 +903,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "예정된 모든 중지 요청을 취소합니다", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", "config view failed": "config view 가 실패하였습니다", "containers paused status: {{.paused}}": "", "creating api client": "api 클라이언트 생성 중", @@ -946,7 +947,7 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl 을 찾을 수 없습니다. 만약 필요하다면, 'minikube kubectl -- get pods -A'를 시도합니다.", "kubectl proxy": "kubectl 프록시", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading config": "컨피그 로딩 중", "loading profile": "", @@ -954,7 +955,7 @@ "machine '{{.name}}' does not exist. Proceeding ahead with recreating VM.": "머신 '{{.name}}' 이 존재하지 않습니다. 진행하기 앞서 가상 머신을 재생성합니다", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", @@ -975,11 +976,11 @@ "namespaces to unpause": "재개하려는 네임스페이스", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "쿠버네티스를 잠시 멈춥니다", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "캐시된 이미지 다시 불러 오기", @@ -990,7 +991,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/pl.json b/translations/pl.json index 888d780c9b..2df9f0e409 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "", "\"{{.machineName}}\" does not exist, nothing to stop": "", "\"{{.minikube_addon}}\" was successfully disabled": "\"{{.minikube_addon}}\" został wyłączony", @@ -22,7 +23,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "", "- Restart your {{.driver_name}} service": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "", "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": "", @@ -59,7 +60,7 @@ "Aliases": "Aliasy", "All existing scheduled stops cancelled": "Wszystkie zaplanowane zatrzymania zostały anulowane", "Allow user prompts for more information": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternatively you could install one of these drivers:": "", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "Ilość zarezerwowanej pamięci RAM dla maszyny wirtualnej minikube (format: \u003cnumber\u003e[\u003cunit\u003e], gdzie jednostka to = b, k, m lub g)", "Amount of time to wait for a service in seconds": "Czas oczekiwania na serwis w sekundach", @@ -310,7 +311,7 @@ "Force minikube to perform possibly dangerous operations": "Wymuś wykonanie potencjalnie niebezpiecznych operacji", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "Wykryto opcje sieciowe:", @@ -458,6 +459,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Tylko znaki alfanumeryczne oraz myślniki '-' są dozwolone. Co najmniej jeden znak, zaczynając od znaku alfanumerycznego", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Tylko znaki alfanumeryczne oraz myślniki '-' są dozwolone. Co najmniej dwa znaki, zaczynając od znaku alfanumerycznego", "Open the addons URL with https instead of http": "Otwórz URL addonów używając protokołu https zamiast http", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Otwórz URL serwisu używając protokołu https zamiast http (domyślnie ma wartość fałsz)", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Otwieranie serwisu Kubernetesa {{.namespace_name}}/{{.service_name}} w domyślnej przeglądarce...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Otwieranie serwisu {{.namespace_name}}/{{.service_name}} w domyślnej przeglądarce...", @@ -657,9 +659,10 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges.": "", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "Klaster \"{{.name}}\" został usunięty.", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The '{{.addonName}}' addon is enabled": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -676,7 +679,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "API nasłuchuje na porcie:", "The argument to pass the minikube mount command on start.": "", @@ -758,8 +760,8 @@ "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Aby połaczyć się z klastrem użyj: kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", "To disable this notice, run: 'minikube config set WantUpdateNotification false'": "Aby wyłączyć tę notyfikację, użyj: 'minikube config set WantUpdateNotification false'", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -875,7 +877,7 @@ "With --network-plugin=cni, you will need to provide your own CNI. See --cni flag as a user-friendly alternative": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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": "", @@ -884,7 +886,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -900,7 +902,6 @@ "Your minikube vm is not running, try minikube start.": "", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "", @@ -911,7 +912,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "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 service is not running: {{.error}}": "", @@ -952,12 +953,12 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "", "kubectl proxy": "", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading profile": "Ładowanie profilu", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "minikube nie jest przeznaczony do użycia w środowisku produkcyjnym. Otwierasz klaster na ruch nielokalny", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "uzyskanie dostępu do Google Container Registry poprzez minikube nie powiodło się. Możliwe, że musisz skonfigurować ustawienia proxy HTTP w minikube", @@ -978,11 +979,12 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "sterownik none nie wspiera klastrów składających się z więcej niż jednego węzła", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Niewystarczająca ilośc argumentów ({{.ArgCount}}). \\nużycie: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "", @@ -993,7 +995,7 @@ "stat failed": "wykonanie komendy stat nie powiodło się", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/ru.json b/translations/ru.json index a399935794..b67363f978 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "\"Дополнение '{{.minikube_addon}}' выключено", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Контекст \"{{.context}}\" был обновлён и теперь указывает на {{.hostname}}:{{.port}}", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" не существует, нечего останавливать", "\"{{.name}}\" profile does not exist, trying anyways.": "Профиль \"{{.name}}\" не существует, но попробую.", @@ -17,7 +18,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "", "- Restart your {{.driver_name}} service": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "", "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", @@ -52,7 +53,7 @@ "Aliases": "", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternatively you could install one of these drivers:": "", "Amount of time to wait for a service in seconds": "", "Amount of time to wait for service in seconds": "", @@ -280,7 +281,7 @@ "Force minikube to perform possibly dangerous operations": "", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "", @@ -416,7 +417,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "", "Open the addons URL with https instead of http": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening {{.url}} in your default browser...": "", @@ -597,9 +598,10 @@ "Test docs have been saved at - {{.path}}": "", "The \"{{.driver_name}}\" driver should not be used with root privileges.": "", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The '{{.addonName}}' addon is enabled": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -615,7 +617,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "", "The argument to pass the minikube mount command on start.": "", @@ -688,8 +689,8 @@ "To connect to this cluster, use: --context={{.name}}": "", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -798,7 +799,7 @@ "With --network-plugin=cni, you will need to provide your own CNI. See --cni flag as a user-friendly alternative": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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": "", @@ -807,7 +808,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -822,7 +823,6 @@ "Your minikube vm is not running, try minikube start.": "", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "", @@ -833,7 +833,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "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 service is not running: {{.error}}": "", @@ -873,12 +873,12 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "", "kubectl proxy": "", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading profile": "", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", @@ -899,11 +899,11 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "", @@ -914,7 +914,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/strings.txt b/translations/strings.txt index 46e0e41bc0..a81e583068 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "", "\"{{.machineName}}\" does not exist, nothing to stop": "", "\"{{.name}}\" profile does not exist, trying anyways.": "", @@ -17,7 +18,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "", "- Restart your {{.driver_name}} service": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "", "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": "", @@ -52,7 +53,7 @@ "Aliases": "", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternatively you could install one of these drivers:": "", "Amount of time to wait for a service in seconds": "", "Amount of time to wait for service in seconds": "", @@ -280,7 +281,7 @@ "Force minikube to perform possibly dangerous operations": "", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "", @@ -416,7 +417,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "", "Open the addons URL with https instead of http": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening {{.url}} in your default browser...": "", @@ -597,9 +598,10 @@ "Test docs have been saved at - {{.path}}": "", "The \"{{.driver_name}}\" driver should not be used with root privileges.": "", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The '{{.addonName}}' addon is enabled": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -615,7 +617,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "", "The argument to pass the minikube mount command on start.": "", @@ -688,8 +689,8 @@ "To connect to this cluster, use: --context={{.name}}": "", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -798,7 +799,7 @@ "With --network-plugin=cni, you will need to provide your own CNI. See --cni flag as a user-friendly alternative": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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": "", @@ -807,7 +808,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -822,7 +823,6 @@ "Your minikube vm is not running, try minikube start.": "", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "", @@ -833,7 +833,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "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 service is not running: {{.error}}": "", @@ -873,12 +873,12 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "", "kubectl proxy": "", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading profile": "", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "", @@ -899,11 +899,11 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "", @@ -914,7 +914,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index b6f494a59a..fd3e7d2111 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -1,5 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "'{{.minikube_addon}}' 插件已被禁用", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" 不存在,没有什么可供停止的", "\"{{.minikube_addon}}\" was successfully disabled": "已成功禁用 \"{{.minikube_addon}}\"", @@ -24,7 +25,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "- 确保你的 {{.driver_name}} 守护程序有权访问足够的 CPU 和内存资源。", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "", "- Restart your {{.driver_name}} service": "- 重启你的 {{.driver_name}} 服务", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "", + "--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 and KVM drivers, it will be ignored": "", "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": "", @@ -66,6 +67,7 @@ "Aliases": "别名", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "允许用户提示以获取更多信息", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "用于从中拉取 docker 镜像的备选镜像存储库。如果您对 gcr.io 的访问受到限制,则可以使用该镜像存储库。将镜像存储库设置为“auto”可让 minikube 为您选择一个存储库。对于中国大陆用户,您可以使用本地 gcr.io 镜像,例如 registry.cn-hangzhou.aliyuncs.com/google_containers", "Alternatively you could install one of these drivers:": "", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "为 minikube 虚拟机分配的 RAM 容量(格式:\u003c数字\u003e[\u003c单位\u003e],其中单位 = b、k、m 或 g)", @@ -377,7 +379,7 @@ "Force minikube to perform possibly dangerous operations": "强制 minikube 执行可能有风险的操作", "Format output. One of: short|table|json|yaml": "", "Format to print stdout in. Options include: [text,json]": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "", + "Forwards all services in a namespace (defaults to \"false\")": "", "Found docker, but the docker service isn't running. Try restarting the docker service.": "", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "", "Found network options:": "找到的网络选项:", @@ -531,7 +533,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "", "Open the addons URL with https instead of http": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "", + "Open the service URL with https instead of http (defaults to \"false\")": "", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "正通过默认浏览器打开服务 {{.namespace_name}}/{{.service_name}}...", "Opening {{.url}} in your default browser...": "", @@ -741,11 +743,13 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "“{{.name}}”集群已删除。", "The \"{{.name}}\" cluster has been deleted.__1": "“{{.name}}”集群已删除。", + "The \"{{.name}}\" container runtime requires CNI": "", "The 'none' driver does not respect the --cpus flag": "'none' 驱动程序不遵循 --cpus 标志", "The 'none' driver does not respect the --memory flag": "'none' 驱动程序不遵循 --memory 标志", "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "“none”驱动程序提供有限的隔离功能,并且可能会降低系统安全性和可靠性。", "The '{{.addonName}}' addon is enabled": "启动 '{{.addonName}}' 插件", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "'{{.driver}}' 驱动程序需要提升权限,将执行以下命令:\\n\\n{{ .example }}\\n", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", @@ -763,7 +767,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "", - "The \\\"{{.name}}\\\" container runtime requires CNI": "", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "", "The apiserver listening port": "apiserver 侦听端口", "The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine": "在为 kubernetes 生成的证书中使用的 apiserver 名称。如果您希望将此 apiserver 设置为可从机器外部访问,则可以使用这组 apiserver 名称", @@ -849,8 +852,8 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "如需连接到此集群,请使用 kubectl --context={{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "", @@ -982,7 +985,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "", "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 trying to run the amd64 binary on an M1 system.\nPlease consider running the darwin/arm64 binary instead.\nDownload at {{.url}}": "", "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": "", @@ -991,7 +994,7 @@ "You cannot change the disk size for an existing minikube cluster. Please first delete the cluster.": "", "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "您可能需要从管理程序中手动移除“{{.name}}”虚拟机", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "", @@ -1006,7 +1009,6 @@ "Your minikube vm is not running, try minikube start.": "", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "", "addon enable failed": "启用插件失败", @@ -1018,7 +1020,7 @@ "call with cleanup=true to remove old tunnels": "", "cancel any existing scheduled stop requests": "", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \\n\\n": "", + "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 service is not running: {{.error}}": "", @@ -1058,13 +1060,13 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "", "kubectl proxy": "", "libmachine failed": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", "list versions of all components included with minikube. (the cluster must be running)": "", "loading profile": "", "max time to wait per Kubernetes core services to be healthy.": "每个 Kubernetes 核心服务保持健康所需的最长时间。", "max time to wait per Kubernetes or host to be healthy.": "", "minikube addons list --output OUTPUT. json, list": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", "minikube is exiting due to an error. If the above message is not useful, open an issue:": "由于出错 minikube 正在退出。如果以上信息没有帮助,请提交问题反馈:", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "", "minikube is not meant for production use. You are opening non-local traffic": "", @@ -1087,12 +1089,12 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", "pause containers": "暂停容器", - "preload extraction failed: \\\"No space left on device\\\"": "", + "preload extraction failed: \"No space left on device\"": "", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "", "provisioning host for node": "", "reload cached images.": "重新加载缓存的镜像", @@ -1103,7 +1105,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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": "", From 4ab16708f446844d720e788ab8e77164eeddc876 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:17:46 -0700 Subject: [PATCH 62/72] reconcile translations after extracting escape characters fix --- cmd/minikube/cmd/config/set.go | 2 +- translations/de.json | 41 +++++++++----------------- translations/es.json | 11 ++++--- translations/fr.json | 54 ++++++++++++---------------------- translations/ja.json | 40 +++++++++---------------- translations/ko.json | 7 ++--- translations/pl.json | 10 +++---- translations/ru.json | 2 +- translations/strings.txt | 2 +- translations/zh-CN.json | 10 +++---- 10 files changed, 66 insertions(+), 113 deletions(-) diff --git a/cmd/minikube/cmd/config/set.go b/cmd/minikube/cmd/config/set.go index b7422c9e95..6593dc2897 100644 --- a/cmd/minikube/cmd/config/set.go +++ b/cmd/minikube/cmd/config/set.go @@ -36,7 +36,7 @@ var configSetCmd = &cobra.Command{ exit.Message(reason.Usage, "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE", out.V{"ArgCount": len(args)}) } if len(args) > 2 { - exit.Message(reason.Usage, "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE", out.V{"ArgCount": len(args)}) + exit.Message(reason.Usage, "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE", out.V{"ArgCount": len(args)}) } err := Set(args[0], args[1]) if err != nil { diff --git a/translations/de.json b/translations/de.json index e69121febd..10a3c5896e 100644 --- a/translations/de.json +++ b/translations/de.json @@ -1,6 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "Das {{.minikube_addon}} Addon ist deaktiviert", - "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "\"minikube cache\" wird in der nächsten Version veraltet (deprecated) sein, bitte wechsle zu \"minikube image load\"", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Der Kontext \"{{.context}}\" wurde aktualisiert, um auf {{.hostname}}:{{.port}} zu zeigen", "\"{{.machineName}}\" does not exist, nothing to stop": "\"{{.machineName}}\" existiert nicht, nichts zum Stoppen", "\"{{.name}}\" profile does not exist, trying anyways.": "Das Profil \"{{.name}}\" existiert nicht, versuche dennoch.", @@ -18,8 +18,7 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "Stellen Sie sicher, dass der {{.driver_name}} Daemon genug CPU/RAM Resourcen zur Verfügung hat.", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Unnötige {{.driver_name}} Images, Volumes, Netzwerke und nicht mehr verwendete Container aufräumen.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "Starten Sie den {{.driver_name}} Service neu", - "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime muss für rootless auf \\\"containerd\\\" oder \\\"cri-o\\\" gesetzt sein", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "--container-runtime muss für rootless auf \"containerd\" oder \"cri-o\" gesetzt sein", "--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", "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", @@ -58,8 +57,7 @@ "Aliases": "Aliase", "All existing scheduled stops cancelled": "Alle derzeit existierenden und geplanten Stops wurden storniert.", "Allow user prompts for more information": "Benutzer-Eingabeaufforderungen für zusätzliche Informationen zulassen", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Alternatives Bild-Repository zum Abrufen von Docker-Images. Dies ist hilfreich, wenn Sie nur eingeschränkten Zugriff auf gcr.io haben. Stellen Sie \\\"auto\\\" ein, dann wählt minikube eins für sie aus. Nutzer vom chinesischen Festland können einen lokalen gcr.io-Mirror wie registry.cn-hangzhou.aliyuncs.com/google_containers verwenden.", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Alternatives Bild-Repository zum Abrufen von Docker-Images. Dies ist hilfreich, wenn Sie nur eingeschränkten Zugriff auf gcr.io haben. Stellen Sie \"auto\" ein, dann wählt minikube eins für sie aus. Nutzer vom chinesischen Festland können einen lokalen gcr.io-Mirror wie registry.cn-hangzhou.aliyuncs.com/google_containers verwenden.", "Alternatively you could install one of these drivers:": "Alternativ könnten Sie einen dieser Treiber installieren:", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "Größe des der minikube-VM zugewiesenen Arbeitsspeichers (Format: \u003cNummer\u003e [\u003cEinheit\u003e], wobei Einheit = b, k, m oder g)", "Amount of time to wait for a service in seconds": "Zeit in Sekunden, die auf einen Service gewartet werden soll", @@ -445,8 +443,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Nur alphanumerische Werte und Striche sind erlaubt '-'. Minimum 1 Zeichen, muss mit alphanumerisch anfangen.", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Nur alphanumerische Werte und Striche sind erlaubt '-'. Minimum 2 Zeichen, muss mit alphanumerisch anfangen.", "Open the addons URL with https instead of http": "Öffnen Sie die URL des Addons mit https anstelle von http", - "Open the service URL with https instead of http (defaults to \"false\")": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Öffne die Service URL mit https anstelle von http (default: \\\"false\\\")", + "Open the service URL with https instead of http (defaults to \"false\")": "Öffne die Service URL mit https anstelle von http (default: \"false\")", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Öffne Kubernetes service {{.namespace_name}}/{{.service_name}} im Default-Browser...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Öffne Service {{.namespace_name}}/{{.service_name}} im Default-Browser...", "Opening {{.url}} in your default browser...": "Öffne {{.url}} im Default-Browser...", @@ -640,12 +637,11 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "Der Cluster \"{{.name}}\" wurde gelöscht.", "The \"{{.name}}\" cluster has been deleted.__1": "Der Cluster \"{{.name}}\" wurde gelöscht.", - "The \"{{.name}}\" container runtime requires CNI": "", + "The \"{{.name}}\" container runtime requires CNI": "Die Container Runtime \\\"{{.name}}\\\" erfordert ein CNI", "The 'none' driver is designed for experts who need to integrate with an existing VM": "Der Treiber \"Keine\" ist für Experten designed, die mit einer existierenden VM integrieren müssen", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "Der Treiber \"Keine\" bietet eine eingeschränkte Isolation und beeinträchtigt möglicherweise Sicherheit und Zuverlässigkeit des Systems.", "The '{{.addonName}}' addon is enabled": "Das Addon {{.addonName}} ist aktiviert", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "Der Treiber {{.driver}} benötigt höhere Berechtigungen. Die folgenden Befehle werden ausgeführt:\\n\\n{{ .example }}\\n", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "Der Treiber {{.driver}} benötigt höhere Berechtigungen. Die folgenden Befehle werden ausgeführt:\n\n{{ .example }}\n", "The '{{.driver}}' provider was not found: {{.error}}": "Der Provider des Treibers {{.driver}} wurde nicht gefunden: {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "Der Treiber '{{.name}} unterstützt keine mehrfach Profile: https://minikube.sigs.k8s.io/docs/reference/drivers/none/", "The '{{.name}}' driver does not respect the --cpus flag": "Der {{.name}} Treiber respektiert den Parameter --cpus nicht", @@ -664,7 +660,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "Der VM Treiber ist abgestürzt. Starte 'minikube start --alsologtostderr -v=8' um die Fehlermeldung des VM Treibers zu sehen", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "Der VM Treiber wurde mit Fehler beendet und ist möglicherweise defekt. Führe 'minikube start' mit --alsologtostderr -v=8 aus um den Fehler zu sehen", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "Die VM, für welche Minikube konfiguriert wurde, existiert nicht mehr. Führe 'minikube delete' aus", - "The \\\"{{.name}}\\\" container runtime requires CNI": "Die Container Runtime \\\"{{.name}}\\\" erfordert ein CNI", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "Das Ambassador Addon funktioniert seit v1.23.0 nicht mehr. Weitere Details finden sich hier: https://github.com/datawire/ambassador-operator/issues/73", "The apiserver listening port": "Der Überwachungsport des API-Servers", "The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine": "Der API-Servername, der im generierten Zertifikat für Kubernetes verwendet wird. Damit kann der API-Server von außerhalb des Computers verfügbar gemacht werden.", @@ -750,10 +745,8 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "Verwenden Sie zum Herstellen einer Verbindung zu diesem Cluster: kubectl --context = {{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Verwenden Sie zum Herstellen einer Verbindung zu diesem Cluster: kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Um Beta-Hinweise zu deaktivieren, starte: 'minikube config set WantBetaUpdateNotification false'", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "Um diesen Hinweis zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\\n", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Um Hinweise generell zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\\n", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "Um diesen Hinweis zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "Um Hinweise generell zu deaktivieren, starte: 'minikube config set WantUpdateNotification false'\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Um neue externe Images zu ziehen, müsste eventuell ein Proxy konfiguriert werden: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "Um die Addon-List für andere Profile anzusehen, verwende: `minikube addons -p name list`", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "Um das Google Cloud project zu setzten, starte:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\noder setze die Umgebungsvariabel GOOGLE_CLOUD_PROJECT.", @@ -880,8 +873,7 @@ "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "Die Speichergröße eines existierenden Minikube Clusters kann nicht geändert werden. Bitte löschen Sie den Cluster zuerst.", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "Sie haben sich mit einem Service Account authentifiziert, welcher kein zugehöriges JSON besitzt. GCP Auth benötigt Zugangsdaten in einer JSON-Datei um weitermachen zu können. Das Image Pull Secret wurde importiert.", - "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "Sie haben den CNI Treiber deaktiviert, aber die \\\"{{.name}}\\\" Container Laufzeitumgebung benötigt ein CNI", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "Sie haben den CNI Treiber deaktiviert, aber die \"{{.name}}\" Container Laufzeitumgebung benötigt ein CNI", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "Sie haben den \"virtualbox\" Treiber ausgewählt, aber es existieren bessere Möglichkeiten !\nFür eine bessere Performanz und besseren Support erwägen Sie die Verwendung eines anderen Treibers: {{.drivers}}\n\nUm diese Warnung zu deaktivieren, führen Sie folgendes aus:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nUm mehr über die Minikube-Treiber zu erfahren, lesen Sie https://minikube.sigs.k8s.io/docs/drivers/\nZu Benchmarks lesen Sie https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "Möglicherweise müssen Sie die VM \"{{.name}}\" manuell von Ihrem Hypervisor entfernen", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "Möglicherweise müssen Sie den Hyper-V Manager stoppen und `minikube delete` erneut ausführen.", @@ -897,7 +889,6 @@ "Your minikube vm is not running, try minikube start.": "Die Minikube VM läuft nicht, versuche minikube start.", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "Ihrem Benutzer fehlen die Rechte zum Minikube Profile Verzeichnis. Führe 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' zum Reparieren aus", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "[WARNUNG] Um die volle Funktionalität zu erreichen, benötigt das 'csi-hostpath-driver' Addon, dass das 'volumesnapshots' Addon aktiviert ist.\n\nDas 'volumesnapshots' addon kann folgendermaßen aktiviert werden: 'minikube addons enable volumesnapshots'\n", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "\\\"minikube cache\\\" wird in der nächsten Version veraltet (deprecated) sein, bitte wechsle zu \\\"minikube image load\\\"", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "Addon '{{.name}}' ist derzeit nicht aktiviert.\nUm es zu aktivieren, führe Folgendes aus:\nminikube addons enable {{.name}}", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "Addon '{{.name}}' ist kein valides Addon welches mit Minikube paketiert ist.\nUm eine Liste der verfügbaren Addons anzuzeigen, führe Folgendes aus:\nminikube addons list", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "addons modifiziert Minikube Addon Dateien mittels Unter-Befehlen wie \"minikube addons enable dashboard\"", @@ -908,8 +899,7 @@ "call with cleanup=true to remove old tunnels": "Rufe mit cleanup=true auf auf, um alte Tunnel zu entfernen", "cancel any existing scheduled stop requests": "halte alle existierenden, geplanten Stop Requests ab", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "die --kubernetes-version kann nicht angegeben werden, wenn --no-kubernetes verwendet wird,\nzum Löschen der Einstellung in der globalen Konfiguration führe Folgendes aus:\n\n$ minikube config unset kubernetes-version", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", - "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 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 service is not running: {{.error}}": "Dashboard Service läuft nicht: {{.error}}", @@ -951,8 +941,7 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl nicht gefunden. Falls Sie es benötigen, versuchen Sie 'minikube kubectl -- get pods -A' aufzurufen", "kubectl proxy": "", "libmachine failed": "libmachine fehlgeschlagen", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "Zeigt einer Liste aller validen Standard-Einstellungen (default-Werte) für das Property PROPERTY_NAME\nAkzeptierte Felder: \\n\\n", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "Zeigt einer Liste aller validen Standard-Einstellungen (default-Werte) für das Property PROPERTY_NAME\nAkzeptierte Felder: \n\n", "list versions of all components included with minikube. (the cluster must be running)": "Liste alle Versionen der Komponenten die in Minikube enthalten sind.", "loading profile": "Lade Profil", "max time to wait per Kubernetes or host to be healthy.": "maximale Zeit die gewartet werden soll, bis Kubernetes oder der Host als funktional angesehen soll.", @@ -979,8 +968,7 @@ "namespaces to unpause": "Namespaces, die fortgesetzt werden sollen", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "Netzwerk, welches Minikube verwenden soll. Derzeit wird dies vom docker/podman-Treiber und dem KVM Treiber unterstützt. Falls keines angeben wird, wird Minikube ein neues Netzwerk anlegen.", "none driver does not support multi-node clusters": "Der 'none'-Treiber unterstützt keine Multi-Node Cluster", - "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "nicht genug Argumente ({{.ArgCount}}).\\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "nicht genug Argumente ({{.ArgCount}}).\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "Numa Node wird nur von k8s Version v1.18 oder später unterstützt", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "Ausgabe Layout (EXPERIMENTELL, nur JSON): 'nodes' oder 'clusters'", "pause Kubernetes": "pausiere Kubernetes", @@ -996,8 +984,7 @@ "stat failed": "state Fehler", "status json failure": "Status json Fehler", "status text failure": "Status text Fehler", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Zu viele Parameter ({{.ArgCount}}).\\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Zu viele Parameter ({{.ArgCount}}).\\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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}}", @@ -1049,4 +1036,4 @@ "{{.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!", "{{.url}} is not accessible: {{.error}}": "Fehler beim Zugriff auf {{.url}}: {{.error}}" -} \ No newline at end of file +} diff --git a/translations/es.json b/translations/es.json index 21ad1b02f0..120bfb931c 100644 --- a/translations/es.json +++ b/translations/es.json @@ -19,8 +19,8 @@ "- Ensure your {{.driver_name}} daemon has access to enough CPU/memory resources.": "Garantiza que {{.driver_name}} posee suficientes recursos de CPU/Memoria", "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Recorta las imágenes, volumenes, redes y contenedores abandonados de {{.driver_name}}.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "- Reinicia el servicio {{.driver_name}}", - "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime debe ser configurado a \\\"containerd\\\" o \\\"crio-o\\\" para no usar usuario root", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "--container-runtime debe ser configurado a \"containerd\" o \"crio-o\" para no usar usuario root", + "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": , "--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", "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": "", @@ -60,8 +60,7 @@ "Aliases": "Aliases", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "Permitir que el usuario solicite más información", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Repositorio de imágenes alternativo del que extraer imágenes de Docker. Puedes usarlo cuando tengas acceso limitado a gcr.io. Si quieres que minikube elija uno por ti, solo tienes que definir el valor como \"auto\". Los usuarios de China continental pueden utilizar réplicas locales de gcr.io, como registry.cn-hangzhou.aliyuncs.com/google_containers", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Repositorio de imágenes alternativo del que extraer imágenes de Docker. Puedes usarlo cuando tengas acceso limitado a gcr.io. Si quieres que minikube elija uno por ti, solo tienes que definir el valor como \"auto\". Los usuarios de China continental pueden utilizar réplicas locales de gcr.io, como registry.cn-hangzhou.aliyuncs.com/google_containers", "Alternatively you could install one of these drivers:": "Alternativamente, puede installar uno de estos drivers:", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "Cantidad de RAM asignada a la VM de minikube (formato: \u003cnúmero\u003e[\u003cunidad\u003e], donde unidad = b, k, m o g)", "Amount of time to wait for a service in seconds": "Cantidad de tiempo para esperar por un servicio en segundos", @@ -982,7 +981,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", @@ -1032,4 +1031,4 @@ "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "" -} \ No newline at end of file +} diff --git a/translations/fr.json b/translations/fr.json index da46aeaff5..77f3299e85 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -1,7 +1,7 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "Le module \"{{.minikube_addon}}\" est désactivé", - "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", - "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Le contexte \"{{.context}}\" a été mis à jour pour pointer vers {{.hostname}}:{{.port}}", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "\"minikube cache\" sera obsolète dans les prochaines versions, veuillez passer à \"minikube image load\"", + \"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Le contexte \"{{.context}}\" a été mis à jour pour pointer vers {{.hostname}}:{{.port}}", "\"{{.machineName}}\" does not exist, nothing to stop": "La machine \"{{.machineName}} n'existe pas, rien a arrêter", "\"{{.name}}\" profile does not exist, trying anyways.": "Le profil \"{{.name}}\" n'existe pas, tentative de suppression quand même.", "'none' driver does not support 'minikube docker-env' command": "Le pilote 'none' ne prend pas en charge la commande 'minikube docker-env'", @@ -19,8 +19,7 @@ "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Nettoyer les images {{.driver_name}} non utilisées, les volumes, les réseaux et les conteneurs abandonnées.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "- Redémarrer votre service {{.driver_name}}", "- {{.logPath}}": "- {{.logPath}}", - "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": "--container-runtime doit être défini sur \\\"containerd\\\" ou \\\"cri-o\\\" pour utilisateur normal", + "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "--container-runtime doit être défini sur \"containerd\" ou \"cri-o\" pour utilisateur normal", "--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": "le drapeau --network est valide uniquement avec les pilotes docker/podman et KVM, il va être ignoré", "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", @@ -60,8 +59,7 @@ "Aliases": "Alias", "All existing scheduled stops cancelled": "Tous les arrêts programmés existants annulés", "Allow user prompts for more information": "Autoriser les utilisateurs à saisir plus d'informations", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Autre dépôt d'images d'où extraire des images Docker. Il peut être utilisé en cas d'accès limité à gcr.io. Définissez-le sur \\\"auto\\\" pour permettre à minikube de choisir la valeur à votre place. Pour les utilisateurs situés en Chine continentale, vous pouvez utiliser des miroirs gcr.io locaux tels que registry.cn-hangzhou.aliyuncs.com/google_containers.", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Autre dépôt d'images d'où extraire des images Docker. Il peut être utilisé en cas d'accès limité à gcr.io. Définissez-le sur \"auto\" pour permettre à minikube de choisir la valeur à votre place. Pour les utilisateurs situés en Chine continentale, vous pouvez utiliser des miroirs gcr.io locaux tels que registry.cn-hangzhou.aliyuncs.com/google_containers.", "Alternatively you could install one of these drivers:": "Vous pouvez également installer l'un de ces pilotes :", "Amount of time to wait for a service in seconds": "Temps d'attente pour un service en secondes", "Amount of time to wait for service in seconds": "Temps d'attente pour un service en secondes", @@ -294,8 +292,7 @@ "Force minikube to perform possibly dangerous operations": "Oblige minikube à réaliser des opérations possiblement dangereuses.", "Format output. One of: short|table|json|yaml": "Format de sortie. L'un des suivants : short|table|json|yaml", "Format to print stdout in. Options include: [text,json]": "Format dans lequel imprimer la sortie standard. Les options incluent : [text,json]", - "Forwards all services in a namespace (defaults to \"false\")": "", - "Forwards all services in a namespace (defaults to \\\"false\\\")": "Transfère tous les services dans un espace de noms (par défaut à \\\"false\\\")", + "Forwards all services in a namespace (defaults to \"false\")": "Transfère tous les services dans un espace de noms (par défaut à \"false\")", "Found docker, but the docker service isn't running. Try restarting the docker service.": "Docker trouvé, mais le service docker ne fonctionne pas. Essayez de redémarrer le service Docker.", "Found driver(s) but none were healthy. See above for suggestions how to fix installed drivers.": "Pilote(s) trouvé(s) mais aucun n'était en fonctionnement. Voir ci-dessus pour des suggestions sur la façon de réparer les pilotes installés.", "Found network options:": "Options de réseau trouvées :", @@ -433,15 +430,14 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Seuls les caractères alphanumériques et les tirets '-' sont autorisés. Minimum 1 caractère, commençant par alphanumérique.", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Seuls les caractères alphanumériques et les tirets '-' sont autorisés. Minimum 2 caractères, commençant par alphanumérique.", "Open the addons URL with https instead of http": "Ouvrez l'URL des modules avec https au lieu de http", - "Open the service URL with https instead of http (defaults to \"false\")": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Ouvrez l'URL du service avec https au lieu de http (par défaut \\\"false\\\")", + "Open the service URL with https instead of http (defaults to \"false\")": "Ouvrez l'URL du service avec https au lieu de http (par défaut \"false\")", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Ouverture du service Kubernetes {{.namespace_name}}/{{.service_name}} dans le navigateur par défaut...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Ouverture du service {{.namespace_name}}/{{.service_name}} dans le navigateur par défaut...", "Opening {{.url}} in your default browser...": "Ouverture de {{.url}} dans votre navigateur par défaut...", "Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list ": "Ouvre le module avec ADDON_NAME dans minikube (exemple : minikube addons open dashboard). Pour une liste des modules disponibles, utilisez: minikube addons list", "Operations on nodes": "Opérations sur les nœuds", "Options: {{.options}}": "Options: {{.options}}", - "Output format. Accepted values: [json, yaml]": "", + "Output format. Accepted values: [json, yaml]": "Format de sortie. Valeurs acceptées : [json, yaml]", "Output format. Accepted values: [json]": "Format de sortie. Valeurs acceptées : [json]", "Outputs minikube shell completion for the given shell (bash, zsh or fish)\n\n\tThis depends on the bash-completion binary. Example installation instructions:\n\tOS X:\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # for bash users\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # for zsh users\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t\t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # for bash users\n\t\t$ source \u003c(minikube completion zsh) # for zsh users\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # for fish users\n\n\tAdditionally, you may want to output the completion to a file and source in your .bashrc\n\n\tNote for zsh users: [1] zsh completions are only supported in versions of zsh \u003e= 5.2\n\tNote for fish users: [2] please refer to this docs for more details https://fishshell.com/docs/current/#tab-completion\n": "Affiche la complétion du shell minikube pour le shell donné (bash, zsh ou fish)\n\n\tCela dépend du binaire bash-completion. Exemple d'instructions d'installation :\n\tOS X :\n\t\t$ brew install bash-completion\n\t\t$ source $(brew --prefix)/etc/bash_completion\n\t\t$ minikube completion bash \u003e ~/.minikube-completion # pour les utilisateurs bash\n\t\t$ minikube completion zsh \u003e ~/.minikube-completion # pour les utilisateurs zsh\n\t\t$ source ~/.minikube-completion\n\t\t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\tUbuntu:\n\t\t$ apt-get install bash-completion\n\t \t$ source /etc/bash_completion\n\t\t$ source \u003c(minikube completion bash) # pour les utilisateurs bash\n\t\t$ source \u003c(minikube completion zsh) # pour les utilisateurs zsh\n\t \t$ minikube completion fish \u003e ~/.config/fish/completions/minikube.fish # pour les utilisateurs de fish\n\n\tDe plus, vous voudrez peut-être sortir la complétion dans un fichier et une source dans votre .bashrc\n n\tRemarque pour les utilisateurs de zsh : [1] les complétions zsh ne sont prises en charge que dans les versions de zsh \u003e= 5.2\n\tRemarque pour les utilisateurs de fish : [2] veuillez vous référer à cette documentation pour plus de détails https://fishshell.com/docs/current/#tab-completion\n", "Overwrite image even if same image:tag name exists": "Écraser l'image même si la même image:balise existe", @@ -625,11 +621,10 @@ "Test docs have been saved at - {{.path}}": "Les documents de test ont été enregistrés à - {{.path}}", "The \"{{.driver_name}}\" driver should not be used with root privileges.": "Le pilote \"{{.driver_name}}\" ne doit pas être utilisé avec les privilèges root.", "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "Le pilote \"{{.driver_name}}\" ne doit pas être utilisé avec les privilèges root. Si vous souhaitez continuer en tant que root, utilisez --force.", - "The \"{{.name}}\" container runtime requires CNI": "", + "The \"{{.name}}\" container runtime requires CNI": "L'environnement d'exécution du conteneur \"{{.name}}\" nécessite CNI", "The 'none' driver is designed for experts who need to integrate with an existing VM": "Le pilote 'none' est conçu pour les experts qui doivent s'intégrer à une machine virtuelle existante", "The '{{.addonName}}' addon is enabled": "Le module '{{.addonName}}' est activé", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "Le pilote '{{.driver}}' nécessite des autorisations élevées. Les commandes suivantes seront exécutées :\\n\\n{{ .example }}\\n", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "Le pilote '{{.driver}}' nécessite des autorisations élevées. Les commandes suivantes seront exécutées :\n\n{{ .example }}\n", "The '{{.driver}}' provider was not found: {{.error}}": "Le fournisseur '{{.driver}}' n'a pas été trouvé : {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "Le pilote '{{.name}}' ne prend pas en charge plusieurs profils : https://minikube.sigs.k8s.io/docs/reference/drivers/none/", "The '{{.name}}' driver does not respect the --cpus flag": "Le pilote '{{.name}}' ne respecte pas l'indicateur --cpus", @@ -647,7 +642,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "Le pilote VM s'est écrasé. Exécutez 'minikube start --alsologtostderr -v=8' pour voir le message d'erreur du pilote VM", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "Le pilote VM s'est terminé avec une erreur et est peut-être corrompu. Exécutez 'minikube start' avec --alsologtostderr -v=8 pour voir l'erreur", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "La machine virtuelle pour laquelle minikube est configuré n'existe plus. Exécutez 'minikube delete'", - "The \\\"{{.name}}\\\" container runtime requires CNI": "L'environnement d'exécution du conteneur \\\"{{.name}}\\\" nécessite CNI", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "Le module Ambassador a cessé de fonctionner à partir de la v1.23.0, pour plus de détails, visitez : https://github.com/datawire/ambassador-operator/issues/73", "The apiserver listening port": "Port d'écoute du serveur d'API.", "The argument to pass the minikube mount command on start.": "L'argument pour passer la commande de montage minikube au démarrage.", @@ -721,8 +715,7 @@ "To connect to this cluster, use: --context={{.name}}": "Pour vous connecter à ce cluster, utilisez : --context={{.name}}", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Pour vous connecter à ce cluster, utilisez : kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Pour désactiver les notifications bêta, exécutez : 'minikube config set WantBetaUpdateNotification false'", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver cette notification, exécutez : 'minikube config set WantUpdateNotification false'\\n", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "Pour désactiver cette notification, exécutez : 'minikube config set WantUpdateNotification false'\n", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Pour extraire de nouvelles images externes, vous devrez peut-être configurer un proxy : https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", @@ -837,8 +830,7 @@ "You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}).": "Vous semblez utiliser un proxy, mais votre environnement NO_PROXY n'inclut pas l'IP minikube ({{.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": "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}}": "", - "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 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 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 :", "You can force an unsupported Kubernetes version via the --force flag": "Vous pouvez forcer une version Kubernetes non prise en charge via l'indicateur --force", @@ -849,8 +841,7 @@ "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. Le module complémentaire GCP Auth nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. L'authentification GCP nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "Vous vous êtes authentifié avec un compte de service qui n'a pas de fichier JSON associé. L'authentification GCP nécessite des informations d'identification avec un fichier JSON pour continuer. Le secret d'extraction d'image a été importé.", - "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "Vous avez choisi de désactiver le CNI mais le runtime du conteneur \\\"{{.name}}\\\" nécessite CNI", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "Vous avez choisi de désactiver le CNI mais le runtime du conteneur \"{{.name}}\" nécessite CNI", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "Vous avez sélectionné le pilote \"virtualbox\", mais il existe de meilleures options !\nPour de meilleures performances et une meilleure assistance, envisagez d'utiliser un autre pilote: {{.drivers}}\n\nPour désactiver cet avertissement, exécutez :\n\n\t $ minikube config set WantVirtualBoxDriverWarning false\n\n\nPour en savoir plus sur les pilotes minikube, consultez https://minikube.sigs.k8s.io/docs/drivers/\nPour voir les benchmarks, consultez https://minikube.sigs.k8s. io/docs/benchmarks/cpuusage/\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "Vous devrez peut-être supprimer la VM \"{{.name}}\" manuellement de votre hyperviseur.", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "Vous devrez peut-être arrêter le gestionnaire Hyper-V et exécuter à nouveau 'minikube delete'.", @@ -866,7 +857,6 @@ "Your minikube vm is not running, try minikube start.": "Votre minikube vm ne fonctionne pas, essayez de démarrer minikube.", "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "Votre utilisateur n'a pas d'autorisations sur le répertoire de profil minikube. Exécutez : 'sudo chown -R $USER $HOME/.minikube ; chmod -R u+wrx $HOME/.minikube' pour corriger", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "[AVERTISSEMENT] Pour une fonctionnalité complète, le module 'csi-hostpath-driver' nécessite que le module 'volumesnapshots' soit activé.\n\nVous pouvez activer le module 'volumesnapshots' en exécutant : 'minikube addons enable volumesnapshots'\n", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "\\\"minikube cache\\\" sera obsolète dans les prochaines versions, veuillez passer à \\\"minikube image load\\\"", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "Le module '{{.name}}' n'est actuellement pas activé.\nPour activer ce module, exécutez :\nminikube addons enable {{.name}}", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "Le module '{{.name}}' n'est pas un module valide fourni avec minikube.\nPour voir la liste des modules disponibles, exécutez :\nminikube addons list", "addons modifies minikube addons files using subcommands like \"minikube addons enable dashboard\"": "addons modifie les fichiers de modules minikube à l'aide de sous-commandes telles que \"minikube addons enable dashboard\"", @@ -877,8 +867,7 @@ "call with cleanup=true to remove old tunnels": "appelez avec cleanup=true pour supprimer les anciens tunnels", "cancel any existing scheduled stop requests": "annuler toutes les demandes d'arrêt programmées existantes", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "impossible de spécifier --kubernetes-version avec --no-kubernetes,\npour désactiver une configuration globale, exécutez :\n\n$ minikube config unset kubernetes-version", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", - "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 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 service is not running: {{.error}}": "le service de tableau de bord ne fonctionne pas : {{.error}}", @@ -920,14 +909,12 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl introuvable. Si vous en avez besoin, essayez : 'minikube kubectl -- get pods -A'", "kubectl proxy": "proxy kubectl", "libmachine failed": "libmachine a échoué", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "la liste affiche tous les paramètres par défaut valides pour PROPERTY_NAME\nChamps acceptables : \\n\\n", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "la liste affiche tous les paramètres par défaut valides pour PROPERTY_NAME\nChamps acceptables : \n\n", "list versions of all components included with minikube. (the cluster must be running)": "répertorier les versions de tous les composants inclus avec minikube. (le cluster doit être en cours d'exécution)", "loading profile": "profil de chargement", "max time to wait per Kubernetes or host to be healthy.": "temps d'attente maximal par Kubernetes ou hôte pour être en bonne santé.", "minikube addons list --output OUTPUT. json, list": "liste des modules minikube --output OUTPUT. json, liste", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "", - "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`": "minikube ne prend pas encore en charge le pilote de stockage BTRFS, il existe une solution de contournement, ajoutez l'indicateur suivant à votre commande de démarrage `--feature-gates=\\\"LocalStorageCapacityIsolation=false\\\"`", + "minikube does not support the BTRFS storage driver yet, there is a workaround, add the following flag to your start command `--feature-gates=\"LocalStorageCapacityIsolation=false\"`": "minikube ne prend pas encore en charge le pilote de stockage BTRFS, il existe une solution de contournement, ajoutez l'indicateur suivant à votre commande de démarrage `--feature-gates=\"LocalStorageCapacityIsolation=false\"`", "minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'": "minikube manque des fichiers relatifs à votre environnement invité. Cela peut être corrigé en exécutant 'minikube delete'", "minikube is not meant for production use. You are opening non-local traffic": "minikube n'est pas destiné à une utilisation en production. Vous ouvrez du trafic non local", "minikube is unable to access the Google Container Registry. You may need to configure it to use a HTTP proxy.": "minikube ne peut pas accéder à Google Container Registry. Vous devrez peut-être le configurer pour utiliser un proxy HTTP.", @@ -948,13 +935,11 @@ "namespaces to unpause": "espaces de noms à réactiver", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "réseau avec lequel exécuter minikube. Maintenant, il est utilisé par les pilotes docker/podman et KVM. Si laissé vide, minikube créera un nouveau réseau.", "none driver does not support multi-node clusters": "aucun pilote ne prend pas en charge les clusters multi-nœuds", - "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "pas assez d'arguments ({{.ArgCount}}).\\nusage : minikube config set PROPERTY_NAME PROPERTY_VALUE", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "pas assez d'arguments ({{.ArgCount}}).\nusage : minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "le nœud numa n'est pris en charge que sur k8s v1.18 et versions ultérieures", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "format de sortie (EXPERIMENTAL, JSON uniquement) : 'nodes' ou 'cluster'", "pause Kubernetes": "met Kubernetes en pause", - "preload extraction failed: \"No space left on device\"": "", - "preload extraction failed: \\\"No space left on device\\\"": "échec de l'extraction du préchargement : \\\"Pas d'espace disponible sur l'appareil\\\"", + "preload extraction failed: \"No space left on device\"": "échec de l'extraction du préchargement : \"Pas d'espace disponible sur l'appareil\"", "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`": "profile définit le profil courrant de minikube, ou obtient le profil actuel si aucun argument n'est fourni. Ceci est utilisé pour exécuter et gérer plusieurs instances de minikube. Vous pouvez revenir au profil par défaut du minikube en exécutant `minikube profile default`", "provisioning host for node": "provisionne un hôte pour le nœud", "reload cached images.": "recharge les cache des images.", @@ -965,8 +950,7 @@ "stat failed": "stat en échec", "status json failure": "état du JSON en échec", "status text failure": "état du texte en échec", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "toom tous les arguments ({{.ArgCount}}).\\nusage : jeu de configuration de minikube PROPERTY_NAME PROPERTY_VALUE", + "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", "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}}", @@ -1020,4 +1004,4 @@ "{{.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 !", "{{.url}} is not accessible: {{.error}}": "{{.url}} n'est pas accessible : {{.error}}" -} \ No newline at end of file +} diff --git a/translations/ja.json b/translations/ja.json index 3b81fad925..0ce8a26736 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -1,6 +1,6 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "'{{.minikube_addon}}' アドオンが無効です", - "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "", + "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "「minikube cache」は今後のバージョンで廃止予定になりますので、「minikube image load」に切り替えてください", "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "「{{.context}}」コンテキストが更新されて、{{.hostname}}:{{.port}} を指すようになりました", "\"{{.machineName}}\" does not exist, nothing to stop": "「{{.machineName}}」は存在しません。停止対象がありません", "\"{{.name}}\" profile does not exist, trying anyways.": "「{{.name}}」プロファイルは存在しませんが、それでも続行します。", @@ -60,8 +60,7 @@ "Aliases": "エイリアス", "All existing scheduled stops cancelled": "既存のスケジュールされていたすべての停止がキャンセルされました", "Allow user prompts for more information": "ユーザーによる詳細情報の入力をできるようにします", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Docker イメージを取得するための代替イメージリポジトリー。これは、gcr.io へのアクセスが制限されている場合に使用できます。これを「auto」に設定すると、minikube によって自動的に指定されるようになります。中国本土のユーザーの場合、registry.cn-hangzhou.aliyuncs.com/google_containers などのローカル gcr.io ミラーを使用できます", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "Docker イメージを取得するための代替イメージリポジトリー。これは、gcr.io へのアクセスが制限されている場合に使用できます。これを「auto」に設定すると、minikube によって自動的に指定されるようになります。中国本土のユーザーの場合、registry.cn-hangzhou.aliyuncs.com/google_containers などのローカル gcr.io ミラーを使用できます", "Alternatively you could install one of these drivers:": "代わりに、これらのドライバーのいずれかをインストールすることもできます:", "Amount of RAM to allocate to Kubernetes (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g).": "Kubernetes に割り当てられた RAM 容量 (形式: \u003cnumber\u003e[\u003cunit\u003e]、unit = b、k、m、g)。", "Amount of time to wait for a service in seconds": "サービスを待機する時間 (秒)", @@ -442,8 +441,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "アルファベット、数字、ハイフン (-) のみ利用可能です。最小 1 文字、最初の文字はアルファベットか数字です。", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "アルファベット、数字、ハイフン (-) のみ利用可能です。最小 2 文字、最初の文字はアルファベットか数字です。", "Open the addons URL with https instead of http": "HTTP の代わりに HTTPS のアドオン URL を開く", - "Open the service URL with https instead of http (defaults to \"false\")": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "HTTP の代わりに HTTPS のサービス URL を開く (デフォルトは「false」)", + "Open the service URL with https instead of http (defaults to \"false\")": "HTTP の代わりに HTTPS のサービス URL を開く (デフォルトは「false」)", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "デフォルトブラウザーで {{.namespace_name}}/{{.service_name}} Kubernetes サービスを開いています...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "デフォルトブラウザーで {{.namespace_name}}/{{.service_name}} サービスを開いています...", "Opening {{.url}} in your default browser...": "デフォルトブラウザーで {{.url}} を開いています...", @@ -638,12 +636,11 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "「{{.name}}」クラスターが削除されました", "The \"{{.name}}\" cluster has been deleted.__1": "「{{.name}}」クラスターが削除されました", - "The \"{{.name}}\" container runtime requires CNI": "", + "The \"{{.name}}\" container runtime requires CNI": "「{{.name}}」コンテナーランタイムは CNI が必要です", "The 'none' driver is designed for experts who need to integrate with an existing VM": "'none' ドライバーは既存 VM の統合が必要なエキスパートに向けて設計されています。", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "ドライバーに 'none' を指定すると、分離が制限され、システムのセキュリティーと信頼性が低下する可能性があります", "The '{{.addonName}}' addon is enabled": "'{{.addonName}}' アドオンが有効です", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "'{{.driver}}' ドライバーは権限昇格が必要です。次のコマンドを実行してください:\\n\\n{{ .example }}\\n", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "'{{.driver}}' ドライバーは権限昇格が必要です。次のコマンドを実行してください:\n\n{{ .example }}\n", "The '{{.driver}}' provider was not found: {{.error}}": "'{{.driver}}' プロバイダーが見つかりません: {{.error}}", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "'{{.name}} ドライバーは複数のプロファイルをサポートしていません: https://minikube.sigs.k8s.io/docs/reference/drivers/none/", "The '{{.name}}' driver does not respect the --cpus flag": "'{{.name}}' ドライバーは --cpus フラグを無視します", @@ -662,7 +659,6 @@ "The VM driver crashed. Run 'minikube start --alsologtostderr -v=8' to see the VM driver error message": "VM ドライバーがクラッシュしました。'minikube start --alsologtostderr -v=8' を実行して、VM ドライバーのエラーメッセージを参照してください", "The VM driver exited with an error, and may be corrupt. Run 'minikube start' with --alsologtostderr -v=8 to see the error": "VM ドライバーがエラー停止したため、破損している可能性があります。'minikube start --alsologtostderr -v=8' を実行して、エラーを参照してください", "The VM that minikube is configured for no longer exists. Run 'minikube delete'": "minikube が設定された VM はもう存在しません。'minikube delete' を実行してください", - "The \\\"{{.name}}\\\" container runtime requires CNI": "「{{.name}}」コンテナーランタイムは CNI が必要です", "The ambassador addon has stopped working as of v1.23.0, for more details visit: https://github.com/datawire/ambassador-operator/issues/73": "v1.23.0 で ambassador アドオンは機能を停止しました。 詳細はこちらを参照してください: https://github.com/datawire/ambassador-operator/issues/73", "The apiserver listening port": "API サーバーリスニングポート", "The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine": "Kubernetes 用に生成された証明書で使用される API サーバー名。マシンの外部から API サーバーを利用できるようにする場合に使用します", @@ -749,10 +745,8 @@ "To connect to this cluster, use: kubectl --context={{.name}}__1": "このクラスターに接続するためには、kubectl --context={{.name}} を使用します", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "このクラスターに接続するためには、kubectl --context={{.profile_name}} を使用します", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "ベータ通知を無効にするためには、'minikube config set WantBetaUpdateNotification false' を実行します", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "この通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\\n", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "全体的に更新通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\\n", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "この通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "全体的に更新通知を無効にするためには、'minikube config set WantUpdateNotification false' を実行します\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "外部イメージを取得するためには、プロキシーを設定する必要があるかも知れません: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "他のプロファイル用のアドオン一覧を表示するためには、`minikube addons -p name list` を実行します", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "Google Cloud プロジェクトを設定するためには、\n\n\t\tgcloud config set project \u003cproject name\u003e\n\n を実行するか、環境変数 GOOGLE_CLOUD_PROJECT を設定します。", @@ -887,8 +881,7 @@ "You cannot change the memory size for an existing minikube cluster. Please first delete the cluster.": "既存の minikube クラスターに対して、メモリサイズを変更できません。最初にクラスターを削除してください。", "You have authenticated with a service account that does not have an associated JSON file. The GCP Auth addon requires credentials with a JSON file in order to continue. The image pull secret has been imported.": "", "You have authenticated with a service account that does not have an associated JSON. The GCP Auth requires credentials with a JSON file to in order to continue. The image pull secret has been imported.": "関連する JSON がないサービスアカウントで認証しています。GCP Auth は、作業を続行するために JSON ファイル付きクレデンシャルを要求します。イメージ取得シークレットがインポートされました。", - "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "", - "You have chosen to disable the CNI but the \\\"{{.name}}\\\" container runtime requires CNI": "CNI 無効が選択されましたが、「{{.name}}」コンテナランタイムは CNI が必要です", + "You have chosen to disable the CNI but the \"{{.name}}\" container runtime requires CNI": "CNI 無効が選択されましたが、「{{.name}}」コンテナランタイムは CNI が必要です", "You have selected \"virtualbox\" driver, but there are better options !\nFor better performance and support consider using a different driver: {{.drivers}}\n\nTo turn off this warning run:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nTo learn more about on minikube drivers checkout https://minikube.sigs.k8s.io/docs/drivers/\nTo see benchmarks checkout https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/\n\n": "「virtualbox」ドライバーが選択されましたが、より良い選択肢があります!\n性能と機能の向上のため、別のドライバー使用を検討してください: {{.drivers}}\n\nこの警告を表示させないためには、以下を実行してください:\n\n\t$ minikube config set WantVirtualBoxDriverWarning false\n\n\nminikube ドライバーについてもっと知るためには、https://minikube.sigs.k8s.io/docs/drivers/ を確認してください。\nベンチマークについては https://minikube.sigs.k8s.io/docs/benchmarks/cpuusage/ を確認してください\n\n", "You may need to manually remove the \"{{.name}}\" VM from your hypervisor": "ハイパーバイザーから「{{.name}}」VM を手動で削除することが必要かもしれません", "You may need to stop the Hyper-V Manager and run `minikube delete` again.": "Hyper-V マネージャーを停止して、'minikube delete' を再度実行する必要があるかもしれません。", @@ -905,7 +898,6 @@ "Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix": "", "[WARNING] For full functionality, the 'csi-hostpath-driver' addon requires the 'volumesnapshots' addon to be enabled.\n\nYou can enable 'volumesnapshots' addon by running: 'minikube addons enable volumesnapshots'\n": "[警告] フル機能のために、'csi-hostpath-driver' アドオンが 'volumesnapshots' アドオンの有効化を要求しています。\n\n'minikube addons enable volumesnapshots' を実行して 'volumesnapshots' を有効化できます\n", "[{{.id}}] {{.msg}} {{.error}}": "[{{.id}}] {{.msg}} {{.error}}", - "\\\"minikube cache\\\" will be deprecated in upcoming versions, please switch to \\\"minikube image load\\\"": "「minikube cache」は今後のバージョンで廃止予定になりますので、「minikube image load」に切り替えてください", "adding node": "ノードを追加しています", "addon '{{.name}}' is currently not enabled.\nTo enable this addon run:\nminikube addons enable {{.name}}": "'{{.name}}' アドオンは現在無効になっています。\n有効にするためには、以下のコマンドを実行してください。 \nminikube addons enable {{.name}}", "addon '{{.name}}' is not a valid addon packaged with minikube.\nTo see the list of available addons run:\nminikube addons list": "'{{.name}}' は minikube にパッケージングされた有効なアドオンではありません。\n利用可能なアドオンの一覧を表示するためには、以下のコマンドを実行してください。 \nminikube addons list", @@ -917,9 +909,8 @@ "call with cleanup=true to remove old tunnels": "cleanup=true で呼び出すことで、古いトンネルを削除してください", "cancel any existing scheduled stop requests": "既存のスケジュール済み停止要求をキャンセルしてください", "cannot specify --kubernetes-version with --no-kubernetes,\nto unset a global config run:\n\n$ minikube config unset kubernetes-version": "--kubernetes-version と --no-kubernetes を同時に指定できません。\nグローバル設定を解除するコマンド:\n\n$ minikube config unset kubernetes-version", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm\"\nConfigurable fields:\\n\\n": "config コマンドは「minikube config set driver kvm」のようにサブコマンドを使用して、minikube 設定ファイルを編集します。 \n設定可能なフィールド:\\n\\n", - "config modifies minikube config files using subcommands like \"minikube config set driver kvm2\"\nConfigurable fields: \n\n": "", - "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 modifies minikube config files using subcommands like \"minikube config set driver kvm\"\nConfigurable fields:\n\n": "config コマンドは「minikube config set driver kvm」のようにサブコマンドを使用して、minikube 設定ファイルを編集します。 \n設定可能なフィールド:\n\n", + "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 service is not running: {{.error}}": "ダッシュボードサービスが実行していません: {{.error}}", @@ -961,8 +952,7 @@ "kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'": "kubectl が見つかりません。kubectl が必要な場合、'minikube kubectl -- get pods -A' を試してください", "kubectl proxy": "", "libmachine failed": "libmachine が失敗しました", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "", - "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \\n\\n": "PROPERTY_NAME 用の有効なデフォルト設定を全て表示します。\n受け入れ可能なフィールド:\\n\\n", + "list displays all valid default settings for PROPERTY_NAME\nAcceptable fields: \n\n": "PROPERTY_NAME 用の有効なデフォルト設定を全て表示します。\n受け入れ可能なフィールド:\n\n", "list versions of all components included with minikube. (the cluster must be running)": "minikube に含まれる全コンポーネントのバージョン一覧を出力します。(クラスターが実行中でなければなりません)", "loading profile": "プロファイルを読み込み中", "logdir set failed": "logdir 設定が失敗しました", @@ -993,8 +983,7 @@ "namespaces to unpause": "停止を解除する名前空間", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "minikube を実行するネットワーク。現時点では docker/podman と KVM ドライバーで使用されます。空の場合、minikube は新しいネットワークを作成します。", "none driver does not support multi-node clusters": "none ドライバーはマルチノードクラスターをサポートしていません", - "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}}) が不十分です。\\n使用方法: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}}) が不十分です。\\n使用方法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "NUMA ノードは k8s v1.18 以降でのみサポートされます", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "出力形式 (実験的、JSON のみ): 'nodes' または 'cluster'", "pause Kubernetes": "Kubernetes を一時停止させます", @@ -1013,8 +1002,7 @@ "stat failed": "stat に失敗しました", "status json failure": "status json に失敗しました", "status text failure": "status text に失敗しました", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "toom any arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}} 個) が多すぎます。\\n使用法: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}} 個) が多すぎます。\\n使用法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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 を参照してください", "tunnel makes services of type LoadBalancer accessible on localhost": "tunnel は LoadBalancer タイプのサービスを localhost からアクセス可能にします", "unable to bind flags": "フラグをバインドできません", @@ -1073,4 +1061,4 @@ "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} プロファイルは無効です: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} は未サポートのファイルシステムです。とにかくやってみます!", "{{.url}} is not accessible: {{.error}}": "{{.url}} にアクセスできません: {{.error}}" -} \ No newline at end of file +} diff --git a/translations/ko.json b/translations/ko.json index 021b9cf130..a93917e701 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -747,8 +747,7 @@ "To connect to this cluster, use: --context={{.name}}": "", "To connect to this cluster, use: kubectl --context={{.profile_name}}": "", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable this notice, run: 'minikube config set WantUpdateNotification false'\\n": "해당 알림을 비활성화하려면 다음 명령어를 실행하세요. 'minikube config set WantUpdateNotification false'", + "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "해당 알림을 비활성화하려면 다음 명령어를 실행하세요. 'minikube config set WantUpdateNotification false'", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "", "To see addons list for other profiles use: `minikube addons -p name list`": "", @@ -991,7 +990,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", @@ -1045,4 +1044,4 @@ "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 프로파일이 올바르지 않습니다: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "{{.url}} 이 접근 불가능합니다: {{.error}}" -} \ No newline at end of file +} diff --git a/translations/pl.json b/translations/pl.json index 2df9f0e409..4f473912ea 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -459,8 +459,7 @@ "Only alphanumeric and dashes '-' are permitted. Minimum 1 character, starting with alphanumeric.": "Tylko znaki alfanumeryczne oraz myślniki '-' są dozwolone. Co najmniej jeden znak, zaczynając od znaku alfanumerycznego", "Only alphanumeric and dashes '-' are permitted. Minimum 2 characters, starting with alphanumeric.": "Tylko znaki alfanumeryczne oraz myślniki '-' są dozwolone. Co najmniej dwa znaki, zaczynając od znaku alfanumerycznego", "Open the addons URL with https instead of http": "Otwórz URL addonów używając protokołu https zamiast http", - "Open the service URL with https instead of http (defaults to \"false\")": "", - "Open the service URL with https instead of http (defaults to \\\"false\\\")": "Otwórz URL serwisu używając protokołu https zamiast http (domyślnie ma wartość fałsz)", + "Open the service URL with https instead of http (defaults to \"false\")": "Otwórz URL serwisu używając protokołu https zamiast http (domyślnie ma wartość fałsz)", "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...": "Otwieranie serwisu Kubernetesa {{.namespace_name}}/{{.service_name}} w domyślnej przeglądarce...", "Opening service {{.namespace_name}}/{{.service_name}} in default browser...": "Otwieranie serwisu {{.namespace_name}}/{{.service_name}} w domyślnej przeglądarce...", "Opening {{.url}} in your default browser...": "Otwieranie {{.url}} w domyślnej przeglądarce...", @@ -979,8 +978,7 @@ "namespaces to unpause": "", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "", "none driver does not support multi-node clusters": "sterownik none nie wspiera klastrów składających się z więcej niż jednego węzła", - "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", - "not enough arguments ({{.ArgCount}}).\\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Niewystarczająca ilośc argumentów ({{.ArgCount}}). \\nużycie: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Niewystarczająca ilośc argumentów ({{.ArgCount}}). \nużycie: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "", "pause Kubernetes": "", @@ -995,7 +993,7 @@ "stat failed": "wykonanie komendy stat nie powiodło się", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", @@ -1049,4 +1047,4 @@ "{{.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!", "{{.url}} is not accessible: {{.error}}": "{{.url}} nie jest osiągalny: {{.error}}" -} \ No newline at end of file +} diff --git a/translations/ru.json b/translations/ru.json index b67363f978..3e39023e14 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -914,7 +914,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/strings.txt b/translations/strings.txt index a81e583068..450fbe871b 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -914,7 +914,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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}}": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index fd3e7d2111..b969dae168 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -67,8 +67,7 @@ "Aliases": "别名", "All existing scheduled stops cancelled": "", "Allow user prompts for more information": "允许用户提示以获取更多信息", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "", - "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \\\"auto\\\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "用于从中拉取 docker 镜像的备选镜像存储库。如果您对 gcr.io 的访问受到限制,则可以使用该镜像存储库。将镜像存储库设置为“auto”可让 minikube 为您选择一个存储库。对于中国大陆用户,您可以使用本地 gcr.io 镜像,例如 registry.cn-hangzhou.aliyuncs.com/google_containers", + "Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to \"auto\" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers": "用于从中拉取 docker 镜像的备选镜像存储库。如果您对 gcr.io 的访问受到限制,则可以使用该镜像存储库。将镜像存储库设置为“auto”可让 minikube 为您选择一个存储库。对于中国大陆用户,您可以使用本地 gcr.io 镜像,例如 registry.cn-hangzhou.aliyuncs.com/google_containers", "Alternatively you could install one of these drivers:": "", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g)": "为 minikube 虚拟机分配的 RAM 容量(格式:\u003c数字\u003e[\u003c单位\u003e],其中单位 = b、k、m 或 g)", "Amount of RAM allocated to the minikube VM (format: \u003cnumber\u003e[\u003cunit\u003e], where unit = b, k, m or g).": "为 minikube 虚拟机分配的 RAM 容量(格式:\u003c数字\u003e[\u003c单位\u003e],其中单位 = b、k、m 或 g)。", @@ -749,8 +748,7 @@ "The 'none' driver is designed for experts who need to integrate with an existing VM": "", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "“none”驱动程序提供有限的隔离功能,并且可能会降低系统安全性和可靠性。", "The '{{.addonName}}' addon is enabled": "启动 '{{.addonName}}' 插件", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "", - "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\\n\\n{{ .example }}\\n": "'{{.driver}}' 驱动程序需要提升权限,将执行以下命令:\\n\\n{{ .example }}\\n", + "The '{{.driver}}' driver requires elevated permissions. The following commands will be executed:\n\n{{ .example }}\n": "'{{.driver}}' 驱动程序需要提升权限,将执行以下命令:\n\n{{ .example }}\n", "The '{{.driver}}' provider was not found: {{.error}}": "", "The '{{.name}} driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/": "", "The '{{.name}}' driver does not respect the --cpus flag": "", @@ -1105,7 +1103,7 @@ "stat failed": "", "status json failure": "", "status text failure": "", - "toom any arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "", "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": "", @@ -1158,4 +1156,4 @@ "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "" -} \ No newline at end of file +} From af8374310243fb5b58653f1382a50e54f50a3e21 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:32:05 -0700 Subject: [PATCH 63/72] fix unit tests --- translations/es.json | 1 - translations/fr.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/translations/es.json b/translations/es.json index 120bfb931c..05a5cf5e02 100644 --- a/translations/es.json +++ b/translations/es.json @@ -20,7 +20,6 @@ "- Prune unused {{.driver_name}} images, volumes, networks and abandoned containers.\n\n\t\t\t\t{{.driver_name}} system prune --volumes": "- Recorta las imágenes, volumenes, redes y contenedores abandonados de {{.driver_name}}.\n\n\t\t\t\t{{.driver_name}} system prune --volumes", "- Restart your {{.driver_name}} service": "- Reinicia el servicio {{.driver_name}}", "--container-runtime must be set to \"containerd\" or \"cri-o\" for rootless": "--container-runtime debe ser configurado a \"containerd\" o \"crio-o\" para no usar usuario root", - "--container-runtime must be set to \\\"containerd\\\" or \\\"cri-o\\\" for rootless": , "--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", "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": "", diff --git a/translations/fr.json b/translations/fr.json index 77f3299e85..d6ed5802ee 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -1,7 +1,7 @@ { "\"The '{{.minikube_addon}}' addon is disabled": "Le module \"{{.minikube_addon}}\" est désactivé", "\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"": "\"minikube cache\" sera obsolète dans les prochaines versions, veuillez passer à \"minikube image load\"", - \"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Le contexte \"{{.context}}\" a été mis à jour pour pointer vers {{.hostname}}:{{.port}}", + "\"{{.context}}\" context has been updated to point to {{.hostname}}:{{.port}}": "Le contexte \"{{.context}}\" a été mis à jour pour pointer vers {{.hostname}}:{{.port}}", "\"{{.machineName}}\" does not exist, nothing to stop": "La machine \"{{.machineName}} n'existe pas, rien a arrêter", "\"{{.name}}\" profile does not exist, trying anyways.": "Le profil \"{{.name}}\" n'existe pas, tentative de suppression quand même.", "'none' driver does not support 'minikube docker-env' command": "Le pilote 'none' ne prend pas en charge la commande 'minikube docker-env'", From 0855010af9204f453faa60c71678decb7a6c529b Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:35:39 -0700 Subject: [PATCH 64/72] Update translations/de.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/de.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/de.json b/translations/de.json index 10a3c5896e..8b809ffbfa 100644 --- a/translations/de.json +++ b/translations/de.json @@ -637,7 +637,7 @@ "The \"{{.driver_name}}\" driver should not be used with root privileges. If you wish to continue as root, use --force.": "", "The \"{{.name}}\" cluster has been deleted.": "Der Cluster \"{{.name}}\" wurde gelöscht.", "The \"{{.name}}\" cluster has been deleted.__1": "Der Cluster \"{{.name}}\" wurde gelöscht.", - "The \"{{.name}}\" container runtime requires CNI": "Die Container Runtime \\\"{{.name}}\\\" erfordert ein CNI", + "The \"{{.name}}\" container runtime requires CNI": "Die Container Runtime \"{{.name}}\" erfordert ein CNI", "The 'none' driver is designed for experts who need to integrate with an existing VM": "Der Treiber \"Keine\" ist für Experten designed, die mit einer existierenden VM integrieren müssen", "The 'none' driver provides limited isolation and may reduce system security and reliability.": "Der Treiber \"Keine\" bietet eine eingeschränkte Isolation und beeinträchtigt möglicherweise Sicherheit und Zuverlässigkeit des Systems.", "The '{{.addonName}}' addon is enabled": "Das Addon {{.addonName}} ist aktiviert", From 09d5edcd65e92eb9ceb3e41ec0e18ee701c6cada Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:35:49 -0700 Subject: [PATCH 65/72] Update translations/fr.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/fr.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/fr.json b/translations/fr.json index d6ed5802ee..95dde200da 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -950,7 +950,7 @@ "stat failed": "stat en échec", "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", + "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", "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}}", From cff264095cdb19027999bcc05d8e8c7456e5351b Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:36:11 -0700 Subject: [PATCH 66/72] Update translations/de.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/de.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/de.json b/translations/de.json index 8b809ffbfa..17c1e857f6 100644 --- a/translations/de.json +++ b/translations/de.json @@ -984,7 +984,7 @@ "stat failed": "state Fehler", "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", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "Zu viele Parameter ({{.ArgCount}}).\nVerwendung: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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}}", From db52de2e14367bc4e958c1b7f82a3f325ca4a888 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:36:19 -0700 Subject: [PATCH 67/72] Update translations/ja.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/ja.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/ja.json b/translations/ja.json index 0ce8a26736..b7ec66cb2e 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -983,7 +983,7 @@ "namespaces to unpause": "停止を解除する名前空間", "network to run minikube with. Now it is used by docker/podman and KVM drivers. If left empty, minikube will create a new network.": "minikube を実行するネットワーク。現時点では docker/podman と KVM ドライバーで使用されます。空の場合、minikube は新しいネットワークを作成します。", "none driver does not support multi-node clusters": "none ドライバーはマルチノードクラスターをサポートしていません", - "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}}) が不十分です。\\n使用方法: minikube config set PROPERTY_NAME PROPERTY_VALUE", + "not enough arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}}) が不十分です。\n使用方法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "numa node is only supported on k8s v1.18 and later": "NUMA ノードは k8s v1.18 以降でのみサポートされます", "output layout (EXPERIMENTAL, JSON only): 'nodes' or 'cluster'": "出力形式 (実験的、JSON のみ): 'nodes' または 'cluster'", "pause Kubernetes": "Kubernetes を一時停止させます", From 1a122fb8cba7e495299faf386864505ed772816d Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:36:32 -0700 Subject: [PATCH 68/72] Update translations/ja.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/ja.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/ja.json b/translations/ja.json index b7ec66cb2e..d4accd90b1 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -1002,7 +1002,7 @@ "stat failed": "stat に失敗しました", "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", + "too many arguments ({{.ArgCount}}).\nusage: minikube config set PROPERTY_NAME PROPERTY_VALUE": "引数 ({{.ArgCount}} 個) が多すぎます。\n使用法: minikube config set PROPERTY_NAME PROPERTY_VALUE", "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 を参照してください", "tunnel makes services of type LoadBalancer accessible on localhost": "tunnel は LoadBalancer タイプのサービスを localhost からアクセス可能にします", "unable to bind flags": "フラグをバインドできません", From 3f60da86ba419dea22221cd21b1d35c9677e9474 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:41:10 -0700 Subject: [PATCH 69/72] Update translations/fr.json Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- translations/fr.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/fr.json b/translations/fr.json index 95dde200da..6b9c87b0b4 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -716,7 +716,7 @@ "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Pour vous connecter à ce cluster, utilisez : kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Pour désactiver les notifications bêta, exécutez : 'minikube config set WantBetaUpdateNotification false'", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "Pour désactiver cette notification, exécutez : 'minikube config set WantUpdateNotification false'\n", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\n", "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Pour extraire de nouvelles images externes, vous devrez peut-être configurer un proxy : https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "Pour voir la liste des modules pour d'autres profils, utilisez: `minikube addons -p name list`", From 7378235cddab15109401701318cf32c9237005c6 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 May 2022 13:43:03 -0700 Subject: [PATCH 70/72] missed one --- translations/fr.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/translations/fr.json b/translations/fr.json index d6ed5802ee..9d36be45d5 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -716,8 +716,7 @@ "To connect to this cluster, use: kubectl --context={{.profile_name}}": "Pour vous connecter à ce cluster, utilisez : kubectl --context={{.profile_name}}", "To disable beta notices, run: 'minikube config set WantBetaUpdateNotification false'": "Pour désactiver les notifications bêta, exécutez : 'minikube config set WantBetaUpdateNotification false'", "To disable this notice, run: 'minikube config set WantUpdateNotification false'\n": "Pour désactiver cette notification, exécutez : 'minikube config set WantUpdateNotification false'\n", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "", - "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\\n", + "To disable update notices in general, run: 'minikube config set WantUpdateNotification false'\n": "Pour désactiver les notifications de mise à jour en général, exécutez : 'minikube config set WantUpdateNotification false'\n", "To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/": "Pour extraire de nouvelles images externes, vous devrez peut-être configurer un proxy : https://minikube.sigs.k8s.io/docs/reference/networking/proxy/", "To see addons list for other profiles use: `minikube addons -p name list`": "Pour voir la liste des modules pour d'autres profils, utilisez: `minikube addons -p name list`", "To set your Google Cloud project, run:\n\n\t\tgcloud config set project \u003cproject name\u003e\n\nor set the GOOGLE_CLOUD_PROJECT environment variable.": "Pour définir votre projet Google Cloud, exécutez :\n\n\t\tgcloud config set project \u003cproject name\u003e\n\n\n définissez la variable d'environnement GOOGLE_CLOUD_PROJECT.", From 30a52647203386099225ad2d2442d4dc60de5ab6 Mon Sep 17 00:00:00 2001 From: klaases Date: Tue, 31 May 2022 13:44:52 -0700 Subject: [PATCH 71/72] Update OpenSUSE Documentation URL --- site/content/en/docs/drivers/includes/kvm2_usage.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/en/docs/drivers/includes/kvm2_usage.inc b/site/content/en/docs/drivers/includes/kvm2_usage.inc index b8ba08120b..408fc303a5 100644 --- a/site/content/en/docs/drivers/includes/kvm2_usage.inc +++ b/site/content/en/docs/drivers/includes/kvm2_usage.inc @@ -11,7 +11,7 @@ Proper installation of KVM and libvirt is highly specific to each Linux distribu * [Debian](https://wiki.debian.org/KVM#Installation) * [Fedora](https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtualization/) * [Gentoo](https://wiki.gentoo.org/wiki/QEMU) -* [OpenSUSE](https://doc.opensuse.org/documentation/leap/virtualization/html/book.virt/cha-vt-installation.html) +* [OpenSUSE](https://doc.opensuse.org/documentation/leap/virtualization/html/book-virtualization/cha-vt-installation.html) * [RedHat](https://access.redhat.com/articles/1344173#Q_how-install-virtualization-packages) * [Ubuntu](https://help.ubuntu.com/community/KVM/Installation) From 71bdeb003c5e58cfafce60798a80a0abbb435869 Mon Sep 17 00:00:00 2001 From: minikube-bot Date: Tue, 31 May 2022 21:04:08 +0000 Subject: [PATCH 72/72] Update auto-generated docs and translations --- 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/zh-CN.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/translations/de.json b/translations/de.json index 17c1e857f6..49681af5cd 100644 --- a/translations/de.json +++ b/translations/de.json @@ -1036,4 +1036,4 @@ "{{.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!", "{{.url}} is not accessible: {{.error}}": "Fehler beim Zugriff auf {{.url}}: {{.error}}" -} +} \ No newline at end of file diff --git a/translations/es.json b/translations/es.json index 05a5cf5e02..1df332f737 100644 --- a/translations/es.json +++ b/translations/es.json @@ -1030,4 +1030,4 @@ "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "" -} +} \ No newline at end of file diff --git a/translations/fr.json b/translations/fr.json index 4e8f717ac9..a7121e5551 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -1003,4 +1003,4 @@ "{{.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 !", "{{.url}} is not accessible: {{.error}}": "{{.url}} n'est pas accessible : {{.error}}" -} +} \ No newline at end of file diff --git a/translations/ja.json b/translations/ja.json index d4accd90b1..78457ca9d0 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -1061,4 +1061,4 @@ "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} プロファイルは無効です: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} は未サポートのファイルシステムです。とにかくやってみます!", "{{.url}} is not accessible: {{.error}}": "{{.url}} にアクセスできません: {{.error}}" -} +} \ No newline at end of file diff --git a/translations/ko.json b/translations/ko.json index a93917e701..d83061230f 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -1044,4 +1044,4 @@ "{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 프로파일이 올바르지 않습니다: {{.err}}", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "{{.url}} 이 접근 불가능합니다: {{.error}}" -} +} \ No newline at end of file diff --git a/translations/pl.json b/translations/pl.json index 4f473912ea..1647bd0e61 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -1047,4 +1047,4 @@ "{{.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!", "{{.url}} is not accessible: {{.error}}": "{{.url}} nie jest osiągalny: {{.error}}" -} +} \ No newline at end of file diff --git a/translations/zh-CN.json b/translations/zh-CN.json index b969dae168..fdb007fbef 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -1156,4 +1156,4 @@ "{{.profile}} profile is not valid: {{.err}}": "", "{{.type}} is not yet a supported filesystem. We will try anyways!": "", "{{.url}} is not accessible: {{.error}}": "" -} +} \ No newline at end of file