Mike
Mike

Reputation: 1857

What does - means in kubectl -f -

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

kustomize build config/samples | kubectl apply -f -

Upvotes: 1

Views: 547

Answers (1)

catch32
catch32

Reputation: 18582

Snippet from kubectl documentation:

Apply the JSON passed into stdin to a pod

cat pod.json | kubectl apply -f -

Upvotes: 2

Related Questions