What does - means in kubectl -f -

Viewed 77

What does the last - (following -f) mean in the following command:

kustomize build config/samples | kubectl apply -f -

1 Answers

Snippet from kubectl documentation:

Apply the JSON passed into stdin to a pod

cat pod.json | kubectl apply -f -

Related