diff --git a/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo b/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo index 68c526d19a8..42bc2ad6595 100644 Binary files a/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo and b/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo differ diff --git a/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po b/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po index a8314bb89dc..f18d3c9e0a8 100644 --- a/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po +++ b/staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po @@ -9,16 +9,16 @@ msgstr "" "Project-Id-Version: gettext-go-examples-hello\n" "Report-Msgid-Bugs-To: EMAIL\n" "POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-11-11 19:01+0800\n" +"PO-Revision-Date: 2022-07-04 18:54+0800\n" "Last-Translator: zhengjiajin \n" "Language-Team: \n" "Language: zh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.4\n" -"X-Poedit-SourceCharset: UTF-8\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 3.0.1\n" +"X-Poedit-SourceCharset: UTF-8\n" #: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 msgid "" @@ -30,10 +30,10 @@ msgid "" "\t\t kubectl top node NODE_NAME" msgstr "" "\n" -"\t\t # 显示所有 nodes 上的指标\n" -"\t\t kubectl top node\n" +"\t\t # 显示所有节点的指标\n" +"\t\t kubectl top ode\n" "\n" -"\t\t # 显示指定 node 上的指标\n" +"\t\t # 显示指定节点的指标\n" "\t\t kubectl top node NODE_NAME" #: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 @@ -71,7 +71,7 @@ msgid "" "\t\tkubectl version" msgstr "" "\n" -"\t\t# 输出当前 client 和 server 版本\n" +"\t\t# 输出当前客户端和服务端的版本\n" "\t\tkubectl version" #: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 @@ -100,16 +100,16 @@ msgid "" "\t\tkubectl top pod -l name=myLabel" msgstr "" "\n" -"\t\t# 显示 default namespace 下所有 pods 下的 metrics\n" +"\t\t# 显示 default 命名空间下所有 Pods 的指标\n" "\t\tkubectl top pod\n" "\n" -"\t\t# 显示指定 namespace 下所有 pods 的 metrics\n" +"\t\t# 显示指定命名空间下所有 Pods 的指标\n" "\t\tkubectl top pod --namespace=NAMESPACE\n" "\n" -"\t\t# 显示指定 pod 和它的容器的 metrics\n" +"\t\t# 显示指定 Pod 和它的容器的 metrics\n" "\t\tkubectl top pod POD_NAME --containers\n" "\n" -"\t\t# 显示指定 label 为 name=myLabel 的 pods 的 metrics\n" +"\t\t# 显示指定 label 为 name=myLabel 的 Pods 的 metrics\n" "\t\tkubectl top pod -l name=myLabel" #: pkg/kubectl/cmd/convert/convert.go:40 @@ -124,21 +124,20 @@ msgid "" "specified or\n" "\t\tnot supported, convert to latest version.\n" "\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" +"\t\tThe default output will be printed to stdout in YAML format. One can use -" +"o option\n" "\t\tto change to output destination." msgstr "" "\n" -"\t\t在不同的 API versions 转换配置文件. 接受 YAML\n" -"\t\t和 JSON 格式.\n" +"\t\t在不同的 API 版本之间转换配置文件。接受 YAML\n" +"\t\t和 JSON 格式。\n" "\n" -"\t\t这个命令以 filename, directory, 或者 URL 作为输入, 并通过 —output-" -"version flag\n" -"\t\t 转换到指定版本的格式. 如果目标版本没有被指定或者\n" -"\t\t不支持, 转换到最后的版本.\n" +"\t\t这个命令以文件名, 目录, 或者 URL 作为输入,并通过 —output-version 参数\n" +"\t\t 转换到指定版本的格式。如果没有指定目标版本或者所指定版本\n" +"\t\t不支持, 则转换为最新版本。\n" "\n" -"\t\t默认以 YAML 格式输出到 stdout. 可以使用 -o option\n" -"\t\t修改目标输出的格式." +"\t\t默认以 YAML 格式输出到标准输出。可以使用 -o option\n" +"\t\t修改目标输出的格式。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 @@ -147,7 +146,7 @@ msgid "" "\t\tCreate a namespace with the specified name." msgstr "" "\n" -"\t\t创建一个 namespace 并指定名称." +"\t\t用给定名称创建一个命名空间。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 @@ -156,7 +155,7 @@ msgid "" "\t\tCreate a role with single rule." msgstr "" "\n" -"\t\t创建单一 rule 的 role." +"\t\t创建一个具有单一规则的角色。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 @@ -165,7 +164,7 @@ msgid "" "\t\tCreate a service account with the specified name." msgstr "" "\n" -"\t\t创建一个指定名称的 service account." +"\t\t用指定的名称创建一个服务账户。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 #: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 @@ -174,7 +173,7 @@ msgid "" "\t\tMark node as schedulable." msgstr "" "\n" -"\t\t标记 node 为 schedulable." +"\t\t标记节点为可调度。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 #: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 @@ -183,7 +182,7 @@ msgid "" "\t\tMark node as unschedulable." msgstr "" "\n" -"\t\t标记 node 为 unschedulable." +"\t\t标记节点为不可调度。" #: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 msgid "" @@ -195,11 +194,10 @@ msgid "" "\t\twithout updating any other parts of the object." msgstr "" "\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." +"\t\t设置最新的 last-applied-configuration 注解,使之匹配某文件的内容。\n" +"\t\t这会导致 last-applied-configuration 被更新,就像执行了 kubectl apply -f " +" 一样,\n" +"\t\t只是不会更新对象的其他部分。" #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 msgid "" @@ -208,7 +206,7 @@ msgid "" "\t kubectl create namespace my-namespace" msgstr "" "\n" -"\t # 创建一个名称为 my-namespace 的 namespace\n" +"\t # 创建一个名为 my-namespace 的新命名空间\n" "\t kubectl create namespace my-namespace" #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 @@ -218,7 +216,7 @@ msgid "" "\t kubectl create serviceaccount my-service-account" msgstr "" "\n" -"\t # Create a new service account named my-service-account\n" +"\t # 创建一个名为 my-service-account 的新服务帐户\n" "\t kubectl create serviceaccount my-service-account" #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 @@ -231,11 +229,10 @@ msgid "" "\tthat exist off platform, on other clusters, or locally." msgstr "" "\n" -"\tCreate an ExternalName service with the specified name.\n" +"\t创建具有指定名称的 ExternalName 服务。\n" "\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." +"\tExternalName 服务引用外部 DNS 地址而不是 Pod 地址,\n" +"\t这将允许应用程序作者引用存在于平台外、其他集群上或本地的服务。" #: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 msgid "" @@ -244,8 +241,8 @@ msgid "" "\tSimply type kubectl help [path to command] for full details." msgstr "" "\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." +"\tHelp 为应用程序中的任何命令提供帮助。\n" +"\t只需键入 kubectl help [命令路径] 即可获得完整的详细信息。" #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 msgid "" @@ -254,7 +251,7 @@ msgid "" " kubectl create service loadbalancer my-lbs --tcp=5678:8080" msgstr "" "\n" -" # 创建一个名称为 my-lbs 的 LoadBalancer service\n" +" # 创建一个名称为 my-lbs 的新负载均衡服务\n" " kubectl create service loadbalancer my-lbs --tcp=5678:8080" #: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 @@ -274,16 +271,16 @@ msgid "" "directory=/path/to/cluster-state" msgstr "" "\n" -" # 导出当前的集群状态信息到 stdout\n" +" # 导出当前的集群状态信息到标准输出\n" " kubectl cluster-info dump\n" "\n" -" # 导出当前的集群状态 /path/to/cluster-state\n" +" # 导出当前的集群状态到 /path/to/cluster-state\n" " kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" "\n" -" # 导出所有分区到 stdout\n" +" # 导出所有命名空间到标准输出\n" " kubectl cluster-info dump --all-namespaces\n" "\n" -" # 导出一组分区到 /path/to/cluster-state\n" +" # 导出一组命名空间到 /path/to/cluster-state\n" " kubectl cluster-info dump --namespaces default,kube-system --output-" "directory=/path/to/cluster-state" @@ -294,32 +291,27 @@ msgid "" " Create a LoadBalancer service with the specified name." msgstr "" "\n" -" 使用一个指定的名称创建一个 LoadBalancer service." +" 使用一个指定的名称创建一个 LoadBalancer 服务。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L61 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." +"A comma-delimited set of quota scopes that must all match each object tracked " +"by the quota." +msgstr "一组以逗号分隔的配额范围,必须全部匹配配额所跟踪的每个对象。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L60 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 msgid "" "A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." +msgstr "一组以逗号分隔的资源=数量对,用于定义硬性限制。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L63 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 msgid "" "A label selector to use for this budget. Only equality-based selector " "requirements are supported." -msgstr "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." +msgstr "一个用于该预算的标签选择器。只支持基于等值比较的选择器要求。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L106 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 @@ -328,9 +320,8 @@ msgid "" "requirements are supported. If empty (the default) infer the selector from " "the replication controller or replica set.)" msgstr "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" +"用于此服务的标签选择器。仅支持基于等值比较的选择器要求。如果为空(默认),则从" +"副本控制器或副本集中推断选择器。)" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L111 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 @@ -339,49 +330,44 @@ msgid "" "service. If this IP is routed to a node, the service can be accessed by this " "IP in addition to its generated service IP." msgstr "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." +"为服务所接受的其他外部 IP 地址(不由 Kubernetes 管理)。如果这个 IP 被路由到一" +"个节点,除了其生成的服务 IP 外,还可以通过这个 IP 访问服务。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L119 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 #: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " +"An inline JSON override for the generated object. If this is non-empty, it is " +"used to override the generated object. Requires that the object supply a " "valid apiVersion field." msgstr "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." +"针对所生成对象的内联 JSON 覆盖。如果这一对象是非空的,将用于覆盖所生成的对象。" +"要求对象提供有效的 apiVersion 字段。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71 #: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 msgid "Approve a certificate signing request" -msgstr "同意一个自签证书请求" +msgstr "批准一个证书签署请求" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L81 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 msgid "" "Assign your own ClusterIP or set to 'None' for a 'headless' service (no " "loadbalancing)." -msgstr "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." +msgstr "为“无头”服务(无负载平衡)分配你自己的 ClusterIP 或设置为“无。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64 #: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 msgid "Attach to a running container" -msgstr "Attach 到一个运行中的 container" +msgstr "挂接到一个运行中的容器" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L115 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." +"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or set " +"to 'None' to create a headless service." msgstr "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." +"要分配给服务的 ClusterIP。留空表示自动分配,或设置为 “None” 以创建无头服务。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L55 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 @@ -396,13 +382,12 @@ msgstr "RoleBinding 应该指定 ClusterRole" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67 #: pkg/kubectl/cmd/convert/convert.go:95 msgid "Convert config files between different API versions" -msgstr "在不同的 API versions 转换配置文件" +msgstr "在不同的 API 版本之间转换配置文件" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64 #: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 msgid "Copy files and directories to and from containers." -msgstr "" -"复制 files 和 directories 到 containers 和从容器中复制 files 和 directories." +msgstr "将文件和目录复制到容器中或从容器中复制出来。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 @@ -412,47 +397,47 @@ msgstr "创建一个 TLS secret" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 msgid "Create a namespace with the specified name" -msgstr "创建一个指定名称的 namespace" +msgstr "用指定的名称创建一个命名空间" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 msgid "Create a secret for use with a Docker registry" -msgstr "创建一个给 Docker registry 使用的 secret" +msgstr "创建一个给 Docker registry 使用的 Secret" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 msgid "Create a secret using specified subcommand" -msgstr "使用指定的 subcommand 创建一个 secret" +msgstr "使用指定的子命令创建一个 Secret" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 msgid "Create a service account with the specified name" -msgstr "创建一个指定名称的 service account" +msgstr "创建一个指定名称的服务账户" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 #: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 msgid "Delete the specified cluster from the kubeconfig" -msgstr "删除 kubeconfig 文件中指定的集群" +msgstr "从 kubeconfig 中删除指定的集群" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 #: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 msgid "Delete the specified context from the kubeconfig" -msgstr "删除 kubeconfig 文件中指定的 context" +msgstr "从 kubeconfig 中删除指定的上下文" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121 #: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 msgid "Deny a certificate signing request" -msgstr "拒绝一个自签证书请求" +msgstr "拒绝一个证书签名请求" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 #: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 msgid "Describe one or many contexts" -msgstr "描述一个或多个 contexts" +msgstr "描述一个或多个上下文" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 #: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 msgid "Display clusters defined in the kubeconfig" -msgstr "显示 kubeconfig 文件中定义的集群" +msgstr "显示在 kubeconfig 中定义的集群" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 #: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 @@ -462,89 +447,83 @@ msgstr "显示合并的 kubeconfig 配置或一个指定的 kubeconfig 文件" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107 #: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 msgid "Display one or many resources" -msgstr "显示一个或更多 resources" +msgstr "显示一个或多个资源" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176 #: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparation for maintenance" +msgstr "清空节点以准备维护" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100 #: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 msgid "Edit a resource on the server" -msgstr "在服务器上编辑一个资源" +msgstr "编辑服务器上的资源" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L159 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 msgid "Email for Docker registry" -msgstr "Email for Docker registry" +msgstr "用于 Docker 镜像库的邮件地址" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68 #: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 msgid "Execute a command in a container" -msgstr "在一个 container 中执行一个命令" +msgstr "在某个容器中执行一个命令" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75 #: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 msgid "Forward one or more local ports to a pod" -msgstr "Forward one or more local ports to a pod" +msgstr "将一个或多个本地端口转发到某个 Pod" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36 #: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 msgid "Help about any command" -msgstr "Help about any command" +msgstr "关于任何命令的帮助" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L114 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" +"If non-empty, set the session affinity for the service to this; legal values: " +"'None', 'ClientIP'" +msgstr "如果非空,则将服务的会话亲和性设置为此值;合法值:'None'、'ClientIP'" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/annotate.go#L135 #: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 msgid "" "If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." +"resource-version for the object. Only valid when specifying a single resource." msgstr "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." +"如果非空,则只有当所给值是对象的当前资源版本时,注解更新才会成功。 仅在指定单" +"个资源时有效。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L132 #: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 msgid "" "If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." +"resource-version for the object. Only valid when specifying a single resource." msgstr "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." +"如果非空,则标签更新只有在所给值是对象的当前资源版本时才会成功。仅在指定单个资" +"源时有效。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 #: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 msgid "Mark node as schedulable" -msgstr "标记 node 为 schedulable" +msgstr "标记节点为可调度" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 #: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 msgid "Mark node as unschedulable" -msgstr "标记 node 为 unschedulable" +msgstr "标记节点为不可调度" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_pause.go#L73 #: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 msgid "Mark the provided resource as paused" -msgstr "标记提供的 resource 为中止状态" +msgstr "将所指定的资源标记为已暂停" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35 #: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 #: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 msgid "Modify certificate resources." -msgstr "修改 certificate 资源." +msgstr "修改证书资源。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 #: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 @@ -557,8 +536,7 @@ msgid "" "Name or number for the port on the container that the service should direct " "traffic to. Optional." msgstr "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." +"此为端口的名称或端口号,服务应将流量定向到容器上的这一端口。此属性为可选。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L108 #: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 @@ -566,42 +544,40 @@ msgid "" "Only return logs after a specific date (RFC3339). Defaults to all logs. Only " "one of since-time / since may be used." msgstr "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." +"仅返回在指定日期 (RFC3339) 之后的日志。默认为所有日志。只能使用 since-time / " +"since 之一。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97 #: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Output shell completion code for the specified shell (bash or zsh)" +msgstr "为指定的 Shell(Bash 或 zsh) 输出 Shell 补全代码。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L157 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 msgid "Password for Docker registry authentication" -msgstr "Password for Docker registry authentication" +msgstr "用于 Docker 镜像库身份验证的密码" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L226 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 msgid "Path to PEM encoded public key certificate." -msgstr "Path to PEM encoded public key certificate." +msgstr "PEM 编码的公钥证书的路径。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L227 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 msgid "Path to private key associated with given certificate." -msgstr "Path to private key associated with given certificate." +msgstr "与给定证书关联的私钥的路径。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L82 #: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." +"Precondition for resource version. Requires that the current resource version " +"match this value in order to scale." +msgstr "资源版本的前提条件。要求当前资源版本与此值匹配才能进行扩缩操作。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 #: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 msgid "Print the client and server version information" -msgstr "输出 client 和 server 的版本信息" +msgstr "输出客户端和服务端的版本信息" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 #: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 @@ -612,57 +588,57 @@ msgstr "输出所有命令的层级关系" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86 #: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 msgid "Print the logs for a container in a pod" -msgstr "输出容器在 pod 中的日志" +msgstr "打印 Pod 中容器的日志" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_resume.go#L71 #: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 msgid "Resume a paused resource" -msgstr "继续一个停止的 resource" +msgstr "恢复暂停的资源" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L56 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 msgid "Role this RoleBinding should reference" -msgstr "RoleBinding 的 Role 应该被引用" +msgstr "RoleBinding 应该引用的 Role" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94 #: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 msgid "Run a particular image on the cluster" -msgstr "在集群中运行一个指定的镜像" +msgstr "在集群上运行特定镜像" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68 #: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 msgid "Run a proxy to the Kubernetes API server" -msgstr "运行一个 proxy 到 Kubernetes API server" +msgstr "运行一个指向 Kubernetes API 服务器的代理" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L161 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 msgid "Server location for Docker registry" -msgstr "Server location for Docker registry" +msgstr "Docker 镜像库的服务器位置" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37 #: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 msgid "Set specific features on objects" -msgstr "为 objects 设置一个指定的特征" +msgstr "为对象设置指定特性" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81 #: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 msgid "Set the selector on a resource" -msgstr "设置 resource 的 selector" +msgstr "为资源设置选择器" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80 #: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 msgid "Show details of a specific resource or group of resources" -msgstr "显示一个指定 resource 或者 group 的 resources 详情" +msgstr "显示特定资源或资源组的详细信息" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_status.go#L57 #: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 msgid "Show the status of the rollout" -msgstr "显示 rollout 的状态" +msgstr "显示上线的状态" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L108 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 msgid "Synonym for --target-port" -msgstr "Synonym for --target-port" +msgstr "--target-port 的同义词" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L114 #: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 @@ -674,51 +650,47 @@ msgstr "指定容器要运行的镜像." msgid "" "The image pull policy for the container. If left empty, this value will not " "be specified by the client and defaulted by the server" -msgstr "" -"容器的镜像拉取策略. 如果为空, 这个值将不会 被 client 指定且使用 server 端的默" -"认值" +msgstr "容器的镜像拉取策略。如果留空,该值将不由客户端指定,由服务器默认设置" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L62 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "最小数量百分比可用的 pods 作为 budget 要求." +msgid "The minimum number or percentage of available pods this budget requires." +msgstr "此预算要求的可用 Pod 的最小数量或百分比。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L113 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 msgid "The name for the newly created object." -msgstr "名称为最新创建的对象." +msgstr "新创建的对象的名称。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L71 #: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 msgid "" "The name for the newly created object. If not specified, the name of the " "input resource will be used." -msgstr "名称为最新创建的对象. 如果没有指定, 输入资源的 名称即将被使用." +msgstr "新创建的对象的名称。如果未指定,将使用输入资源的名称。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L98 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 msgid "" "The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." +"and 'service/v2'. The only difference between them is that service port in v1 " +"is named 'default', while it is left unnamed in v2. Default is 'service/v2'." msgstr "" -"使用 generator 的名称. 这里有 2 个 generators: 'service/v1' 和 'service/v2'. " -"为一个不同地方是服务端口在 v1 的情况下叫 'default', 如果在 v2 中没有指定名" -"称. 默认的名称是 'service/v2'." +"要使用的 API 生成器的名称。有两个生成器。'service/v1' 和 'service/v2'。它们之" +"间唯一的区别是,v1 中的服务端口被命名为 'default',如果在 v2 中没有指定名称。" +"默认是 'service/v2'。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L99 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "创建 service 的时候伴随着一个网络协议被创建. 默认是 'TCP'." +msgstr "要创建的服务的网络协议。默认为 “TCP”。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L100 #: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 msgid "" "The port that the service should serve on. Copied from the resource being " "exposed, if unspecified" -msgstr "服务的端口应该被指定. 如果没有指定, 从被创建的资源中复制" +msgstr "服务要使用的端口。如果没有指定,则从被暴露的资源复制" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L131 #: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 @@ -727,34 +699,33 @@ msgid "" "memory=512Mi'. Note that server side components may assign limits depending " "on the server configuration, such as limit ranges." msgstr "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." +"这个容器的资源需求限制。例如,\"cpu=200m,内存=512Mi\"。请注意,服务器端的组件" +"可能会根据服务器的配置来分配限制,例如限制范围。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L130 #: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." +"The resource requirement requests for this container. For example, 'cpu=100m," +"memory=256Mi'. Note that server side components may assign requests " +"depending on the server configuration, such as limit ranges." msgstr "" -"资源为 container 请求 requests . 例如, 'cpu=100m,memory=256Mi'. 注意服务端组" -"件也许会赋予 requests, 这决定于服务器端配置, 比如 limit ranges." +"这个容器的资源需求请求。例如,\"cpu=200m,内存=512Mi\"。请注意,服务器端的组件" +"可能会根据服务器的配置来分配限制,例如限制范围。" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L87 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 msgid "The type of secret to create" -msgstr "创建 secret 类型资源" +msgstr "要创建的 Secret 类型" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_undo.go#L71 #: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 msgid "Undo a previous rollout" -msgstr "撤销上一次的 rollout" +msgstr "撤销上一次的上线" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101 #: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 msgid "Update resource requests/limits on objects with pod templates" -msgstr "在对象的 pod templates 上更新资源的 requests/limits" +msgstr "使用 Pod 模板更新对象的资源请求/限制" #: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 msgid "Update the annotations on a resource" @@ -763,22 +734,22 @@ msgstr "更新一个资源的注解" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109 #: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 msgid "Update the labels on a resource" -msgstr "更新在这个资源上的 labels" +msgstr "更新某资源上的标签" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88 #: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 msgid "Update the taints on one or more nodes" -msgstr "更新一个或者多个 node 上的 taints" +msgstr "更新一个或者多个节点上的污点" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L155 #: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 msgid "Username for Docker registry authentication" -msgstr "Username 为 Docker registry authentication" +msgstr "用于 Docker 镜像库身份验证的用户名" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_history.go#L51 #: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 msgid "View rollout history" -msgstr "显示 rollout 历史" +msgstr "显示上线历史" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L45 #: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 @@ -786,22 +757,21 @@ msgid "" "Where to output the files. If empty or '-' uses stdout, otherwise creates a " "directory hierarchy in that directory" msgstr "" -"输出到 files. 如果是 empty or '-' 使用 stdout, 否则创建一个 目录层级在那个目" -"录" +"在哪里输出文件。如果为空或 “-” 则使用标准输出,否则在该目录中创建目录层次结构" #: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 msgid "dummy restart flag)" -msgstr "dummy restart flag)" +msgstr "假的重启标志)" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217 #: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl 控制 Kubernetes cluster 管理" +msgstr "kubectl 控制 Kubernetes 集群管理器" #~ msgid "" #~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" +#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using the " +#~ "cluster-admin ClusterRole\n" #~ "\t\t kubectl create clusterrolebinding cluster-admin --" #~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" #~ msgstr "" @@ -829,8 +799,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t # Create a new configmap named my-config based on folder bar\n" #~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" #~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" +#~ "\t\t # Create a new configmap named my-config with specified keys instead " +#~ "of file basenames on disk\n" #~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" #~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" #~ "\n" @@ -862,8 +832,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" #~ msgstr "" #~ "\n" -#~ "\t\t # 如果你还没有一个 .dockercfg 文件, 你可以直接使用下面的命令创建一" -#~ "个 dockercfg 的 secret:\n" +#~ "\t\t # 如果你还没有 .dockercfg 文件, 你可以直接使用下面的命令创建一个 " +#~ "dockercfg 类型的 Secret:\n" #~ "\t\t kubectl create secret docker-registry my-secret --docker-" #~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" #~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" @@ -884,8 +854,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " #~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" +#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" +#~ "ConfigMap" #~ msgstr "" #~ "\n" #~ "\t\t# 将 pod.json 上的配置应用于 pod.\n" @@ -899,9 +869,9 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "个文件中并匹配标签app=nginx 的资源\n" #~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" #~ "\n" -#~ "\t\t# 应用 manifest.yaml 的配置并删除所有不在这个文件中的 configmaps.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" +#~ "\t\t# 应用 manifest.yaml 的配置并删除所有不在这个文件中的 ConfigMaps。\n" +#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" +#~ "ConfigMap" #, c-format #~ msgid "" @@ -911,8 +881,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "will be used:\n" #~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" #~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" +#~ "\t\t# Auto scale a replication controller \"foo\", with the number of pods " +#~ "between 1 and 5, target CPU utilization at 80%:\n" #~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" #~ msgstr "" #~ "\n" @@ -974,8 +944,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "\n" #~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," +#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," +#~ "replicationcontrollers=2,resourcequotas=1,secrets=5," #~ "persistentvolumeclaims=10\n" #~ "\n" #~ "\t\t# Create a new resourcequota named best-effort\n" @@ -983,8 +953,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgstr "" #~ "\n" #~ "\t\t# 创建一个名为 my-quota 的 resourcequota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," +#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," +#~ "replicationcontrollers=2,resourcequotas=1,secrets=5," #~ "persistentvolumeclaims=10\n" #~ "\n" #~ "\t\t# 创建一个名为 best-effort 的 resourcequota\n" @@ -1045,13 +1015,13 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" +#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 and " +#~ "connects to the containers on port 8000.\n" #~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" #~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" +#~ "\t\t# Create a service for a replication controller identified by type and " +#~ "name specified in \"nginx-controller.yaml\", which serves on port 80 and " +#~ "connects to the containers on port 8000.\n" #~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" #~ "\n" #~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " @@ -1063,8 +1033,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" #~ "name=nginx-https\n" #~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" +#~ "\t\t# Create a service for a replicated streaming application on port 4100 " +#~ "balancing UDP traffic and named 'video-stream'.\n" #~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" #~ "stream\n" #~ "\n" @@ -1082,8 +1052,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" #~ "\n" #~ "\t\t# 使用在 \"nginx-controller.yaml\\ 中指定的 type 和 name 为一个" -#~ "replication controller 创建一个 service, 服务在端口 80 并连接到 " -#~ "containers 的8000端口.\n" +#~ "replication controller 创建一个 service, 服务在端口 80 并连接到 containers " +#~ "的8000端口.\n" #~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" #~ "\n" #~ "\t\t# 为名为 valid-pod 的 pod 创建一个 service, 服务在端口 444 并命名为 " @@ -1100,8 +1070,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" #~ "stream\n" #~ "\n" -#~ "\t\t# 为一个名称为 nginx 的 replica set 创建一个 service, 服务在 端口 80 " -#~ "且连接到容器端口 8000.\n" +#~ "\t\t# 为一个名称为 nginx 的 replica set 创建一个 service, 服务在 端口 80 且" +#~ "连接到容器端口 8000.\n" #~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" #~ "\n" #~ "\t\t# 为一个名称为 nginx 的 deployment 创建一个 service, 服务在端口 80 且 " @@ -1192,8 +1162,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t# 描述标签为 name=myLabel 的 pods\n" #~ "\t\tkubectl describe po -l name=myLabel\n" #~ "\n" -#~ "\t\t# 描述所有被名称为 'frontend' 的 replication controller 管理的 " -#~ "pods(rc-创建 pods\n" +#~ "\t\t# 描述所有被名称为 'frontend' 的 replication controller 管理的 pods(rc-" +#~ "创建 pods\n" #~ "\t\t# 并使用 rc 的名称作为 pod 的前缀).\n" #~ "\t\tkubectl describe pods frontend" @@ -1248,16 +1218,16 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" +#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the first " +#~ "container by default\n" #~ "\t\tkubectl exec 123456-7890 date\n" #~ "\n" #~ "\t\t# Get output from running 'date' in ruby-container from pod " #~ "123456-7890\n" #~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" #~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" +#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-container " +#~ "from pod 123456-7890\n" #~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" #~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" #~ msgstr "" @@ -1282,8 +1252,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t# Get output from ruby-container from pod 123456-7890\n" #~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" #~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" +#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-container " +#~ "from pod 123456-7890\n" #~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" #~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" #~ "\n" @@ -1402,8 +1372,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t# 使用 JSON 格式化输出显示一个单独的 pod.\n" #~ "\t\tkubectl get -o json pod web-pod-13je7\n" #~ "\n" -#~ "\t\t# 显示一个被 \"pod.yaml\" 中的 type 和 name 标识的 pod 并使用 JSON 格" -#~ "式化输出.\n" +#~ "\t\t# 显示一个被 \"pod.yaml\" 中的 type 和 name 标识的 pod 并使用 JSON 格式" +#~ "化输出.\n" #~ "\t\tkubectl get -f pod.yaml -o json\n" #~ "\n" #~ "\t\t# 只返回被指定 pod 中 phase 的值.\n" @@ -1421,8 +1391,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\n" +#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " +#~ "5000 and 6000 in the pod\n" #~ "\t\tkubectl port-forward mypod 5000 6000\n" #~ "\n" #~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" @@ -1435,8 +1405,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl port-forward mypod 0:5000" #~ msgstr "" #~ "\n" -#~ "\t\t# 在本地监听端口 5000 和 6000 , forwarding 数据 to/from 在 pod 5000 " -#~ "和 6000 端口\n" +#~ "\t\t# 在本地监听端口 5000 和 6000 , forwarding 数据 to/from 在 pod 5000 和 " +#~ "6000 端口\n" #~ "\t\tkubectl port-forward mypod 5000 6000\n" #~ "\n" #~ "\t\t# 在本地监听端口 8888 , forwarding 到 pod 的 5000端口\n" @@ -1473,8 +1443,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" #~ "true}}'\n" #~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" +#~ "\t\t# Partially update a node identified by the type and name specified in " +#~ "\"node.json\" using strategic merge patch\n" #~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" #~ "\n" #~ "\t\t# Update a container's image; spec.containers[*].name is required " @@ -1624,8 +1594,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tkubectl proxy --port=0\n" #~ "\n" #~ "\t\t# 运行一个 proxy 到 kubernetes apiserver, 修改 api prefix 为 k8s-api\n" -#~ "\t\t# 这会使 e.g. 这个 pods 的有效 api 为 localhost:8001/k8s-api/v1/" -#~ "pods/\n" +#~ "\t\t# 这会使 e.g. 这个 pods 的有效 api 为 localhost:8001/k8s-api/v1/pods/\n" #~ "\t\tkubectl proxy --api-prefix=/k8s-api" #~ msgid "" @@ -1633,8 +1602,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t# Scale a replicaset named 'foo' to 3.\n" #~ "\t\tkubectl scale --replicas=3 rs/foo\n" #~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" +#~ "\t\t# Scale a resource identified by type and name specified in \"foo." +#~ "yaml\" to 3.\n" #~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" #~ "\n" #~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " @@ -1651,8 +1620,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t# Scale 一个名称为 ‘foo’ 的 replicaset 服本数为 3.\n" #~ "\t\tkubectl scale --replicas=3 rs/foo\n" #~ "\n" -#~ "\t\t# Scale 指定的 \"foo.yaml\" 的 type 和 name 标识的 resource 副本数量" -#~ "为 3.\n" +#~ "\t\t# Scale 指定的 \"foo.yaml\" 的 type 和 name 标识的 resource 副本数量为 " +#~ "3.\n" #~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" #~ "\n" #~ "\t\t# 如果名称为 mysql 的 deployment 当前副本数量为 2, scale mysql 到 3.\n" @@ -1733,20 +1702,19 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t# Start a single instance of hazelcast and set environment variables " #~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" +#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" --" +#~ "env=\"POD_NAMESPACE=default\"\n" #~ "\n" #~ "\t\t# Start a replicated instance of nginx.\n" #~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" #~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" +#~ "\t\t# Dry run. Print the corresponding API objects without creating them.\n" #~ "\t\tkubectl run nginx --image=nginx --dry-run\n" #~ "\n" #~ "\t\t# Start a single instance of nginx, but overload the spec of the " #~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" +#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " +#~ "\"spec\": { ... } }'\n" #~ "\n" #~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " #~ "it if it exits.\n" @@ -1780,20 +1748,19 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t# Start a single instance of hazelcast and set environment variables " #~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" +#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" --" +#~ "env=\"POD_NAMESPACE=default\"\n" #~ "\n" #~ "\t\t# Start a replicated instance of nginx.\n" #~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" #~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" +#~ "\t\t# Dry run. Print the corresponding API objects without creating them.\n" #~ "\t\tkubectl run nginx --image=nginx --dry-run\n" #~ "\n" #~ "\t\t# Start a single instance of nginx, but overload the spec of the " #~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" +#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " +#~ "\"spec\": { ... } }'\n" #~ "\n" #~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " #~ "it if it exits.\n" @@ -2018,8 +1985,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tA single configmap may package one or more key/value pairs.\n" #~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" +#~ "\t\tWhen creating a configmap based on a file, the key will default to the " +#~ "basename of the file, and the value will\n" #~ "\t\tdefault to the file content. If the basename is an invalid key, you " #~ "may specify an alternate key.\n" #~ "\n" @@ -2035,8 +2002,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tA single configmap may package one or more key/value pairs.\n" #~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" +#~ "\t\tWhen creating a configmap based on a file, the key will default to the " +#~ "basename of the file, and the value will\n" #~ "\t\tdefault to the file content. If the basename is an invalid key, you " #~ "may specify an alternate key.\n" #~ "\n" @@ -2050,8 +2017,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tCreate a new secret for use with Docker registries.\n" #~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" +#~ "\t\tDockercfg secrets are used to authenticate against Docker registries.\n" #~ "\n" #~ "\t\tWhen using the Docker command line to push images, you can " #~ "authenticate to a given registry by running\n" @@ -2073,8 +2039,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tCreate a new secret for use with Docker registries.\n" #~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" +#~ "\t\tDockercfg secrets are used to authenticate against Docker registries.\n" #~ "\n" #~ "\t\tWhen using the Docker command line to push images, you can " #~ "authenticate to a given registry by running\n" @@ -2195,8 +2160,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tDelete resources by filenames, stdin, resources and names, or by " #~ "resources and label selector.\n" #~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" +#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments may " +#~ "be specified: filenames,\n" #~ "\t\tresources and names, or resources and label selector.\n" #~ "\n" #~ "\t\tSome resources, such as pods, support graceful deletion. These " @@ -2213,8 +2178,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "grace\tperiod of 0 and specify\n" #~ "\t\tthe --force flag.\n" #~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" +#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " +#~ "pod's processes have been\n" #~ "\t\tterminated, which can leave those processes running until the node " #~ "detects the deletion and\n" #~ "\t\tcompletes graceful deletion. If your processes use shared storage or " @@ -2225,8 +2190,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "identification which may lead\n" #~ "\t\tto data corruption or inconsistency. Only force delete pods when you " #~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" +#~ "\t\tterminated, or if your application can tolerate multiple copies of the " +#~ "same pod running at once.\n" #~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " #~ "those nodes before the node\n" #~ "\t\thas released those resources and causing those pods to be evicted " @@ -2242,8 +2207,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tDelete resources by filenames, stdin, resources and names, or by " #~ "resources and label selector.\n" #~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" +#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments may " +#~ "be specified: filenames,\n" #~ "\t\tresources and names, or resources and label selector.\n" #~ "\n" #~ "\t\tSome resources, such as pods, support graceful deletion. These " @@ -2260,8 +2225,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "grace\tperiod of 0 and specify\n" #~ "\t\tthe --force flag.\n" #~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" +#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " +#~ "pod's processes have been\n" #~ "\t\tterminated, which can leave those processes running until the node " #~ "detects the deletion and\n" #~ "\t\tcompletes graceful deletion. If your processes use shared storage or " @@ -2272,8 +2237,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "identification which may lead\n" #~ "\t\tto data corruption or inconsistency. Only force delete pods when you " #~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" +#~ "\t\tterminated, or if your application can tolerate multiple copies of the " +#~ "same pod running at once.\n" #~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " #~ "those nodes before the node\n" #~ "\t\thas released those resources and causing those pods to be evicted " @@ -2289,8 +2254,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" #~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" +#~ "\t\tThe stop command is deprecated, all its functionalities are covered by " +#~ "delete command.\n" #~ "\t\tSee 'kubectl delete --help' for more details.\n" #~ "\n" #~ "\t\tAttempts to shut down and delete a resource that supports graceful " @@ -2300,8 +2265,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" #~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" +#~ "\t\tThe stop command is deprecated, all its functionalities are covered by " +#~ "delete command.\n" #~ "\t\tSee 'kubectl delete --help' for more details.\n" #~ "\n" #~ "\t\tAttempts to shut down and delete a resource that supports graceful " @@ -2368,8 +2333,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tThe given node will be marked unschedulable to prevent new pods from " #~ "arriving.\n" #~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" +#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will use " +#~ "normal DELETE\n" #~ "\t\tto delete the pods.\n" #~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " #~ "cannot be deleted through\n" @@ -2404,8 +2369,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\tThe given node will be marked unschedulable to prevent new pods from " #~ "arriving.\n" #~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" +#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will use " +#~ "normal DELETE\n" #~ "\t\tto delete the pods.\n" #~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " #~ "cannot be deleted through\n" @@ -2442,8 +2407,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "retrieve via the\n" #~ "\t\tcommand line tools. It will open the editor defined by your " #~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" +#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " +#~ "Windows.\n" #~ "\t\tYou can edit multiple objects, although changes are applied one at a " #~ "time. The command\n" #~ "\t\taccepts filenames as well as command line arguments, although the " @@ -2481,8 +2446,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\t你之前保存的资源版本.\n" #~ "\n" #~ "\t\tEditing 是通过用于获取资源的API版本完成的.\n" -#~ "\t\t为了能通过指定的 API 版本修改, 请完全限定 resource, version 和 " -#~ "group.\n" +#~ "\t\t为了能通过指定的 API 版本修改, 请完全限定 resource, version 和 group.\n" #~ "\n" #~ "\t\t默认是 YAML 格式. 想在 JSON 中修改, 指定 \"-o json\".\n" #~ "\n" @@ -2500,8 +2464,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" #~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" +#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" #~ "\t\tthe .bash_profile.\n" #~ "\n" #~ "\t\tNote: this requires the bash-completion framework, which is not " @@ -2516,14 +2479,13 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" #~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" +#~ "\t\tNote for zsh users: [1] zsh completions are only supported in versions " +#~ "of zsh >= 5.2" #~ msgstr "" #~ "\n" #~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" #~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" +#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" #~ "\t\tthe .bash_profile.\n" #~ "\n" #~ "\t\tNote: this requires the bash-completion framework, which is not " @@ -2538,8 +2500,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" #~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" +#~ "\t\tNote for zsh users: [1] zsh completions are only supported in versions " +#~ "of zsh >= 5.2" #~ msgid "" #~ "\n" @@ -2552,8 +2514,7 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\texisting replication controller and overwrite at least one (common) " #~ "label in its replicaSelector.\n" #~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" +#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate.svg)" #~ msgstr "" #~ "\n" #~ "\t\t完成指定的 ReplicationController 的滚动升级.\n" @@ -2565,15 +2526,14 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\t\texisting replication controller and overwrite at least one (common) " #~ "label in its replicaSelector.\n" #~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" +#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate.svg)" #~ msgid "" #~ "\n" #~ "\t\tReplace a resource by filename or stdin.\n" #~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" +#~ "\t\tJSON and YAML formats are accepted. If replacing an existing resource, " +#~ "the\n" #~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" #~ "\n" #~ "\t\t $ kubectl get TYPE NAME -o yaml\n" @@ -2581,8 +2541,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tReplace a resource by filename or stdin.\n" #~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" +#~ "\t\tJSON and YAML formats are accepted. If replacing an existing resource, " +#~ "the\n" #~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" #~ "\n" #~ "\t\t $ kubectl get TYPE NAME -o yaml\n" @@ -2667,9 +2627,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tUpdate the labels on a resource.\n" #~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" +#~ "\t\t* A label must begin with a letter or number, and may contain letters, " +#~ "numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" #~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " #~ "otherwise attempting to overwrite a label will result in an error.\n" #~ "\t\t* If --resource-version is specified, then updates will use this " @@ -2678,9 +2637,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\tUpdate the labels on a resource.\n" #~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" +#~ "\t\t* A label must begin with a letter or number, and may contain letters, " +#~ "numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" #~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " #~ "otherwise attempting to overwrite a label will result in an error.\n" #~ "\t\t* If --resource-version is specified, then updates will use this " @@ -2693,12 +2651,10 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " #~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" +#~ "\t\t* The key must begin with a letter or number, and may contain letters, " +#~ "numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" #~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" +#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d characters.\n" #~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" #~ "\t\t* Currently taint can only apply to node." #~ msgstr "" @@ -2707,27 +2663,25 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "\n" #~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " #~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" +#~ "\t\t* The key must begin with a letter or number, and may contain letters, " +#~ "numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" #~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" +#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d characters.\n" #~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" #~ "\t\t* Currently taint can only apply to node." #~ msgid "" #~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" +#~ "\t\tView the latest last-applied-configuration annotations by type/name or " +#~ "file.\n" #~ "\n" #~ "\t\tThe default output will be printed to stdout in YAML format. One can " #~ "use -o option\n" #~ "\t\tto change output format." #~ msgstr "" #~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" +#~ "\t\tView the latest last-applied-configuration annotations by type/name or " +#~ "file.\n" #~ "\n" #~ "\t\tThe default output will be printed to stdout in YAML format. One can " #~ "use -o option\n" @@ -2763,8 +2717,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "tmp/bar_dir 路径 \n" #~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" #~ "\n" -#~ " # 复制 /tmp/foo local 本地文件到指定远程 pod 的指定容器的 /tmp/" -#~ "bar 路径\n" +#~ " # 复制 /tmp/foo local 本地文件到指定远程 pod 的指定容器的 /tmp/bar " +#~ "路径\n" #~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" #~ "\n" #~ "\t\t# 复制 /tmp/foo 本地文件到在 namespace 下的某个 pod " @@ -2860,8 +2814,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" +#~ " # Update pod 'foo' with the annotation 'description' and the value 'my " +#~ "frontend'.\n" #~ " # If the same annotation is set multiple times, only the last value " #~ "will be applied\n" #~ " kubectl annotate pods foo description='my frontend'\n" @@ -2869,10 +2823,10 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ " # Update a pod identified by type and name in \"pod.json\"\n" #~ " kubectl annotate -f pod.json description='my frontend'\n" #~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" +#~ " # Update pod 'foo' with the annotation 'description' and the value 'my " +#~ "frontend running nginx', overwriting any existing value.\n" +#~ " kubectl annotate --overwrite pods foo description='my frontend running " +#~ "nginx'\n" #~ "\n" #~ " # Update all pods in the namespace\n" #~ " kubectl annotate pods --all description='my frontend running nginx'\n" @@ -2881,14 +2835,14 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ " kubectl annotate pods foo description='my frontend running nginx' --" #~ "resource-version=1\n" #~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" +#~ " # Update pod 'foo' by removing an annotation named 'description' if it " +#~ "exists.\n" #~ " # Does not require the --overwrite flag.\n" #~ " kubectl annotate pods foo description-" #~ msgstr "" #~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" +#~ " # Update pod 'foo' with the annotation 'description' and the value 'my " +#~ "frontend'.\n" #~ " # If the same annotation is set multiple times, only the last value " #~ "will be applied\n" #~ " kubectl annotate pods foo description='my frontend'\n" @@ -2896,10 +2850,10 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ " # Update a pod identified by type and name in \"pod.json\"\n" #~ " kubectl annotate -f pod.json description='my frontend'\n" #~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" +#~ " # Update pod 'foo' with the annotation 'description' and the value 'my " +#~ "frontend running nginx', overwriting any existing value.\n" +#~ " kubectl annotate --overwrite pods foo description='my frontend running " +#~ "nginx'\n" #~ "\n" #~ " # Update all pods in the namespace\n" #~ " kubectl annotate pods --all description='my frontend running nginx'\n" @@ -2945,8 +2899,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "directory. If you specify a directory, kubernetes will\n" #~ " build a set of files in that directory. By default only dumps things " #~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" +#~ " switch to a different namespace with the --namespaces flag, or specify " +#~ "--all-namespaces to dump all namespaces.\n" #~ "\n" #~ " The command also dumps the logs of all of the pods in the cluster, " #~ "these logs are dumped into different directories\n" @@ -2959,8 +2913,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "directory. If you specify a directory, kubernetes will\n" #~ " build a set of files in that directory. By default only dumps things " #~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" +#~ " switch to a different namespace with the --namespaces flag, or specify " +#~ "--all-namespaces to dump all namespaces.\n" #~ "\n" #~ " The command also dumps the logs of all of the pods in the cluster, " #~ "these logs are dumped into different directories\n" @@ -3065,11 +3019,11 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L130 #~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" +#~ "Delete resources by filenames, stdin, resources and names, or by resources " +#~ "and label selector" #~ msgstr "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" +#~ "Delete resources by filenames, stdin, resources and names, or by resources " +#~ "and label selector" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/stop.go#L58 #~ msgid "Deprecated: Gracefully shut down a resource by name or filename" @@ -3151,11 +3105,10 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L71 #~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" +#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job" #~ msgstr "" -#~ "为 Deployment, ReplicaSet, Replication Controller 或者 Job 设置一个新的副" -#~ "本数量" +#~ "为 Deployment, ReplicaSet, Replication Controller 或者 Job 设置一个新的副本" +#~ "数量" #~ msgid "" #~ "Set the last-applied-configuration annotation on a live object to match " @@ -3186,17 +3139,16 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L87 #~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" +#~ "Take a replication controller, service, deployment or pod and expose it as " +#~ "a new Kubernetes Service" #~ msgstr "" -#~ "使用 replication controller, service, deployment 或者 pod 并暴露它作为一" -#~ "个 新的 Kubernetes Service" +#~ "使用 replication controller, service, deployment 或者 pod 并暴露它作为一个 " +#~ "新的 Kubernetes Service" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L100 #~ msgid "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" +#~ "The key to use to differentiate between two different controllers, default " +#~ "'deployment'. Only relevant when --image is specified, ignored otherwise" #~ msgstr "" #~ "这个 key 使用有区别在两个不同的 controllers, 默认 'deployment'. 只有当 --" #~ "image 指定值, 否则忽略" @@ -3206,8 +3158,8 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" #~ "guide/kubectl-conventions/#generators for a list." #~ msgstr "" -#~ "使用 API generator 的名字, 在 http://kubernetes.io/docs/user-guide/" -#~ "kubectl-conventions/#generators 查看列表." +#~ "使用 API generator 的名字, 在 http://kubernetes.io/docs/user-guide/kubectl-" +#~ "conventions/#generators 查看列表." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L66 #~ msgid "" @@ -3232,23 +3184,21 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L128 #~ msgid "" #~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." +#~ "Never]. If set to 'Always' a deployment is created, if set to 'OnFailure' " +#~ "a job is created, if set to 'Never', a regular pod is created. For the " +#~ "latter two --replicas must be 1. Default 'Always', for CronJobs `Never`." #~ msgstr "" #~ "这个 Pod 的 restart policy. Legal values [Always, OnFailure, Never]. 如果" #~ "设置为 'Always' 一个 deployment 被创建, 如果设置为 ’OnFailure' 一个 job 被" -#~ "创建, 如果设置为 'Never', 一个普通的 pod 被创建. 对于后面两个 --replicas " -#~ "必须为 1. 默认 'Always', 为 CronJobs 设置为 `Never`." +#~ "创建, 如果设置为 'Never', 一个普通的 pod 被创建. 对于后面两个 --replicas 必" +#~ "须为 1. 默认 'Always', 为 CronJobs 设置为 `Never`." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L101 #~ msgid "" #~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " #~ "'ClusterIP'." #~ msgstr "" -#~ "对于服务的类型: ClusterIP, NodePort, 或者 LoadBalancer. 默认是 " -#~ "'ClusterIP’." +#~ "对于服务的类型: ClusterIP, NodePort, 或者 LoadBalancer. 默认是 'ClusterIP’." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 #~ msgid "Unsets an individual value in a kubeconfig file" @@ -3264,19 +3214,18 @@ msgstr "kubectl 控制 Kubernetes cluster 管理" #~ msgid "" #~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "显示最后的 resource/object 的 last-applied-configuration annotations" +#~ msgstr "显示最后的 resource/object 的 last-applied-configuration annotations" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L253 #~ msgid "external name of service" #~ msgstr "服务的外部名称" #~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" +#~ "watch is only supported on individual resources and resource collections - " +#~ "%d resources were found" #~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" +#~ "watch is only supported on individual resources and resource collections - " +#~ "%d resources were found" #~ msgstr[0] "" #~ "watch 仅支持单独的资源或者资源集合 - 找到了 %d 个资源watch is only " #~ "supported on individual resources and resource collections - %d resource "