Skip to content

Commit

Permalink
Merge pull request #39 from ybudimirov/patch-1
Browse files Browse the repository at this point in the history
Add kubectl
  • Loading branch information
chrisallenlane authored Sep 26, 2020
2 parents 92db692 + b9b7879 commit 40fe515
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kubectl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Display list of all available commands
kubectl -h

# Display an explanation of a specific command
kubectl command_name -h

# Display complete list of supported resources
kubectl api-resources

# Display an explanation of a specific reource
kubectl explain resource_name

# Display an explanation of a specific field of resource
kubectl explain resource_name.field_name

# Display list of global command-line options
kubectl options

# Setup Kubectl autocomplete in bash(to use press Tab)
source <(kubectl completion bash

# Display all resources in all namespaces
kubectl get all -A

0 comments on commit 40fe515

Please sign in to comment.