mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 08:20:23 +00:00
2119 lines
65 KiB
Plaintext
2119 lines
65 KiB
Plaintext
|
# SOME DESCRIPTIVE TITLE.
|
|||
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|||
|
# This file is distributed under the same license as the PACKAGE package.
|
|||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|||
|
#
|
|||
|
#, fuzzy
|
|||
|
msgid ""
|
|||
|
msgstr ""
|
|||
|
"Project-Id-Version: \n"
|
|||
|
"Report-Msgid-Bugs-To: EMAIL\n"
|
|||
|
"POT-Creation-Date: 2017-03-14 21:32-0700\n"
|
|||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|||
|
"Language: \n"
|
|||
|
"MIME-Version: 1.0\n"
|
|||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|||
|
"Content-Transfer-Encoding: 8bit\n"
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrolebinding.go:35
|
|||
|
msgid ""
|
|||
|
"\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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_rolebinding.go:35
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t # Create a RoleBinding for user1, user2, and group1 using the admin "
|
|||
|
"ClusterRole\n"
|
|||
|
"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --"
|
|||
|
"user=user2 --group=group1"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_configmap.go:44
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\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 kubectl create configmap my-config --from-file=key1=/path/to/bar/file1."
|
|||
|
"txt --from-file=key2=/path/to/bar/file2.txt\n"
|
|||
|
"\n"
|
|||
|
"\t\t # Create a new configmap named my-config with key1=config1 and "
|
|||
|
"key2=config2\n"
|
|||
|
"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-"
|
|||
|
"literal=key2=config2"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:135
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t # If you don't already have a .dockercfg file, you can create a "
|
|||
|
"dockercfg secret directly by using:\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"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_node.go:65
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t # Show metrics for all nodes\n"
|
|||
|
"\t\t kubectl top node\n"
|
|||
|
"\n"
|
|||
|
"\t\t # Show metrics for a given node\n"
|
|||
|
"\t\t kubectl top node NODE_NAME"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply.go:84
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Apply the configuration in pod.json to a pod.\n"
|
|||
|
"\t\tkubectl apply -f ./pod.json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Apply the JSON passed into stdin to a pod.\n"
|
|||
|
"\t\tcat pod.json | kubectl apply -f -\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Note: --prune is still in Alpha\n"
|
|||
|
"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx "
|
|||
|
"and delete all the other resources that are not in the file and match label "
|
|||
|
"app=nginx.\n"
|
|||
|
"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n"
|
|||
|
"\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"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/autoscale.go:40
|
|||
|
#, c-format
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and "
|
|||
|
"10, no target CPU utilization specified so a default autoscaling policy 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\tkubectl autoscale rc foo --max=5 --cpu-percent=80"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/convert.go:49
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n"
|
|||
|
"\t\tkubectl convert -f pod.yaml\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the "
|
|||
|
"latest version\n"
|
|||
|
"\t\t# and print to stdout in json format.\n"
|
|||
|
"\t\tkubectl convert -f pod.yaml --local -o json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Convert all files under current directory to latest version and create "
|
|||
|
"them all.\n"
|
|||
|
"\t\tkubectl convert -f . | kubectl create -f -"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrole.go:34
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Create a ClusterRole named \"pod-reader\" that allows user to perform "
|
|||
|
"\"get\", \"watch\" and \"list\" on pods\n"
|
|||
|
"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --"
|
|||
|
"resource=pods\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName specified\n"
|
|||
|
"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --"
|
|||
|
"resource=pods --resource-name=readablepod"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_role.go:41
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get"
|
|||
|
"\", \"watch\" and \"list\" on pods\n"
|
|||
|
"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --"
|
|||
|
"resource=pods\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n"
|
|||
|
"\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --"
|
|||
|
"resource=pods --resource-name=readablepod"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_quota.go:35
|
|||
|
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,"
|
|||
|
"persistentvolumeclaims=10\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a new resourcequota named best-effort\n"
|
|||
|
"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_pdb.go:35
|
|||
|
#, c-format
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Create a pod disruption budget named my-pdb that will select all pods "
|
|||
|
"with the app=rails label\n"
|
|||
|
"\t\t# and require at least one of them being available at any point in "
|
|||
|
"time.\n"
|
|||
|
"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-"
|
|||
|
"available=1\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a pod disruption budget named my-pdb that will select all pods "
|
|||
|
"with the app=nginx label\n"
|
|||
|
"\t\t# and require at least half of the pods selected to be available at any "
|
|||
|
"point in time.\n"
|
|||
|
"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create.go:47
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Create a pod using the data in pod.json.\n"
|
|||
|
"\t\tkubectl create -f ./pod.json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a pod based on the JSON passed into stdin.\n"
|
|||
|
"\t\tcat pod.json | kubectl create -f -\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API format "
|
|||
|
"then create the resource using the edited data.\n"
|
|||
|
"\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o json"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:53
|
|||
|
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\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\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 "
|
|||
|
"the name \"frontend\"\n"
|
|||
|
"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a second service based on the above service, exposing the "
|
|||
|
"container port 8443 as port 443 with the name \"nginx-https\"\n"
|
|||
|
"\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\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-"
|
|||
|
"stream\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a service for a replicated nginx using replica set, which "
|
|||
|
"serves on port 80 and connects to the containers on port 8000.\n"
|
|||
|
"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Create a service for an nginx deployment, which serves on port 80 and "
|
|||
|
"connects to the containers on port 8000.\n"
|
|||
|
"\t\tkubectl expose deployment nginx --port=80 --target-port=8000"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/delete.go:68
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Delete a pod using the type and name specified in pod.json.\n"
|
|||
|
"\t\tkubectl delete -f ./pod.json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Delete a pod based on the type and name in the JSON passed into "
|
|||
|
"stdin.\n"
|
|||
|
"\t\tcat pod.json | kubectl delete -f -\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n"
|
|||
|
"\t\tkubectl delete pod,service baz foo\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Delete pods and services with label name=myLabel.\n"
|
|||
|
"\t\tkubectl delete pods,services -l name=myLabel\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Delete a pod with minimal delay\n"
|
|||
|
"\t\tkubectl delete pod foo --now\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Force delete a pod on a dead node\n"
|
|||
|
"\t\tkubectl delete pod foo --grace-period=0 --force\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Delete all pods\n"
|
|||
|
"\t\tkubectl delete pods --all"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/describe.go:54
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Describe a node\n"
|
|||
|
"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Describe a pod\n"
|
|||
|
"\t\tkubectl describe pods/nginx\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Describe a pod identified by type and name in \"pod.json\"\n"
|
|||
|
"\t\tkubectl describe -f pod.json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Describe all pods\n"
|
|||
|
"\t\tkubectl describe pods\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Describe pods by label name=myLabel\n"
|
|||
|
"\t\tkubectl describe po -l name=myLabel\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-"
|
|||
|
"created pods\n"
|
|||
|
"\t\t# get the name of the rc as a prefix in the pod the name).\n"
|
|||
|
"\t\tkubectl describe pods frontend"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:165
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Drain node \"foo\", even if there are pods not managed by a "
|
|||
|
"ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n"
|
|||
|
"\t\t$ kubectl drain foo --force\n"
|
|||
|
"\n"
|
|||
|
"\t\t# As above, but abort if there are pods not managed by a "
|
|||
|
"ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use a "
|
|||
|
"grace period of 15 minutes.\n"
|
|||
|
"\t\t$ kubectl drain foo --grace-period=900"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/edit.go:80
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Edit the service named 'docker-registry':\n"
|
|||
|
"\t\tkubectl edit svc/docker-registry\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Use an alternative editor\n"
|
|||
|
"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n"
|
|||
|
"\t\tkubectl edit job.v1.batch/myjob -o json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified "
|
|||
|
"config in its annotation:\n"
|
|||
|
"\t\tkubectl edit deployment/mydeployment -o yaml --save-config"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/exec.go:41
|
|||
|
msgid ""
|
|||
|
"\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# and sends stdout/stderr from 'bash' back to the client\n"
|
|||
|
"\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/attach.go:42
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Get output from running pod 123456-7890, using the first container by "
|
|||
|
"default\n"
|
|||
|
"\t\tkubectl attach 123456-7890\n"
|
|||
|
"\n"
|
|||
|
"\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# and sends stdout/stderr from 'bash' back to the client\n"
|
|||
|
"\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Get output from the first pod of a ReplicaSet named nginx\n"
|
|||
|
"\t\tkubectl attach rs/nginx\n"
|
|||
|
"\t\t"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/explain.go:39
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Get the documentation of the resource and its fields\n"
|
|||
|
"\t\tkubectl explain pods\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Get the documentation of a specific field of a resource\n"
|
|||
|
"\t\tkubectl explain pods.spec.containers"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/completion.go:65
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Install bash completion on a Mac using homebrew\n"
|
|||
|
"\t\tbrew install bash-completion\n"
|
|||
|
"\t\tprintf \"\n"
|
|||
|
"# Bash completion support\n"
|
|||
|
"source $(brew --prefix)/etc/bash_completion\n"
|
|||
|
"\" >> $HOME/.bash_profile\n"
|
|||
|
"\t\tsource $HOME/.bash_profile\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Load the kubectl completion code for bash into the current shell\n"
|
|||
|
"\t\tsource <(kubectl completion bash)\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Write bash completion code to a file and source if from .bash_profile\n"
|
|||
|
"\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n"
|
|||
|
"\t\tprintf \"\n"
|
|||
|
"# Kubectl shell completion\n"
|
|||
|
"source '$HOME/.kube/completion.bash.inc'\n"
|
|||
|
"\" >> $HOME/.bash_profile\n"
|
|||
|
"\t\tsource $HOME/.bash_profile\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n"
|
|||
|
"\t\tsource <(kubectl completion zsh)"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/get.go:64
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# List all pods in ps output format.\n"
|
|||
|
"\t\tkubectl get pods\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List all pods in ps output format with more information (such as node "
|
|||
|
"name).\n"
|
|||
|
"\t\tkubectl get pods -o wide\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List a single replication controller with specified NAME in ps output "
|
|||
|
"format.\n"
|
|||
|
"\t\tkubectl get replicationcontroller web\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List a single pod in JSON output format.\n"
|
|||
|
"\t\tkubectl get -o json pod web-pod-13je7\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in "
|
|||
|
"JSON output format.\n"
|
|||
|
"\t\tkubectl get -f pod.yaml -o json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Return only the phase value of the specified pod.\n"
|
|||
|
"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List all replication controllers and services together in ps output "
|
|||
|
"format.\n"
|
|||
|
"\t\tkubectl get rc,services\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List one or more resources by their type and names.\n"
|
|||
|
"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n"
|
|||
|
"\n"
|
|||
|
"\t\t# List all resources with different types.\n"
|
|||
|
"\t\tkubectl get all"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/portforward.go:53
|
|||
|
msgid ""
|
|||
|
"\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"
|
|||
|
"\t\tkubectl port-forward mypod 8888:5000\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n"
|
|||
|
"\t\tkubectl port-forward mypod :5000\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n"
|
|||
|
"\t\tkubectl port-forward mypod 0:5000"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:118
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Mark node \"foo\" as schedulable.\n"
|
|||
|
"\t\t$ kubectl uncordon foo"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:93
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Mark node \"foo\" as unschedulable.\n"
|
|||
|
"\t\tkubectl cordon foo"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/patch.go:66
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Partially update a node using strategic merge patch\n"
|
|||
|
"\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\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Update a container's image; spec.containers[*].name is required "
|
|||
|
"because it's a merge key\n"
|
|||
|
"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":"
|
|||
|
"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Update a container's image using a json patch with positional arrays\n"
|
|||
|
"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", "
|
|||
|
"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/options.go:29
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Print flags inherited by all commands\n"
|
|||
|
"\t\tkubectl options"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo.go:41
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Print the address of the master and cluster services\n"
|
|||
|
"\t\tkubectl cluster-info"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/version.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Print the client and server versions for the current context\n"
|
|||
|
"\t\tkubectl version"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apiversions.go:34
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Print the supported API versions\n"
|
|||
|
"\t\tkubectl api-versions"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/replace.go:50
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Replace a pod using the data in pod.json.\n"
|
|||
|
"\t\tkubectl replace -f ./pod.json\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Replace a pod based on the JSON passed into stdin.\n"
|
|||
|
"\t\tcat pod.json | kubectl replace -f -\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Update a single-container pod's image version (tag) to v4\n"
|
|||
|
"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | "
|
|||
|
"kubectl replace -f -\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Force replace, delete and then re-create the resource\n"
|
|||
|
"\t\tkubectl replace --force -f ./pod.json"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/logs.go:40
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Return snapshot logs from pod nginx with only one container\n"
|
|||
|
"\t\tkubectl logs nginx\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Return snapshot logs for the pods defined by label app=nginx\n"
|
|||
|
"\t\tkubectl logs -lapp=nginx\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Return snapshot of previous terminated ruby container logs from pod "
|
|||
|
"web-1\n"
|
|||
|
"\t\tkubectl logs -p -c ruby web-1\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Begin streaming the logs of the ruby container in pod web-1\n"
|
|||
|
"\t\tkubectl logs -f -c ruby web-1\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Display only the most recent 20 lines of output in pod nginx\n"
|
|||
|
"\t\tkubectl logs --tail=20 nginx\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Show all logs from pod nginx written in the last hour\n"
|
|||
|
"\t\tkubectl logs --since=1h nginx\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Return snapshot logs from first container of a job named hello\n"
|
|||
|
"\t\tkubectl logs job/hello\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Return snapshot logs from container nginx-1 of a deployment named "
|
|||
|
"nginx\n"
|
|||
|
"\t\tkubectl logs deployment/nginx -c nginx-1"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/proxy.go:53
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/scale.go:43
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_set_last_applied.go:67
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_pod.go:61
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\t# Show metrics for all pods in the default namespace\n"
|
|||
|
"\t\tkubectl top pod\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Show metrics for all pods in the given namespace\n"
|
|||
|
"\t\tkubectl top pod --namespace=NAMESPACE\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Show metrics for a given pod and its containers\n"
|
|||
|
"\t\tkubectl top pod POD_NAME --containers\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Show metrics for the pods defined by label name=myLabel\n"
|
|||
|
"\t\tkubectl top pod -l name=myLabel"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/stop.go:40
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:57
|
|||
|
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 -- <arg1> <arg2> ... <argN>\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Start the nginx container using a different command and custom "
|
|||
|
"arguments.\n"
|
|||
|
"\t\tkubectl run nginx --image=nginx --command -- <cmd> <arg1> ... <argN>\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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/taint.go:67
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/label.go:77
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:54
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_view_last_applied.go:52
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply.go:75
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/convert.go:38
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tConvert config files between different API versions. Both YAML\n"
|
|||
|
"\t\tand JSON formats are accepted.\n"
|
|||
|
"\n"
|
|||
|
"\t\tThe command takes filename, directory, or URL as input, and convert it "
|
|||
|
"into format\n"
|
|||
|
"\t\tof version specified by --output-version flag. If target version is not "
|
|||
|
"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\tto change to output destination."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrole.go:31
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a ClusterRole."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrolebinding.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a ClusterRoleBinding for a particular ClusterRole."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_rolebinding.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a RoleBinding for a particular Role or ClusterRole."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:200
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_configmap.go:32
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_namespace.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a namespace with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:119
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_pdb.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a pod disruption budget with the specified name, selector, and "
|
|||
|
"desired minimum available pods"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create.go:42
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a resource by filename or stdin.\n"
|
|||
|
"\n"
|
|||
|
"\t\tJSON and YAML formats are accepted."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_quota.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a resourcequota with the specified name, hard limits and optional "
|
|||
|
"scopes"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_role.go:38
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a role with single rule."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:47
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_serviceaccount.go:32
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tCreate a service account with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:52
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/autoscale.go:34
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/delete.go:40
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/stop.go:31
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_node.go:60
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_pod.go:53
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top.go:33
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:140
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/edit.go:56
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:115
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tMark node as schedulable."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:90
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tMark node as unschedulable."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/completion.go:47
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tOutput shell completion code for the specified shell (bash or zsh).\n"
|
|||
|
"\t\tThe shell code must be evalutated 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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:45
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/replace.go:40
|
|||
|
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"
|
|||
|
"\n"
|
|||
|
"\t\tPlease refer to the models in https://htmlpreview.github.io/?https://"
|
|||
|
"github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions."
|
|||
|
"html to find if a field is mutable."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/scale.go:34
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_set_last_applied.go:62
|
|||
|
msgid ""
|
|||
|
"\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 <file>' was run,\n"
|
|||
|
"\t\twithout updating any other parts of the object."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/proxy.go:36
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/patch.go:59
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t\tUpdate field(s) of a resource using strategic merge patch\n"
|
|||
|
"\n"
|
|||
|
"\t\tJSON and YAML formats are accepted.\n"
|
|||
|
"\n"
|
|||
|
"\t\tPlease refer to the models in https://htmlpreview.github.io/?https://"
|
|||
|
"github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions."
|
|||
|
"html to find if a field is mutable."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/label.go:70
|
|||
|
#, 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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/taint.go:58
|
|||
|
#, 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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_view_last_applied.go:46
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/cp.go:37
|
|||
|
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 <some-pod>:/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 <some-pod>:/tmp/bar -c <specific-container>\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace "
|
|||
|
"<some-namespace>\n"
|
|||
|
"\t\tkubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar\n"
|
|||
|
"\n"
|
|||
|
"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n"
|
|||
|
"\t\tkubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:205
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_namespace.go:35
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t # Create a new namespace named my-namespace\n"
|
|||
|
"\t kubectl create namespace my-namespace"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:59
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_serviceaccount.go:35
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t # Create a new service account named my-service-account\n"
|
|||
|
"\t kubectl create serviceaccount my-service-account"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:232
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\t# Create a new ExternalName service named my-ns \n"
|
|||
|
"\tkubectl create service externalname my-ns --external-name bar.com"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:225
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\tCreate an ExternalName service with the specified name.\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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/help.go:30
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
"\tHelp provides help for any command in the application.\n"
|
|||
|
"\tSimply type kubectl help [path to command] for full details."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:173
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" # Create a new LoadBalancer service named my-lbs\n"
|
|||
|
" kubectl create service loadbalancer my-lbs --tcp=5678:8080"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:53
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_deployment.go:36
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" # Create a new deployment named my-dep that runs the busybox image.\n"
|
|||
|
" kubectl create deployment my-dep --image=busybox"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:116
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" # Create a new nodeport service named my-ns\n"
|
|||
|
" kubectl create service nodeport my-ns --tcp=5678:8080"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo_dump.go:62
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" # Dump current cluster state to stdout\n"
|
|||
|
" kubectl cluster-info dump\n"
|
|||
|
"\n"
|
|||
|
" # Dump current cluster state to /path/to/cluster-state\n"
|
|||
|
" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n"
|
|||
|
"\n"
|
|||
|
" # Dump all namespaces to stdout\n"
|
|||
|
" kubectl cluster-info dump --all-namespaces\n"
|
|||
|
"\n"
|
|||
|
" # Dump a set of namespaces to /path/to/cluster-state\n"
|
|||
|
" kubectl cluster-info dump --namespaces default,kube-system --output-"
|
|||
|
"directory=/path/to/cluster-state"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/annotate.go:78
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:170
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" Create a LoadBalancer service with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:50
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" Create a clusterIP service with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_deployment.go:33
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" Create a deployment with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:113
|
|||
|
msgid ""
|
|||
|
"\n"
|
|||
|
" Create a nodeport service with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo_dump.go:53
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo.go:37
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_quota.go:62
|
|||
|
msgid ""
|
|||
|
"A comma-delimited set of quota scopes that must all match each object "
|
|||
|
"tracked by the quota."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_quota.go:61
|
|||
|
msgid ""
|
|||
|
"A comma-delimited set of resource=quantity pairs that define a hard limit."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_pdb.go:64
|
|||
|
msgid ""
|
|||
|
"A label selector to use for this budget. Only equality-based selector "
|
|||
|
"requirements are supported."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:104
|
|||
|
msgid ""
|
|||
|
"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.)"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:139
|
|||
|
msgid "A schedule in the Cron format the job should be run with."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:109
|
|||
|
msgid ""
|
|||
|
"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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:110 pkg/kubectl/cmd/run.go:122
|
|||
|
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 "
|
|||
|
"valid apiVersion field."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:137
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply.go:104
|
|||
|
msgid "Apply a configuration to a resource by filename or stdin"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/certificates.go:72
|
|||
|
msgid "Approve a certificate signing request"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:82
|
|||
|
msgid ""
|
|||
|
"Assign your own ClusterIP or set to 'None' for a 'headless' service (no "
|
|||
|
"loadbalancing)."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/attach.go:70
|
|||
|
msgid "Attach to a running container"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/autoscale.go:56
|
|||
|
msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:113
|
|||
|
msgid ""
|
|||
|
"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or "
|
|||
|
"set to 'None' to create a headless service."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrolebinding.go:56
|
|||
|
msgid "ClusterRole this ClusterRoleBinding should reference"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_rolebinding.go:56
|
|||
|
msgid "ClusterRole this RoleBinding should reference"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:102
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/convert.go:68
|
|||
|
msgid "Convert config files between different API versions"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/cp.go:65
|
|||
|
msgid "Copy files and directories to and from containers."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_clusterrolebinding.go:44
|
|||
|
msgid "Create a ClusterRoleBinding for a particular ClusterRole"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:182
|
|||
|
msgid "Create a LoadBalancer service."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:125
|
|||
|
msgid "Create a NodePort service."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_rolebinding.go:44
|
|||
|
msgid "Create a RoleBinding for a particular Role or ClusterRole"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:214
|
|||
|
msgid "Create a TLS secret"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:69
|
|||
|
msgid "Create a clusterIP service."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_configmap.go:60
|
|||
|
msgid "Create a configmap from a local file, directory or literal value"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_deployment.go:46
|
|||
|
msgid "Create a deployment with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_namespace.go:45
|
|||
|
msgid "Create a namespace with the specified name"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_pdb.go:50
|
|||
|
msgid "Create a pod disruption budget with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_quota.go:48
|
|||
|
msgid "Create a quota with the specified name."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create.go:63
|
|||
|
msgid "Create a resource by filename or stdin"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:144
|
|||
|
msgid "Create a secret for use with a Docker registry"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:74
|
|||
|
msgid "Create a secret from a local file, directory or literal value"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:35
|
|||
|
msgid "Create a secret using specified subcommand"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_serviceaccount.go:45
|
|||
|
msgid "Create a service account with the specified name"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:37
|
|||
|
msgid "Create a service using specified subcommand."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:241
|
|||
|
msgid "Create an ExternalName service."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/delete.go:132
|
|||
|
msgid ""
|
|||
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|||
|
"and label selector"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/delete_cluster.go:39
|
|||
|
msgid "Delete the specified cluster from the kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/delete_context.go:39
|
|||
|
msgid "Delete the specified context from the kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/certificates.go:122
|
|||
|
msgid "Deny a certificate signing request"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/stop.go:59
|
|||
|
msgid "Deprecated: Gracefully shut down a resource by name or filename"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/get_contexts.go:64
|
|||
|
msgid "Describe one or many contexts"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_node.go:78
|
|||
|
msgid "Display Resource (CPU/Memory) usage of nodes"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top_pod.go:80
|
|||
|
msgid "Display Resource (CPU/Memory) usage of pods"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/top.go:44
|
|||
|
msgid "Display Resource (CPU/Memory) usage."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo.go:51
|
|||
|
msgid "Display cluster info"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/get_clusters.go:41
|
|||
|
msgid "Display clusters defined in the kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/view.go:67
|
|||
|
msgid "Display merged kubeconfig settings or a specified kubeconfig file"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/get.go:111
|
|||
|
msgid "Display one or many resources"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/current_context.go:49
|
|||
|
msgid "Displays the current-context"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/explain.go:51
|
|||
|
msgid "Documentation of resources"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:178
|
|||
|
msgid "Drain node in preparation for maintenance"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo_dump.go:39
|
|||
|
msgid "Dump lots of relevant info for debugging and diagnosis"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/edit.go:110
|
|||
|
msgid "Edit a resource on the server"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:160
|
|||
|
msgid "Email for Docker registry"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/exec.go:69
|
|||
|
msgid "Execute a command in a container"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:103
|
|||
|
msgid ""
|
|||
|
"Explicit policy for when to pull container images. Required when --image is "
|
|||
|
"same as existing image, ignored otherwise."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/portforward.go:76
|
|||
|
msgid "Forward one or more local ports to a pod"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/help.go:37
|
|||
|
msgid "Help about any command"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:103
|
|||
|
msgid ""
|
|||
|
"IP to assign to the Load Balancer. If empty, an ephemeral IP will be created "
|
|||
|
"and used (cloud-provider specific)."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:112
|
|||
|
msgid ""
|
|||
|
"If non-empty, set the session affinity for the service to this; legal "
|
|||
|
"values: 'None', 'ClientIP'"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/annotate.go:136
|
|||
|
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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/label.go:134
|
|||
|
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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:99
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout.go:47
|
|||
|
msgid "Manage a deployment rollout"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:128
|
|||
|
msgid "Mark node as schedulable"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/drain.go:103
|
|||
|
msgid "Mark node as unschedulable"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout_pause.go:74
|
|||
|
msgid "Mark the provided resource as paused"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/certificates.go:36
|
|||
|
msgid "Modify certificate resources."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/config.go:40
|
|||
|
msgid "Modify kubeconfig files"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:108
|
|||
|
msgid ""
|
|||
|
"Name or number for the port on the container that the service should direct "
|
|||
|
"traffic to. Optional."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/logs.go:113
|
|||
|
msgid ""
|
|||
|
"Only return logs after a specific date (RFC3339). Defaults to all logs. Only "
|
|||
|
"one of since-time / since may be used."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/completion.go:104
|
|||
|
msgid "Output shell completion code for the specified shell (bash or zsh)"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/convert.go:85
|
|||
|
msgid ""
|
|||
|
"Output the formatted object with the given group version (for ex: "
|
|||
|
"'extensions/v1beta1').)"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:158
|
|||
|
msgid "Password for Docker registry authentication"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:226
|
|||
|
msgid "Path to PEM encoded public key certificate."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:227
|
|||
|
msgid "Path to private key associated with given certificate."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:85
|
|||
|
msgid "Perform a rolling update of the given ReplicationController"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/scale.go:83
|
|||
|
msgid ""
|
|||
|
"Precondition for resource version. Requires that the current resource "
|
|||
|
"version match this value in order to scale."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/version.go:40
|
|||
|
msgid "Print the client and server version information"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/options.go:38
|
|||
|
msgid "Print the list of flags inherited by all commands"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/logs.go:93
|
|||
|
msgid "Print the logs for a container in a pod"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/replace.go:71
|
|||
|
msgid "Replace a resource by filename or stdin"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout_resume.go:72
|
|||
|
msgid "Resume a paused resource"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_rolebinding.go:57
|
|||
|
msgid "Role this RoleBinding should reference"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:97
|
|||
|
msgid "Run a particular image on the cluster"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/proxy.go:69
|
|||
|
msgid "Run a proxy to the Kubernetes API server"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:161
|
|||
|
msgid "Server location for Docker registry"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/scale.go:71
|
|||
|
msgid ""
|
|||
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/set/set.go:38
|
|||
|
msgid "Set specific features on objects"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_set_last_applied.go:83
|
|||
|
msgid ""
|
|||
|
"Set the last-applied-configuration annotation on a live object to match the "
|
|||
|
"contents of a file."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/set/set_selector.go:82
|
|||
|
msgid "Set the selector on a resource"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/create_cluster.go:68
|
|||
|
msgid "Sets a cluster entry in kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/create_context.go:58
|
|||
|
msgid "Sets a context entry in kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/create_authinfo.go:104
|
|||
|
msgid "Sets a user entry in kubeconfig"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/set.go:60
|
|||
|
msgid "Sets an individual value in a kubeconfig file"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/use_context.go:49
|
|||
|
msgid "Sets the current-context in a kubeconfig file"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/describe.go:86
|
|||
|
msgid "Show details of a specific resource or group of resources"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout_status.go:58
|
|||
|
msgid "Show the status of the rollout"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:106
|
|||
|
msgid "Synonym for --target-port"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:88
|
|||
|
msgid ""
|
|||
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|||
|
"new Kubernetes Service"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:117
|
|||
|
msgid "The image for the container to run."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:119
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollingupdate.go:101
|
|||
|
msgid ""
|
|||
|
"The key to use to differentiate between two different controllers, default "
|
|||
|
"'deployment'. Only relevant when --image is specified, ignored otherwise"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_pdb.go:63
|
|||
|
msgid ""
|
|||
|
"The minimum number or percentage of available pods this budget requires."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:111
|
|||
|
msgid "The name for the newly created object."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/autoscale.go:72
|
|||
|
msgid ""
|
|||
|
"The name for the newly created object. If not specified, the name of the "
|
|||
|
"input resource will be used."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:116
|
|||
|
msgid ""
|
|||
|
"The name of the API generator to use, see http://kubernetes.io/docs/user-"
|
|||
|
"guide/kubectl-conventions/#generators for a list."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/autoscale.go:67
|
|||
|
msgid ""
|
|||
|
"The name of the API generator to use. Currently there is only 1 generator."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:99
|
|||
|
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'."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:136
|
|||
|
msgid ""
|
|||
|
"The name of the generator to use for creating a service. Only used if --"
|
|||
|
"expose is true"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:100
|
|||
|
msgid "The network protocol for the service to be created. Default is 'TCP'."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:101
|
|||
|
msgid ""
|
|||
|
"The port that the service should serve on. Copied from the resource being "
|
|||
|
"exposed, if unspecified"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:124
|
|||
|
msgid ""
|
|||
|
"The port that this container exposes. If --expose is true, this is also the "
|
|||
|
"port used by the service that is created."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:134
|
|||
|
msgid ""
|
|||
|
"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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:133
|
|||
|
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."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run.go:131
|
|||
|
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 ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:88
|
|||
|
msgid "The type of secret to create"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/expose.go:102
|
|||
|
msgid ""
|
|||
|
"Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is "
|
|||
|
"'ClusterIP'."
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout_undo.go:72
|
|||
|
msgid "Undo a previous rollout"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/config/unset.go:48
|
|||
|
msgid "Unsets an individual value in a kubeconfig file"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/patch.go:96
|
|||
|
msgid "Update field(s) of a resource using strategic merge patch"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/set/set_image.go:95
|
|||
|
msgid "Update image of a pod template"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/set/set_resources.go:102
|
|||
|
msgid "Update resource requests/limits on objects with pod templates"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/annotate.go:116
|
|||
|
msgid "Update the annotations on a resource"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/label.go:114
|
|||
|
msgid "Update the labels on a resource"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/taint.go:87
|
|||
|
msgid "Update the taints on one or more nodes"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_secret.go:156
|
|||
|
msgid "Username for Docker registry authentication"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/apply_view_last_applied.go:64
|
|||
|
msgid "View latest last-applied-configuration annotations of a resource/object"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/rollout/rollout_history.go:52
|
|||
|
msgid "View rollout history"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/clusterinfo_dump.go:46
|
|||
|
msgid ""
|
|||
|
"Where to output the files. If empty or '-' uses stdout, otherwise creates a "
|
|||
|
"directory hierarchy in that directory"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/run_test.go:85
|
|||
|
msgid "dummy restart flag)"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/create_service.go:254
|
|||
|
msgid "external name of service"
|
|||
|
msgstr ""
|
|||
|
|
|||
|
#: pkg/kubectl/cmd/cmd.go:227
|
|||
|
msgid "kubectl controls the Kubernetes cluster manager"
|
|||
|
msgstr ""
|