t# Return snapshot logs from container nginx-1 of a deployment named " #~ "nginx\n" #~ "\t\tkubectl logs deployment/nginx -c nginx-1" #~ msgid "" #~ "\n" #~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " #~ "content from ./local/www/\n" #~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" #~ "\n" #~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" #~ "\t\t# The chosen port for the server will be output to stdout.\n" #~ "\t\tkubectl proxy --port=0\n" #~ "\n" #~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" #~ "api\n" #~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" #~ "pods/\n" #~ "\t\tkubectl proxy --api-prefix=/k8s-api" #~ msgstr "" #~ "\n" #~ "\t\t# 运行 proxy 到 kubernetes apiserver 的 8011 端口上, 服务静态内容路径" #~ "为 ./local/www/\n" #~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" #~ "\n" #~ "\t\t# 在任意的本地端口上运行一个 proxy 到 kubernetes apiserver.\n" #~ "\t\t# 为这个 server 挑选的端口将会被输出到 stdout.\n" #~ "\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\tkubectl proxy --api-prefix=/k8s-api" #~ msgid "" #~ "\n" #~ "\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\tkubectl scale --replicas=3 -f foo.yaml\n" #~ "\n" #~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " #~ "3.\n" #~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" #~ "\n" #~ "\t\t# Scale multiple replication controllers.\n" #~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" #~ "\n" #~ "\t\t# Scale job named 'cron' to 3.\n" #~ "\t\tkubectl scale --replicas=3 job/cron" #~ msgstr "" #~ "\n" #~ "\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\tkubectl scale --replicas=3 -f foo.yaml\n" #~ "\n" #~ "\t\t# 如果名称为 mysql 的 deployment 当前副本数量为 2, scale mysql 到 3.\n" #~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" #~ "\n" #~ "\t\t# Scale 多个 replication controllers.\n" #~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" #~ "\n" #~ "\t\t# Scale 名称为 ’cron’ 的 job 副本数量为 3.\n" #~ "\t\tkubectl scale --replicas=3 job/cron" #~ msgid "" #~ "\n" #~ "\t\t# Set the last-applied-configuration of a resource to match the " #~ "contents of a file.\n" #~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" #~ "\n" #~ "\t\t# Execute set-last-applied against each configuration file in a " #~ "directory.\n" #~ "\t\tkubectl apply set-last-applied -f path/\n" #~ "\n" #~ "\t\t# Set the last-applied-configuration of a resource to match the " #~ "contents of a file, will create the annotation if it does not already " #~ "exist.\n" #~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" #~ "annotation=true\n" #~ "\t\t" #~ msgstr "" #~ "\n" #~ "\t\t# 设置一个资源的 last-applied-configuration 去匹配一个文件的内容.\n" #~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" #~ "\n" #~ "\t\t# Execute set-last-applied against each configuration file in a " #~ "directory.\n" #~ "\t\tkubectl apply set-last-applied -f path/\n" #~ "\n" #~ "\t\t# 设置一个资源的 last-applied-configuration 去匹配一个文件的内容, 如果" #~ "不存在将会创建一个 annotation.\n" #~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" #~ "annotation=true\n" #~ "\t\t" #~ msgid "" #~ "\n" #~ "\t\t# Shut down foo.\n" #~ "\t\tkubectl stop replicationcontroller foo\n" #~ "\n" #~ "\t\t# Stop pods and services with label name=myLabel.\n" #~ "\t\tkubectl stop pods,services -l name=myLabel\n" #~ "\n" #~ "\t\t# Shut down the service defined in service.json\n" #~ "\t\tkubectl stop -f service.json\n" #~ "\n" #~ "\t\t# Shut down all resources in the path/to/resources directory\n" #~ "\t\tkubectl stop -f path/to/resources" #~ msgstr "" #~ "\n" #~ "\t\t# Shut down foo.\n" #~ "\t\tkubectl stop replicationcontroller foo\n" #~ "\n" #~ "\t\t# Stop pods and services with label name=myLabel.\n" #~ "\t\tkubectl stop pods,services -l name=myLabel\n" #~ "\n" #~ "\t\t# Shut down the service defined in service.json\n" #~ "\t\tkubectl stop -f service.json\n" #~ "\n" #~ "\t\t# Shut down all resources in the path/to/resources directory\n" #~ "\t\tkubectl stop -f path/to/resources" #~ msgid "" #~ "\n" #~ "\t\t# Start a single instance of nginx.\n" #~ "\t\tkubectl run nginx --image=nginx\n" #~ "\n" #~ "\t\t# Start a single instance of hazelcast and let the container expose " #~ "port 5701 .\n" #~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" #~ "\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" #~ "\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\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" #~ "\n" #~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " #~ "it if it exits.\n" #~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" #~ "\n" #~ "\t\t# Start the nginx container using the default command, but use custom " #~ "arguments (arg1 .. argN) for that command.\n" #~ "\t\tkubectl run nginx --image=nginx -- ... \n" #~ "\n" #~ "\t\t# Start the nginx container using a different command and custom " #~ "arguments.\n" #~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" #~ "\n" #~ "\t\t# Start the perl container to compute π to 2000 places and print it " #~ "out.\n" #~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" #~ "wle 'print bpi(2000)'\n" #~ "\n" #~ "\t\t# Start the cron job to compute π to 2000 places and print it out " #~ "every 5 minutes.\n" #~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" #~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" #~ msgstr "" #~ "\n" #~ "\t\t# Start a single instance of nginx.\n" #~ "\t\tkubectl run nginx --image=nginx\n" #~ "\n" #~ "\t\t# Start a single instance of hazelcast and let the container expose " #~ "port 5701 .\n" #~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" #~ "\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" #~ "\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\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" #~ "\n" #~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " #~ "it if it exits.\n" #~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" #~ "\n" #~ "\t\t# Start the nginx container using the default command, but use custom " #~ "arguments (arg1 .. argN) for that command.\n" #~ "\t\tkubectl run nginx --image=nginx -- ... \n" #~ "\n" #~ "\t\t# Start the nginx container using a different command and custom " #~ "arguments.\n" #~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" #~ "\n" #~ "\t\t# Start the perl container to compute π to 2000 places and print it " #~ "out.\n" #~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" #~ "wle 'print bpi(2000)'\n" #~ "\n" #~ "\t\t# Start the cron job to compute π to 2000 places and print it out " #~ "every 5 minutes.\n" #~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" #~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" #~ msgid "" #~ "\n" #~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " #~ "'special-user' and effect 'NoSchedule'.\n" #~ "\t\t# If a taint with that key and effect already exists, its value is " #~ "replaced as specified.\n" #~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" #~ "\n" #~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " #~ "'NoSchedule' if one exists.\n" #~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" #~ "\n" #~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" #~ "\t\tkubectl taint nodes foo dedicated-" #~ msgstr "" #~ "\n" #~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " #~ "'special-user' and effect 'NoSchedule'.\n" #~ "\t\t# If a taint with that key and effect already exists, its value is " #~ "replaced as specified.\n" #~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" #~ "\n" #~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " #~ "'NoSchedule' if one exists.\n" #~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" #~ "\n" #~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" #~ "\t\tkubectl taint nodes foo dedicated-" #~ msgid "" #~ "\n" #~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" #~ "\t\tkubectl label pods foo unhealthy=true\n" #~ "\n" #~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " #~ "overwriting any existing value.\n" #~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" #~ "\n" #~ "\t\t# Update all pods in the namespace\n" #~ "\t\tkubectl label pods --all status=unhealthy\n" #~ "\n" #~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" #~ "\t\tkubectl label -f pod.json status=unhealthy\n" #~ "\n" #~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" #~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" #~ "\n" #~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" #~ "\t\t# Does not require the --overwrite flag.\n" #~ "\t\tkubectl label pods foo bar-" #~ msgstr "" #~ "\n" #~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" #~ "\t\tkubectl label pods foo unhealthy=true\n" #~ "\n" #~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " #~ "overwriting any existing value.\n" #~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" #~ "\n" #~ "\t\t# Update all pods in the namespace\n" #~ "\t\tkubectl label pods --all status=unhealthy\n" #~ "\n" #~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" #~ "\t\tkubectl label -f pod.json status=unhealthy\n" #~ "\n" #~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" #~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" #~ "\n" #~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" #~ "\t\t# Does not require the --overwrite flag.\n" #~ "\t\tkubectl label pods foo bar-" #~ msgid "" #~ "\n" #~ "\t\t# Update pods of frontend-v1 using new replication controller data in " #~ "frontend-v2.json.\n" #~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" #~ "\n" #~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" #~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" #~ "\n" #~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " #~ "image, and switching the\n" #~ "\t\t# name of the replication controller.\n" #~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" #~ "\n" #~ "\t\t# Update the pods of frontend by just changing the image, and keeping " #~ "the old name.\n" #~ "\t\tkubectl rolling-update frontend --image=image:v2\n" #~ "\n" #~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " #~ "to frontend-v2).\n" #~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" #~ msgstr "" #~ "\n" #~ "\t\t# Update pods of frontend-v1 using new replication controller data in " #~ "frontend-v2.json.\n" #~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" #~ "\n" #~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" #~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" #~ "\n" #~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " #~ "image, and switching the\n" #~ "\t\t# name of the replication controller.\n" #~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" #~ "\n" #~ "\t\t# Update the pods of frontend by just changing the image, and keeping " #~ "the old name.\n" #~ "\t\tkubectl rolling-update frontend --image=image:v2\n" #~ "\n" #~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " #~ "to frontend-v2).\n" #~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" #~ msgid "" #~ "\n" #~ "\t\t# View the last-applied-configuration annotations by type/name in " #~ "YAML.\n" #~ "\t\tkubectl apply view-last-applied deployment/nginx\n" #~ "\n" #~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" #~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" #~ msgstr "" #~ "\n" #~ "\t\t# View the last-applied-configuration annotations by type/name in " #~ "YAML.\n" #~ "\t\tkubectl apply view-last-applied deployment/nginx\n" #~ "\n" #~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" #~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" #~ msgid "" #~ "\n" #~ "\t\tApply a configuration to a resource by filename or stdin.\n" #~ "\t\tThis resource will be created if it doesn't exist yet.\n" #~ "\t\tTo use 'apply', always create the resource initially with either " #~ "'apply' or 'create --save-config'.\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted.\n" #~ "\n" #~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " #~ "not use unless you are aware of what the current state is. See https://" #~ "issues.k8s.io/34274." #~ msgstr "" #~ "\n" #~ "\t\t通过文件名或标准输入流(stdin)对资源进行配置.\n" #~ "\t\tThis resource will be created if it doesn't exist yet.\n" #~ "\t\tTo use 'apply', always create the resource initially with either " #~ "'apply' or 'create --save-config'.\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted.\n" #~ "\n" #~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " #~ "not use unless you are aware of what the current state is. See https://" #~ "issues.k8s.io/34274." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 #~ msgid "" #~ "\n" #~ "\t\tCreate a ClusterRole." #~ msgstr "" #~ "\n" #~ "\t\t创建一个 ClusterRole." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 #~ msgid "" #~ "\n" #~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." #~ msgstr "" #~ "\n" #~ "\t\t 为指定的 ClusterRole 创建一个 ClusterRoleBinding." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 #~ msgid "" #~ "\n" #~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." #~ msgstr "" #~ "\n" #~ "\t\t为指定的 Role 或者 ClusterRole 创建一个 RoleBinding." #~ msgid "" #~ "\n" #~ "\t\tCreate a TLS secret from the given public/private key pair.\n" #~ "\n" #~ "\t\tThe public/private key pair must exist before hand. The public key " #~ "certificate must be .PEM encoded and match the given private key." #~ msgstr "" #~ "\n" #~ "\t\t为指定的 public/private key pair 创建一个 TLS secret.\n" #~ "\n" #~ "\t\tpublic/private key pair 必须在传递前存在. public key certificate 必须" #~ "以 .PEM 被编码且匹配指定的 private key." #~ msgid "" #~ "\n" #~ "\t\tCreate a configmap based on a file, directory, or specified literal " #~ "value.\n" #~ "\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\tdefault to the file content. If the basename is an invalid key, you " #~ "may specify an alternate key.\n" #~ "\n" #~ "\t\tWhen creating a configmap based on a directory, each file whose " #~ "basename is a valid key in the directory will be\n" #~ "\t\tpackaged into the configmap. Any directory entries except regular " #~ "files are ignored (e.g. subdirectories,\n" #~ "\t\tsymlinks, devices, pipes, etc)." #~ msgstr "" #~ "\n" #~ "\t\tCreate a configmap based on a file, directory, or specified literal " #~ "value.\n" #~ "\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\tdefault to the file content. If the basename is an invalid key, you " #~ "may specify an alternate key.\n" #~ "\n" #~ "\t\tWhen creating a configmap based on a directory, each file whose " #~ "basename is a valid key in the directory will be\n" #~ "\t\tpackaged into the configmap. Any directory entries except regular " #~ "files are ignored (e.g. subdirectories,\n" #~ "\t\tsymlinks, devices, pipes, etc)." #~ msgid "" #~ "\n" #~ "\t\tCreate a new secret for use with Docker registries.\n" #~ "\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" #~ "\n" #~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" #~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" #~ "\n" #~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " #~ "push' and 'docker pull' commands to\n" #~ "\t\tauthenticate to the registry. The email address is optional.\n" #~ "\n" #~ "\t\tWhen creating applications, you may have a Docker registry that " #~ "requires authentication. In order for the\n" #~ "\t\tnodes to pull images on your behalf, they have to have the " #~ "credentials. You can provide this information\n" #~ "\t\tby creating a dockercfg secret and attaching it to your service " #~ "account." #~ msgstr "" #~ "\n" #~ "\t\tCreate a new secret for use with Docker registries.\n" #~ "\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" #~ "\n" #~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" #~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" #~ "\n" #~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " #~ "push' and 'docker pull' commands to\n" #~ "\t\tauthenticate to the registry. The email address is optional.\n" #~ "\n" #~ "\t\tWhen creating applications, you may have a Docker registry that " #~ "requires authentication. In order for the\n" #~ "\t\tnodes to pull images on your behalf, they have to have the " #~ "credentials. You can provide this information\n" #~ "\t\tby creating a dockercfg secret and attaching it to your service " #~ "account." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 #~ msgid "" #~ "\n" #~ "\t\tCreate a pod disruption budget with the specified name, selector, and " #~ "desired minimum available pods" #~ msgstr "" #~ "\n" #~ "\t\tCreate a pod disruption budget with the specified name, selector, and " #~ "desired minimum available pods" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 #~ msgid "" #~ "\n" #~ "\t\tCreate a resource by filename or stdin.\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted." #~ msgstr "" #~ "\n" #~ "\t\t通过文件名或者标准输入流(stdin)创建一个资源.\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 #~ msgid "" #~ "\n" #~ "\t\tCreate a resourcequota with the specified name, hard limits and " #~ "optional scopes" #~ msgstr "" #~ "\n" #~ "\t\tCreate a resourcequota with the specified name, hard limits and " #~ "optional scopes" #~ msgid "" #~ "\n" #~ "\t\tCreate a secret based on a file, directory, or specified literal " #~ "value.\n" #~ "\n" #~ "\t\tA single secret may package one or more key/value pairs.\n" #~ "\n" #~ "\t\tWhen creating a secret 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" #~ "\t\tWhen creating a secret based on a directory, each file whose basename " #~ "is a valid key in the directory will be\n" #~ "\t\tpackaged into the secret. Any directory entries except regular files " #~ "are ignored (e.g. subdirectories,\n" #~ "\t\tsymlinks, devices, pipes, etc)." #~ msgstr "" #~ "\n" #~ "\t\tCreate a secret based on a file, directory, or specified literal " #~ "value.\n" #~ "\n" #~ "\t\tA single secret may package one or more key/value pairs.\n" #~ "\n" #~ "\t\tWhen creating a secret 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" #~ "\t\tWhen creating a secret based on a directory, each file whose basename " #~ "is a valid key in the directory will be\n" #~ "\t\tpackaged into the secret. Any directory entries except regular files " #~ "are ignored (e.g. subdirectories,\n" #~ "\t\tsymlinks, devices, pipes, etc)." #~ msgid "" #~ "\n" #~ "\t\tCreate and run a particular image, possibly replicated.\n" #~ "\n" #~ "\t\tCreates a deployment or job to manage the created container(s)." #~ msgstr "" #~ "\n" #~ "\t\tCreate and run a particular image, possibly replicated.\n" #~ "\n" #~ "\t\tCreates a deployment or job to manage the created container(s)." #~ msgid "" #~ "\n" #~ "\t\tCreates an autoscaler that automatically chooses and sets the number " #~ "of pods that run in a kubernetes cluster.\n" #~ "\n" #~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " #~ "and creates an autoscaler that uses the given resource as a reference.\n" #~ "\t\tAn autoscaler can automatically increase or decrease number of pods " #~ "deployed within the system as needed." #~ msgstr "" #~ "\n" #~ "\t\tCreates an autoscaler that automatically chooses and sets the number " #~ "of pods that run in a kubernetes cluster.\n" #~ "\n" #~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " #~ "and creates an autoscaler that uses the given resource as a reference.\n" #~ "\t\tAn autoscaler can automatically increase or decrease number of pods " #~ "deployed within the system as needed." #~ msgid "" #~ "\n" #~ "\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\tresources and names, or resources and label selector.\n" #~ "\n" #~ "\t\tSome resources, such as pods, support graceful deletion. These " #~ "resources define a default period\n" #~ "\t\tbefore they are forcibly terminated (the grace period) but you may " #~ "override that value with\n" #~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " #~ "Because these resources often\n" #~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " #~ "immediately. If the node\n" #~ "\t\thosting a pod is down or cannot reach the API server, termination may " #~ "take significantly longer\n" #~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " #~ "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\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 " #~ "talk to a remote API and\n" #~ "\t\tdepend on the name of the pod to identify themselves, force deleting " #~ "those pods may result in\n" #~ "\t\tmultiple processes running on different machines using the same " #~ "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\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 " #~ "immediately.\n" #~ "\n" #~ "\t\tNote that the delete command does NOT do resource version checks, so " #~ "if someone\n" #~ "\t\tsubmits an update to a resource right when you submit a delete, their " #~ "update\n" #~ "\t\twill be lost along with the rest of the resource." #~ msgstr "" #~ "\n" #~ "\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\tresources and names, or resources and label selector.\n" #~ "\n" #~ "\t\tSome resources, such as pods, support graceful deletion. These " #~ "resources define a default period\n" #~ "\t\tbefore they are forcibly terminated (the grace period) but you may " #~ "override that value with\n" #~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " #~ "Because these resources often\n" #~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " #~ "immediately. If the node\n" #~ "\t\thosting a pod is down or cannot reach the API server, termination may " #~ "take significantly longer\n" #~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " #~ "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\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 " #~ "talk to a remote API and\n" #~ "\t\tdepend on the name of the pod to identify themselves, force deleting " #~ "those pods may result in\n" #~ "\t\tmultiple processes running on different machines using the same " #~ "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\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 " #~ "immediately.\n" #~ "\n" #~ "\t\tNote that the delete command does NOT do resource version checks, so " #~ "if someone\n" #~ "\t\tsubmits an update to a resource right when you submit a delete, their " #~ "update\n" #~ "\t\twill be lost along with the rest of the resource." #~ msgid "" #~ "\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\tSee 'kubectl delete --help' for more details.\n" #~ "\n" #~ "\t\tAttempts to shut down and delete a resource that supports graceful " #~ "termination.\n" #~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." #~ msgstr "" #~ "\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\tSee 'kubectl delete --help' for more details.\n" #~ "\n" #~ "\t\tAttempts to shut down and delete a resource that supports graceful " #~ "termination.\n" #~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." #~ msgid "" #~ "\n" #~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" #~ "\n" #~ "\t\tThe top-node command allows you to see the resource consumption of " #~ "nodes." #~ msgstr "" #~ "\n" #~ "\t\t显示 node 的资源(CPU/Memory/Storage)使用.\n" #~ "\n" #~ "\t\tThe top-node command allows you to see the resource consumption of " #~ "nodes." #~ msgid "" #~ "\n" #~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" #~ "\n" #~ "\t\tThe 'top pod' command allows you to see the resource consumption of " #~ "pods.\n" #~ "\n" #~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " #~ "minutes\n" #~ "\t\tsince pod creation." #~ msgstr "" #~ "\n" #~ "\t\t显示 pods 资源(CPU/Memory/Storage)使用.\n" #~ "\n" #~ "\t\tThe 'top pod' command allows you to see the resource consumption of " #~ "pods.\n" #~ "\n" #~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " #~ "minutes\n" #~ "\t\tsince pod creation." #~ msgid "" #~ "\n" #~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" #~ "\n" #~ "\t\tThe top command allows you to see the resource consumption for nodes " #~ "or pods.\n" #~ "\n" #~ "\t\tThis command requires Heapster to be correctly configured and working " #~ "on the server. " #~ msgstr "" #~ "\n" #~ "\t\t显示资源(CPU/Memory/Storage)使用.\n" #~ "\n" #~ "\t\tThe top command allows you to see the resource consumption for nodes " #~ "or pods.\n" #~ "\n" #~ "\t\tThis command requires Heapster to be correctly configured and working " #~ "on the server. " #~ msgid "" #~ "\n" #~ "\t\tDrain node in preparation for maintenance.\n" #~ "\n" #~ "\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\tto delete the pods.\n" #~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " #~ "cannot be deleted through\n" #~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " #~ "proceed\n" #~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" #~ "\t\tDaemonSet-managed pods, because those pods would be immediately " #~ "replaced by the\n" #~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " #~ "are any\n" #~ "\t\tpods that are neither mirror pods nor managed by " #~ "ReplicationController,\n" #~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " #~ "any pods unless you\n" #~ "\t\tuse --force. --force will also allow deletion to proceed if the " #~ "managing resource of one\n" #~ "\t\tor more pods is missing.\n" #~ "\n" #~ "\t\t'drain' waits for graceful termination. You should not operate on the " #~ "machine until\n" #~ "\t\tthe command completes.\n" #~ "\n" #~ "\t\tWhen you are ready to put the node back into service, use kubectl " #~ "uncordon, which\n" #~ "\t\twill make the node schedulable again.\n" #~ "\n" #~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" #~ msgstr "" #~ "\n" #~ "\t\t清理节点为节点维护做准备.\n" #~ "\n" #~ "\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\tto delete the pods.\n" #~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " #~ "cannot be deleted through\n" #~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " #~ "proceed\n" #~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" #~ "\t\tDaemonSet-managed pods, because those pods would be immediately " #~ "replaced by the\n" #~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " #~ "are any\n" #~ "\t\tpods that are neither mirror pods nor managed by " #~ "ReplicationController,\n" #~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " #~ "any pods unless you\n" #~ "\t\tuse --force. --force will also allow deletion to proceed if the " #~ "managing resource of one\n" #~ "\t\tor more pods is missing.\n" #~ "\n" #~ "\t\t'drain' waits for graceful termination. You should not operate on the " #~ "machine until\n" #~ "\t\tthe command completes.\n" #~ "\n" #~ "\t\tWhen you are ready to put the node back into service, use kubectl " #~ "uncordon, which\n" #~ "\t\twill make the node schedulable again.\n" #~ "\n" #~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" #~ msgid "" #~ "\n" #~ "\t\tEdit a resource from the default editor.\n" #~ "\n" #~ "\t\tThe edit command allows you to directly edit any API resource you can " #~ "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\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 " #~ "files you point to must\n" #~ "\t\tbe previously saved versions of resources.\n" #~ "\n" #~ "\t\tEditing is done with the API version used to fetch the resource.\n" #~ "\t\tTo edit using a specific API version, fully-qualify the resource, " #~ "version, and group.\n" #~ "\n" #~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" #~ "\n" #~ "\t\tThe flag --windows-line-endings can be used to force Windows line " #~ "endings,\n" #~ "\t\totherwise the default for your operating system will be used.\n" #~ "\n" #~ "\t\tIn the event an error occurs while updating, a temporary file will be " #~ "created on disk\n" #~ "\t\tthat contains your unapplied changes. The most common error when " #~ "updating a resource\n" #~ "\t\tis another editor changing the resource on the server. When this " #~ "occurs, you will have\n" #~ "\t\tto apply your changes to the newer version of the resource, or update " #~ "your temporary\n" #~ "\t\tsaved copy to include the latest resource version." #~ msgstr "" #~ "\n" #~ "\t\t使用默认的编辑器修改资源.\n" #~ "\n" #~ "\t\tedit 命令允许你通过命令行直接修改 API 资源.\n" #~ "\t\t它会打开你在 KUBE_EDITOR 或者EDITOR 环境变量中定义的编辑器\n" #~ "\t\t或者回滚到 Linux vi 编辑器或者 Windows notepad.\n" #~ "\t\t你可以修改多个对象, 虽然每次只能修改一次. 这个命令\n" #~ "\t\t同时也接受文件名作为命令行参数, 尽管这些文件你指出必须是\n" #~ "\t\t你之前保存的资源版本.\n" #~ "\n" #~ "\t\tEditing 是通过用于获取资源的API版本完成的.\n" #~ "\t\t为了能通过指定的 API 版本修改, 请完全限定 resource, version 和 group.\n" #~ "\n" #~ "\t\t默认是 YAML 格式. 想在 JSON 中修改, 指定 \"-o json\".\n" #~ "\n" #~ "\t\t--windows-line-endings 命令行参数可以用来强制使用 Windows line " #~ "endings,\n" #~ "\t\t否则会使用你操作系统的默认值.\n" #~ "\n" #~ "\t\t如果更新时发生错误,将在磁盘上创建一个临时文件\n" #~ "\t\t里面包含您未应用的更改. 更新资源时最常见的错误\n" #~ "\t\t是另一个编辑器也在服务器中修改这个资源. 当发生这种情况时, 你将\n" #~ "\t\t需要应用你的修改到资源的最新版本, 或者更新你被保存的临时文件\n" #~ "\t\t复制它并使用最新的版本." #~ msgid "" #~ "\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\tthe .bash_profile.\n" #~ "\n" #~ "\t\tNote: this requires the bash-completion framework, which is not " #~ "installed\n" #~ "\t\tby default on Mac. This can be installed by using homebrew:\n" #~ "\n" #~ "\t\t $ brew install bash-completion\n" #~ "\n" #~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " #~ "by adding the\n" #~ "\t\tfollowing line to the .bash_profile\n" #~ "\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" #~ 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\tthe .bash_profile.\n" #~ "\n" #~ "\t\tNote: this requires the bash-completion framework, which is not " #~ "installed\n" #~ "\t\tby default on Mac. This can be installed by using homebrew:\n" #~ "\n" #~ "\t\t $ brew install bash-completion\n" #~ "\n" #~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " #~ "by adding the\n" #~ "\t\tfollowing line to the .bash_profile\n" #~ "\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" #~ msgid "" #~ "\n" #~ "\t\tPerform a rolling update of the given ReplicationController.\n" #~ "\n" #~ "\t\tReplaces the specified replication controller with a new replication " #~ "controller by updating one pod at a time to use the\n" #~ "\t\tnew PodTemplate. The new-controller.json must specify the same " #~ "namespace as the\n" #~ "\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)" #~ msgstr "" #~ "\n" #~ "\t\t完成指定的 ReplicationController 的滚动升级.\n" #~ "\n" #~ "\t\tReplaces the specified replication controller with a new replication " #~ "controller by updating one pod at a time to use the\n" #~ "\t\tnew PodTemplate. The new-controller.json must specify the same " #~ "namespace as the\n" #~ "\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)" #~ 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\tcomplete resource spec must be provided. This can be obtained by\n" #~ "\n" #~ "\t\t $ kubectl get TYPE NAME -o yaml\n" #~ msgstr "" #~ "\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\tcomplete resource spec must be provided. This can be obtained by\n" #~ "\n" #~ "\t\t $ kubectl get TYPE NAME -o yaml\n" #~ msgid "" #~ "\n" #~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " #~ "or Job.\n" #~ "\n" #~ "\t\tScale also allows users to specify one or more preconditions for the " #~ "scale action.\n" #~ "\n" #~ "\t\tIf --current-replicas or --resource-version is specified, it is " #~ "validated before the\n" #~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " #~ "true when the\n" #~ "\t\tscale is sent to the server." #~ msgstr "" #~ "\n" #~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " #~ "or Job.\n" #~ "\n" #~ "\t\tScale also allows users to specify one or more preconditions for the " #~ "scale action.\n" #~ "\n" #~ "\t\tIf --current-replicas or --resource-version is specified, it is " #~ "validated before the\n" #~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " #~ "true when the\n" #~ "\t\tscale is sent to the server." #~ msgid "" #~ "\n" #~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" #~ "\n" #~ "\t\t $ kubectl proxy --api-prefix=/\n" #~ "\n" #~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" #~ "\n" #~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" #~ "prefix=/api/\n" #~ "\n" #~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" #~ "\n" #~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" #~ "\n" #~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" #~ "\n" #~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" #~ msgstr "" #~ "\n" #~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" #~ "\n" #~ "\t\t $ kubectl proxy --api-prefix=/\n" #~ "\n" #~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" #~ "\n" #~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" #~ "prefix=/api/\n" #~ "\n" #~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" #~ "\n" #~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" #~ "\n" #~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" #~ "\n" #~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" #~ msgid "" #~ "\n" #~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted.\n" #~ msgstr "" #~ "\n" #~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" #~ "\n" #~ "\t\tJSON and YAML formats are accepted.\n" #, c-format #~ msgid "" #~ "\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* 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 " #~ "resource version, otherwise the existing resource-version will be used." #~ msgstr "" #~ "\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* 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 " #~ "resource version, otherwise the existing resource-version will be used." #, c-format #~ msgid "" #~ "\n" #~ "\t\tUpdate the taints on one or more nodes.\n" #~ "\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 value must begin with a letter or number, and may contain " #~ "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 "" #~ "\n" #~ "\t\t更新一个或者多个 node 上的 taints.\n" #~ "\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 value must begin with a letter or number, and may contain " #~ "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" #~ "\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" #~ "\n" #~ "\t\tThe default output will be printed to stdout in YAML format. One can " #~ "use -o option\n" #~ "\t\tto change output format." #~ msgid "" #~ "\n" #~ "\t # !!!Important Note!!!\n" #~ "\t # Requires that the 'tar' binary is present in your container\n" #~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" #~ "\n" #~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " #~ "in the default namespace\n" #~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" #~ "\n" #~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " #~ "specific container\n" #~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" #~ "\n" #~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " #~ "\n" #~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" #~ "\n" #~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" #~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" #~ msgstr "" #~ "\n" #~ "\t # !!!注意!!!\n" #~ "\t # 要求容器中有 'tar' 命令\n" #~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" #~ "\n" #~ "\t # 复制本地目录 /tmp/foo_dir 到 default namespace 下的远程 pod 的 /" #~ "tmp/bar_dir 路径 \n" #~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" #~ "\n" #~ " # 复制 /tmp/foo local 本地文件到指定远程 pod 的指定容器的 /tmp/bar " #~ "路径\n" #~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" #~ "\n" #~ "\t\t# 复制 /tmp/foo 本地文件到在 namespace 下的某个 pod " #~ "的 /tmp/bar 路径\n" #~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" #~ "\n" #~ "\t\t# 从一个远程的 pod 的 /tmp/foo 路径复制到本地 /tmp/bar 路径\n" #~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" #~ msgid "" #~ "\n" #~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" #~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" #~ "key=path/to/tls.key" #~ msgstr "" #~ "\n" #~ "\t # 使用提供的 key pair 名称为tls-secret 的 secret:\n" #~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" #~ "key=path/to/tls.key" #~ msgid "" #~ "\n" #~ "\t # Create a new secret named my-secret with keys for each file in " #~ "folder bar\n" #~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" #~ "\n" #~ "\t # Create a new secret named my-secret with specified keys instead of " #~ "names on disk\n" #~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." #~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" #~ "\n" #~ "\t # Create a new secret named my-secret with key1=supersecret and " #~ "key2=topsecret\n" #~ "\t kubectl create secret generic my-secret --from-" #~ "literal=key1=supersecret --from-literal=key2=topsecret" #~ msgstr "" #~ "\n" #~ "\t # Create a new secret named my-secret with keys for each file in " #~ "folder bar\n" #~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" #~ "\n" #~ "\t # Create a new secret named my-secret with specified keys instead of " #~ "names on disk\n" #~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." #~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" #~ "\n" #~ "\t # Create a new secret named my-secret with key1=supersecret and " #~ "key2=topsecret\n" #~ "\t kubectl create secret generic my-secret --from-" #~ "literal=key1=supersecret --from-literal=key2=topsecret" #~ msgid "" #~ "\n" #~ "\t# Create a new ExternalName service named my-ns \n" #~ "\tkubectl create service externalname my-ns --external-name bar.com" #~ msgstr "" #~ "\n" #~ "\t# Create a new ExternalName service named my-ns \n" #~ "\tkubectl create service externalname my-ns --external-name bar.com" #~ msgid "" #~ "\n" #~ " # Create a new clusterIP service named my-cs\n" #~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" #~ "\n" #~ " # Create a new clusterIP service named my-cs (in headless mode)\n" #~ " kubectl create service clusterip my-cs --clusterip=\"None\"" #~ msgstr "" #~ "\n" #~ " # 创建一个名称为 my-cs 的 clusterIP service\n" #~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" #~ "\n" #~ " # 创建一个名称为 my-cs 的 clusterIP service (在 headless 模式)\n" #~ " kubectl create service clusterip my-cs --clusterip=\"None\"" #~ msgid "" #~ "\n" #~ " # Create a new deployment named my-dep that runs the busybox image.\n" #~ " kubectl create deployment my-dep --image=busybox" #~ msgstr "" #~ "\n" #~ " # 创建一个名称为 my-dep 的 deployment 并运行 busybox image.\n" #~ " kubectl create deployment my-dep --image=busybox" #~ msgid "" #~ "\n" #~ " # Create a new nodeport service named my-ns\n" #~ " kubectl create service nodeport my-ns --tcp=5678:8080" #~ msgstr "" #~ "\n" #~ " # 创建一个名称为 my-ns 的 nodeport service\n" #~ " kubectl create service nodeport my-ns --tcp=5678:8080" #~ msgid "" #~ "\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" #~ "\n" #~ " # 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" #~ "\n" #~ " # Update all pods in the namespace\n" #~ " kubectl annotate pods --all description='my frontend running nginx'\n" #~ "\n" #~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" #~ " 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" #~ " # 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" #~ " # If the same annotation is set multiple times, only the last value " #~ "will be applied\n" #~ " kubectl annotate pods foo description='my frontend'\n" #~ "\n" #~ " # 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" #~ "\n" #~ " # Update all pods in the namespace\n" #~ " kubectl annotate pods --all description='my frontend running nginx'\n" #~ "\n" #~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" #~ " kubectl annotate pods foo description='my frontend running nginx' --" #~ "resource-version=1\n" #~ "\n" #~ " # 更新名称为 'foo' 的 pod, 删除一个名称为 'description' 的 annotation " #~ "如果它存在. \n" #~ " # 不要求使用 --overwrite flag.\n" #~ " kubectl annotate pods foo description-" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 #~ msgid "" #~ "\n" #~ " Create a clusterIP service with the specified name." #~ msgstr "" #~ "\n" #~ " 使用一个指定的名称创建一个 clusterIP service." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 #~ msgid "" #~ "\n" #~ " Create a deployment with the specified name." #~ msgstr "" #~ "\n" #~ " 使用一个指定的名称创建一个 deployment." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 #~ msgid "" #~ "\n" #~ " Create a nodeport service with the specified name." #~ msgstr "" #~ "\n" #~ " 使用一个指定的名称创建一个 nodeport service." #~ msgid "" #~ "\n" #~ " Dumps cluster info out suitable for debugging and diagnosing cluster " #~ "problems. By default, dumps everything to\n" #~ " stdout. You can optionally specify a directory with --output-" #~ "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" #~ "\n" #~ " The command also dumps the logs of all of the pods in the cluster, " #~ "these logs are dumped into different directories\n" #~ " based on namespace and pod name." #~ msgstr "" #~ "\n" #~ " Dumps cluster info out suitable for debugging and diagnosing cluster " #~ "problems. By default, dumps everything to\n" #~ " stdout. You can optionally specify a directory with --output-" #~ "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" #~ "\n" #~ " The command also dumps the logs of all of the pods in the cluster, " #~ "these logs are dumped into different directories\n" #~ " based on namespace and pod name." #~ msgid "" #~ "\n" #~ " Display addresses of the master and services with label kubernetes.io/" #~ "cluster-service=true\n" #~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" #~ "info dump'." #~ msgstr "" #~ "\n" #~ " Display addresses of the master and services with label kubernetes.io/" #~ "cluster-service=true\n" #~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" #~ "info dump'." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L136 #~ msgid "A schedule in the Cron format the job should be run with." #~ msgstr "A schedule in the Cron format the job should be run with." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L134 #~ msgid "" #~ "An inline JSON override for the generated service object. If this is non-" #~ "empty, it is used to override the generated object. Requires that the " #~ "object supply a valid apiVersion field. Only used if --expose is true." #~ msgstr "" #~ "An inline JSON override for the generated service object. If this is non-" #~ "empty, it is used to override the generated object. Requires that the " #~ "object supply a valid apiVersion field. Only used if --expose is true." #~ msgid "Apply a configuration to a resource by filename or stdin" #~ msgstr "通过文件名或标准输入流(stdin)对资源进行配置" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L55 #~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" #~ msgstr "" #~ "自动调整一个 Deployment, ReplicaSet, 或者 ReplicationController 的副本数量" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L101 #~ msgid "" #~ "Container name which will have its image upgraded. Only relevant when --" #~ "image is specified, ignored otherwise. Required when using --image on a " #~ "multi-container pod" #~ msgstr "" #~ "Container name which will have its image upgraded. Only relevant when --" #~ "image is specified, ignored otherwise. Required when using --image on a " #~ "multi-container pod" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 #~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" #~ msgstr "为一个指定的 ClusterRole 创建一个 ClusterRoleBinding" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L181 #~ msgid "Create a LoadBalancer service." #~ msgstr "创建一个 LoadBalancer service." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L124 #~ msgid "Create a NodePort service." #~ msgstr "创建一个 NodePort service." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 #~ msgid "Create a RoleBinding for a particular Role or ClusterRole" #~ msgstr "为一个指定的 Role 或者 ClusterRole创建一个 RoleBinding" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 #~ msgid "Create a clusterIP service." #~ msgstr "创建一个 clusterIP service." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_configmap.go#L59 #~ msgid "Create a configmap from a local file, directory or literal value" #~ msgstr "从本地 file, directory 或者 literal value 创建一个 configmap" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 #~ msgid "Create a deployment with the specified name." #~ msgstr "创建一个指定名称的 deployment." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 #~ msgid "Create a pod disruption budget with the specified name." #~ msgstr "创建一个指定名称的 pod disruption budget." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 #~ msgid "Create a quota with the specified name." #~ msgstr "创建一个指定名称的 quota." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 #~ msgid "Create a resource by filename or stdin" #~ msgstr "通过文件名或者标准输入流(stdin)创建一个资源" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L73 #~ msgid "Create a secret from a local file, directory or literal value" #~ msgstr "从本地 file, directory 或者 literal value 创建一个 secret" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L36 #~ msgid "Create a service using specified subcommand." #~ msgstr "使用指定的 subcommand 创建一个 service." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L240 #~ msgid "Create an ExternalName service." #~ msgstr "Create an ExternalName service." # 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" #~ msgstr "" #~ "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" #~ msgstr "Deprecated: Gracefully shut down a resource by name or filename" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_node.go#L77 #~ msgid "Display Resource (CPU/Memory) usage of nodes" #~ msgstr "显示 nodes 的 Resource (CPU/Memory) 使用" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_pod.go#L79 #~ msgid "Display Resource (CPU/Memory) usage of pods" #~ msgstr "显示 pods 的 Resource (CPU/Memory) 使用" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top.go#L43 #~ msgid "Display Resource (CPU/Memory) usage." #~ msgstr "显示 Resource (CPU/Memory) 使用." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo.go#L49 #~ msgid "Display cluster info" #~ msgstr "显示集群信息" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48 #~ msgid "Displays the current-context" #~ msgstr "显示当前的 context" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/explain.go#L50 #~ msgid "Documentation of resources" #~ msgstr "查看资源的文档" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L37 #~ msgid "Dump lots of relevant info for debugging and diagnosis" #~ msgstr "Dump lots of relevant info for debugging and diagnosis" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L102 #~ msgid "" #~ "Explicit policy for when to pull container images. Required when --image " #~ "is same as existing image, ignored otherwise." #~ msgstr "" #~ "Explicit policy for when to pull container images. Required when --image " #~ "is same as existing image, ignored otherwise." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L105 #~ msgid "" #~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " #~ "created and used (cloud-provider specific)." #~ msgstr "" #~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " #~ "created and used (cloud-provider specific)." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L98 #~ msgid "" #~ "Image to use for upgrading the replication controller. Must be distinct " #~ "from the existing image (either new image or new image tag). Can not be " #~ "used with --filename/-f" #~ msgstr "" #~ "Image to use for upgrading the replication controller. Must be distinct " #~ "from the existing image (either new image or new image tag). Can not be " #~ "used with --filename/-f" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout.go#L46 #~ msgid "Manage a deployment rollout" #~ msgstr "管理一个 deployment 的 rollout" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L115 #~ msgid "" #~ "Output the formatted object with the given group version (for ex: " #~ "'extensions/v1beta1').)" #~ msgstr "" #~ "Output the formatted object with the given group version (for ex: " #~ "'extensions/v1beta1').)" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L84 #~ msgid "Perform a rolling update of the given ReplicationController" #~ msgstr "完成指定的 ReplicationController 的滚动升级" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/replace.go#L70 #~ msgid "Replace a resource by filename or stdin" #~ msgstr "通过 filename 或者 stdin替换一个资源" # 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" #~ msgstr "" #~ "为 Deployment, ReplicaSet, Replication Controller 或者 Job 设置一个新的副本" #~ "数量" #~ msgid "" #~ "Set the last-applied-configuration annotation on a live object to match " #~ "the contents of a file." #~ msgstr "" #~ "Set the last-applied-configuration annotation on a live object to match " #~ "the contents of a file." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67 #~ msgid "Sets a cluster entry in kubeconfig" #~ msgstr "设置 kubeconfig 文件中的一个集群条目" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57 #~ msgid "Sets a context entry in kubeconfig" #~ msgstr "设置 kubeconfig 文件中的一个 context 条目" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103 #~ msgid "Sets a user entry in kubeconfig" #~ msgstr "设置 kubeconfig 文件中的一个用户条目" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59 #~ msgid "Sets an individual value in a kubeconfig file" #~ msgstr "设置 kubeconfig 文件中的一个单个值" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48 #~ msgid "Sets the current-context in a kubeconfig file" #~ msgstr "设置 kubeconfig 文件中的当前上下文" # 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" #~ msgstr "" #~ "使用 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" #~ msgstr "" #~ "这个 key 使用有区别在两个不同的 controllers, 默认 'deployment'. 只有当 --" #~ "image 指定值, 否则忽略" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L113 #~ msgid "" #~ "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 查看列表." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L66 #~ msgid "" #~ "The name of the API generator to use. Currently there is only 1 generator." #~ msgstr "使用 API generator 的名字. 目前只有 1 个 generator." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L133 #~ msgid "" #~ "The name of the generator to use for creating a service. Only used if --" #~ "expose is true" #~ msgstr "" #~ "使用 gnerator 的名称创建一个 service. 只有在 --expose 为 true 的时候使用" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L121 #~ msgid "" #~ "The port that this container exposes. If --expose is true, this is also " #~ "the port used by the service that is created." #~ msgstr "" #~ "The port that this container exposes. If --expose is true, this is also " #~ "the port used by the service that is created." # 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`." #~ msgstr "" #~ "这个 Pod 的 restart policy. Legal values [Always, OnFailure, Never]. 如果" #~ "设置为 'Always' 一个 deployment 被创建, 如果设置为 ’OnFailure' 一个 job 被" #~ "创建, 如果设置为 '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’." # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 #~ msgid "Unsets an individual value in a kubeconfig file" #~ msgstr "取消设置 kubeconfig 文件中的一个单个值" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/patch.go#L91 #~ msgid "Update field(s) of a resource using strategic merge patch" #~ msgstr "使用 strategic merge patch 更新一个资源的 field(s)" # https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_image.go#L94 #~ msgid "Update image of a pod template" #~ msgstr "更新一个 pod template 的镜像" #~ msgid "" #~ "View latest last-applied-configuration annotations of a resource/object" #~ 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" #~ msgid_plural "" #~ "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 " #~ "was found" #~ msgstr[1] "" #~ "watch 仅支持单独的资源或者资源集合 - 找到了 %d 个资源watch is only " #~ "supported on individual resources and resource collections - %d resources " #~ "were found"