-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub like Markdown files to have .md extensions. I just copypasta'd the .sh file so that GitHub will process the Markdown properly.
- Loading branch information
1 parent
d17de24
commit b99deab
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Kubectl | ||
|
||
Let's get this installed! | ||
|
||
[Installing Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) | ||
|
||
The main CLI tool for Kubernetes | ||
|
||
[The best Kubectl resource on the internet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/) | ||
|
||
# Running the container in Kubernetes | ||
|
||
``` | ||
kubectl run <name> <command> <options> --image <image> | ||
kubectl run app-1 --image krisnova/kubernetes-workshop-app | ||
``` | ||
|
||
# Inspecting the container | ||
|
||
``` | ||
kubectl get deploy <name> -oyaml | ||
kubectl edit deploy <name> | ||
kubectl get pods | ||
kubectl logs <pod> -f | ||
kubectl explain <pod> | ||
kubectl describe <pod> | ||
alias kdump="kubectl get all --all-namespaces" | ||
``` |