Skip to content

Commit

Permalink
Use .md extension for README
Browse files Browse the repository at this point in the history
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
logomancer authored Oct 22, 2018
1 parent d17de24 commit b99deab
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions 20-container-to-kubernetes/README.md
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"
```

0 comments on commit b99deab

Please sign in to comment.