Package kubernetes-client

Kubernetes client tools

https://k8s.io/kubernetes

Kubernetes client tools like kubectl

General Commands
Command Description
kubectl kubectl controls the Kubernetes cluster manager
kubectl-annotate Update the annotations on a resource
kubectl-apiversions Print the supported API versions on the server, in the form of "group/version"
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
kubectl-apply-edit-last-applied Edit latest last-applied-configuration annotations of a resource/object
kubectl-apply-set-last-applied Set the last-applied-configuration annotation on a live object to match the...
kubectl-apply-view-last-applied View latest last-applied-configuration annotations of a resource/object
kubectl-attach Attach to a running container
kubectl-auth Inspect authorization
kubectl-auth-can-i Check whether an action is allowed
kubectl-autoscale Auto-scale a Deployment, ReplicaSet, or ReplicationController
kubectl-certificate Modify certificate resources.
kubectl-certificate-approve Approve a certificate signing request
kubectl-certificate-deny Deny a certificate signing request
kubectl-clusterinfo Display cluster info
kubectl-cluster-info Display cluster info
kubectl-cluster-info-dump Dump lots of relevant info for debugging and diagnosis
kubectl-clusterinfo-dump Dump lots of relevant info for debugging and diagnosis
kubectl-completion Output shell completion code for the specified shell (bash or zsh)
kubectl-config Modify kubeconfig files
kubectl-config-current-context Displays the current-context
kubectl-config-delete-cluster Delete the specified cluster from the kubeconfig
kubectl-config-delete-context Delete the specified context from the kubeconfig
kubectl-config-get-clusters Display clusters defined in the kubeconfig
kubectl-config-get-contexts Describe one or many contexts
kubectl-config-rename-context Renames a context from the kubeconfig file.
kubectl-config-set Sets an individual value in a kubeconfig file
kubectl-config-set-cluster Sets a cluster entry in kubeconfig
kubectl-config-set-context Sets a context entry in kubeconfig
kubectl-config-set-credentials Sets a user entry in kubeconfig
kubectl-config-unset Unsets an individual value in a kubeconfig file
kubectl-config-use-context Sets the current-context in a kubeconfig file
kubectl-config-view Display merged kubeconfig settings or a specified kubeconfig file
kubectl-convert Convert config files between different API versions
kubectl-cordon Mark node as unschedulable
kubectl-cp Copy files and directories to and from containers.
kubectl-create Create a resource by filename or stdin
kubectl-create-clusterrole Create a ClusterRole.
kubectl-create-clusterrolebinding Create a ClusterRoleBinding for a particular ClusterRole
kubectl-create-configmap Create a configmap from a local file, directory or literal value
kubectl-create-deployment Create a deployment with the specified name.
kubectl-create-namespace Create a namespace with the specified name
kubectl-create-poddisruptionbudget Create a pod disruption budget with the specified name.
kubectl-create-quota Create a quota with the specified name.
kubectl-create-role Create a role with single rule.
kubectl-create-rolebinding Create a RoleBinding for a particular Role or ClusterRole
kubectl-create-secret Create a secret using specified subcommand
kubectl-create-secret-docker-registry Create a secret for use with a Docker registry
kubectl-create-secret-generic Create a secret from a local file, directory or literal value
kubectl-create-secret-tls Create a TLS secret
kubectl-create-service Create a service using specified subcommand.
kubectl-create-serviceaccount Create a service account with the specified name
kubectl-create-service-clusterip Create a clusterIP service.
kubectl-create-service-externalname Create an ExternalName service.
kubectl-create-service-loadbalancer Create a LoadBalancer service.
kubectl-create-service-nodeport Create a NodePort service.
kubectl-delete Delete resources by filenames, stdin, resources and names, or by resources and...
kubectl-describe Show details of a specific resource or group of resources
kubectl-drain Drain node in preparation for maintenance
kubectl-edit Edit a resource on the server
kubectl-exec Execute a command in a container
kubectl-explain Documentation of resources
kubectl-expose Take a replication controller, service, deployment or pod and expose it as a new...
kubectl-get Display one or many resources
kubectl-label Update the labels on a resource
kubectl-logs Print the logs for a container in a pod
kubectl-options Print the list of flags inherited by all commands
kubectl-patch Update field(s) of a resource using strategic merge patch
kubectl-plugin Runs a command-line plugin
kubectl-port-forward Forward one or more local ports to a pod
kubectl-proxy Run a proxy to the Kubernetes API server
kubectl-replace Replace a resource by filename or stdin
kubectl-resize Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job
kubectl-rollingupdate Perform a rolling update of the given ReplicationController
kubectl-rolling-update Perform a rolling update of the given ReplicationController
kubectl-rollout Manage the rollout of a resource
kubectl-rollout-history View rollout history
kubectl-rollout-pause Mark the provided resource as paused
kubectl-rollout-resume Resume a paused resource
kubectl-rollout-status Show the status of the rollout
kubectl-rollout-undo Undo a previous rollout
kubectl-run Run a particular image on the cluster
kubectl-run-container Run a particular image on the cluster
kubectl-scale Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job
kubectl-set Set specific features on objects
kubectl-set-image Update image of a pod template
kubectl-set-resources Update resource requests/limits on objects with pod templates
kubectl-set-selector Set the selector on a resource
kubectl-set-subject Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding
kubectl-stop Deprecated: use delete
kubectl-taint Update the taints on one or more nodes
kubectl-top Display Resource (CPU/Memory/Storage) usage.
kubectl-top-node Display Resource (CPU/Memory/Storage) usage of nodes
kubectl-top-pod Display Resource (CPU/Memory/Storage) usage of pods
kubectl-uncordon Mark node as schedulable
kubectl-update Replace a resource by filename or stdin
kubectl-version Print the client and server version information