oc diff

Diff the live version against a would-be applied version

Example usage
  # Diff resources included in pod.json
  oc diff -f pod.json

  # Diff file read from stdin
  cat service.yaml | oc diff -f -