Skip to content
Browse files

add kubectl diff to cheatsheet (#18481)

  • Loading branch information
zhouya0 authored and k8s-ci-robot committed Jan 13, 2020
1 parent 7fc323d commit 0c57f2c46b1076a5fe79ea31bd8f866f9f9724cd
Showing with 3 additions and 0 deletions.
  1. +3 −0 content/en/docs/reference/kubectl/
@@ -194,6 +194,9 @@ kubectl get pods -o json | jq '.items[].spec.containers[].env[]?.valueFrom.secre
# List Events sorted by timestamp
kubectl get events --sort-by=.metadata.creationTimestamp
# Compares the current state of the cluster against the state that the cluster would be in if the manifest was applied.
kubectl diff -f ./my-manifest.yaml

## Updating Resources

0 comments on commit 0c57f2c

Please sign in to comment.
You can’t perform that action at this time.