kubectl apply view-last-applied  <TYPE | TYPE/NAME> [Resource]
View the latest last-applied-configuration annotations by type/name or file
Arguments
| Name | Description | 
|---|
| TYPE | TYPE/NAME |  | 
| Resource |  | 
Options
| Name | Description | 
|---|
| --all | Select all resources, including uninitialized ones, in the namespace of the specified resource types | 
| -f, --filename  <File> | Filename, directory, or URL to files identifying the resource | 
| -k, --kustomize  <Kustomize Dir> | Process the kustomization directory. This flag can't be used together with -f or -R | 
| -o, --output  <Output Format> | Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file | 
| -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  <arg> | Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2) |