Package kubernetes-client

Kubernetes client tools

Kubernetes client tools like kubectl

General Commands (Section 1)
kubectl
kubectl controls the Kubernetes cluster manager. Find more information at ⟨https://github.com/kubernetes/kubernetes⟩.
kubectl-annotate
Update the annotations on one or more resources. An annotation is a key/value pair that can hold larger (compared to a label), and possibly not human-readable...
kubectl-api-versions
Print the supported API versions on the server, in the form of "group/version".
kubectl-apply
Apply a configuration to a resource by filename or stdin. The resource will be created if it doesn't exist yet. To use 'apply', always create the resource...
kubectl-attach
Attach to a process that is already running inside an existing container.
kubectl-autoscale
Creates an autoscaler that automatically chooses and sets the number of pods that run in a kubernetes cluster. Looks up a Deployment, ReplicaSet, or...
kubectl-cluster-info
Display addresses of the master and services with label kubernetes.io/cluster-service=true To further debug and diagnose cluster problems, use 'kubectl...
kubectl-cluster-info-dump
Dumps cluster info out suitable for debugging and diagnosing cluster problems. By default, dumps everything to stdout. You can optionally specify a directory...
kubectl-completion
Output shell completion code for the given shell (bash or zsh). This command prints shell code which must be evaluation to provide interactive completion of...
kubectl-config
config modifies kubeconfig files using subcommands like "kubectl config set current-context my-context" The loading order follows these rules: 1. If the...
kubectl-config-current-context
Displays the current-context
kubectl-config-delete-cluster
No description.
kubectl-config-delete-context
No description.
kubectl-config-get-clusters
No description.
kubectl-config-get-contexts
No description.
kubectl-config-set
Sets an individual value in a kubeconfig file PROPERTY_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys...
kubectl-config-set-cluster
Sets a cluster entry in kubeconfig. Specifying a name that already exists will merge new fields on top of existing values for those fields.
kubectl-config-set-context
Sets a context entry in kubeconfig Specifying a name that already exists will merge new fields on top of existing values for those fields.
kubectl-config-set-credentials
Sets a user entry in kubeconfig Specifying a name that already exists will merge new fields on top of existing values. Client-certificate flags...
kubectl-config-unset
Unsets an individual value in a kubeconfig file PROPERTY_NAME is a dot delimited name where each token represents either a attribute name or a map key. Map keys...
kubectl-config-use-context
Sets the current-context in a kubeconfig file
kubectl-config-view
Displays merged kubeconfig settings or a specified kubeconfig file. You can use --output jsonpath={...} to extract specific values using a jsonpath expression.
kubectl-convert
Convert config files between different API versions. Both YAML and JSON formats are accepted. The command takes filename, directory, or URL as input, and...
kubectl-cordon
Mark node as unschedulable.
kubectl-create
Create a resource by filename or stdin. JSON and YAML formats are accepted.
kubectl-create-configmap
Create a configmap based on a file, directory, or specified literal value. A single configmap may package one or more key/value pairs. When creating a configmap...
kubectl-create-deployment
No description.
kubectl-create-namespace
Create a namespace with the specified name.
kubectl-create-quota
No description.
kubectl-create-secret
Create a secret using specified subcommand.
kubectl-create-secret-docker-registry
Create a new secret for use with Docker registries. Dockercfg secrets are used to authenticate against Docker registries. When using the Docker command line to...
kubectl-create-secret-generic
Create a secret based on a file, directory, or specified literal value. A single secret may package one or more key/value pairs. When creating a secret based on...
kubectl-create-secret-tls
Create a TLS secret from the given public/private key pair. The public/private key pair must exist before hand. The public key certificate must be .PEM encoded...
kubectl-create-service
No description.
kubectl-create-serviceaccount
Create a service account with the specified name.
kubectl-create-service-clusterip
No description.
kubectl-create-service-loadbalancer
No description.
kubectl-create-service-nodeport
No description.
kubectl-delete
Delete resources by filenames, stdin, resources and names, or by resources and label selector. JSON and YAML formats are accepted. Only one type of the...
kubectl-describe
Show details of a specific resource or group of resources. This command joins many API calls together to form a detailed description of a given resource or...
kubectl-drain
Drain node in preparation for maintenance. The given node will be marked unschedulable to prevent new pods from arriving. Then drain deletes all pods except...
kubectl-edit
Edit a resource from the default editor. The edit command allows you to directly edit any API resource you can retrieve via the command line tools. It will open...
kubectl-exec
Execute a command in a container.
kubectl-explain
Documentation of resources. Possible resource types include (case insensitive): pods (po), services (svc), deployments, replicasets (rs), replicationcontrollers...
kubectl-expose
Expose a resource as a new Kubernetes service. Looks up a deployment, service, replica set, replication controller or pod by name and uses the selector for that...
kubectl-get
Display one or many resources. Possible resource types include (case insensitive): pods (po), services (svc), deployments, replicasets (rs)...
kubectl-label
Update the labels on a resource. A label must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63...
kubectl-logs
Print the logs for a container in a pod. If the pod has only one container, the container name is optional.
kubectl-namespace
SUPERSEDED: Set and view the current Kubernetes namespace scope for command line requests. namespace has been superseded by the context.namespace field of...
kubectl-options
No description.
kubectl-patch
Update field(s) of a resource using strategic merge patch JSON and YAML formats are accepted. Please refer to the models in...
kubectl-port-forward
Forward one or more local ports to a pod.
kubectl-proxy
To proxy all of the kubernetes api and nothing else, use: kubectl proxy --api-prefix=/ To proxy only part of the kubernetes api and also some static files...
kubectl-replace
Replace a resource by filename or stdin. JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided...
kubectl-rolling-update
Perform a rolling update of the given ReplicationController. Replaces the specified replication controller with a new replication controller by updating one pod...
kubectl-rollout
Manages a deployment using subcommands like "kubectl rollout undo deployment/abc"
kubectl-rollout-history
View previous rollout revisions and configurations.
kubectl-rollout-pause
Mark the provided resource as paused Paused resources will not be reconciled by a controller. Use \"kubectl rollout resume\" to resume a paused resource...
kubectl-rollout-resume
Resume a paused resource Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only...
kubectl-rollout-status
Watch the status of current rollout, until it's done.
kubectl-rollout-undo
Rollback to a previous rollout.
kubectl-run
Create and run a particular image, possibly replicated. Creates a deployment or job to manage the created container(s).
kubectl-scale
Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job. Scale also allows users to specify one or more preconditions for the scale action...
kubectl-set
Configure application resources These commands help you make changes to existing application resources.
kubectl-set-image
Update existing container image(s) of resources. Possible resources include (case insensitive): pod (po), replicationcontroller (rc), deployment, daemonset...
kubectl-stop
Deprecated: Gracefully shut down a resource by name or filename. The stop command is deprecated, all its functionalities are covered by delete command. See...
kubectl-taint
Update the taints on one or more nodes. A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect. The key must...
kubectl-top
No description.
kubectl-top-node
No description.
kubectl-top-pod
No description.
kubectl-uncordon
Mark node as schedulable.
kubectl-version
Print the client and server version information.