ksail workload apply view-last-applied

View the latest last-applied-configuration annotations by type/name or file.

 The default output will be printed to stdout in YAML format. You can use the -o option to change the output format.

Usage:
  ksail workload apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME)

Examples:
  # View the last-applied-configuration annotations by type/name in YAML
  kubectl apply view-last-applied deployment/nginx
  
  # View the last-applied-configuration annotations by file in JSON
  kubectl apply view-last-applied -f deploy.yaml -o json

Flags:
      --all                Select all resources in the namespace of the specified resource types
  -f, --filename strings   Filename, directory, or URL to files that contains the last-applied-configuration annotations
  -h, --help               help for view-last-applied
  -k, --kustomize string   Process the kustomization directory. This flag can't be used together with -f or -R.
  -o, --output string      Output format. Must be one of (yaml, json) (default "yaml")
  -R, --recursive          Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
  -l, --selector string    Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.

Global Flags:
      --timing   Show per-activity timing output