mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-06 00:46:56 +00:00
Post-Friday
This commit is contained in:
@@ -3,11 +3,13 @@ kind: Pod
|
||||
metadata:
|
||||
name: nginx-with-volume
|
||||
spec:
|
||||
volumes:
|
||||
- name: www
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
volumeMounts:
|
||||
- name: www
|
||||
mountPath: /usr/share/nginx/html/
|
||||
|
||||
volumes:
|
||||
- name: www
|
||||
emptyDir: {}
|
||||
|
||||
51
slides/k8s/kubectl-commands.md
Normal file
51
slides/k8s/kubectl-commands.md
Normal file
@@ -0,0 +1,51 @@
|
||||
## Basic Commands
|
||||
run
|
||||
create
|
||||
get
|
||||
delete
|
||||
logs
|
||||
explain
|
||||
describe
|
||||
exec
|
||||
## Modifying Objects
|
||||
apply (upsert)
|
||||
set
|
||||
edit
|
||||
patch
|
||||
label
|
||||
annotate
|
||||
https://blog.atomist.com/kubernetes-apply-replace-patch/
|
||||
diff
|
||||
replace
|
||||
wait
|
||||
## NetCommands
|
||||
expose
|
||||
port-forward
|
||||
proxy
|
||||
## Deploy Command
|
||||
rollout
|
||||
scale
|
||||
autoscale
|
||||
## Cluster Management Commands
|
||||
certificate
|
||||
cluster-info
|
||||
cordon
|
||||
uncordon
|
||||
drain
|
||||
taint
|
||||
## Troubleshooting and Debugging Commands
|
||||
top
|
||||
attach
|
||||
cp
|
||||
auth
|
||||
debug
|
||||
## Settings Commands
|
||||
completion
|
||||
## Other Commands
|
||||
alpha
|
||||
api-resources
|
||||
api-versions
|
||||
config
|
||||
plugin
|
||||
version
|
||||
Please Share this API Explorer
|
||||
Reference in New Issue
Block a user