You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggests using the -f flag for a directory. Why is there a discrepancy?
Proposed Solution:
If -f is best practice for a limited use case this should be made clear in the documentation. Separately it should be clear that -f can be used for a directory, not just for a file.
Contradicting kubectl apply documentation
Problem:
The kubectl
apply
documentation here:https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
Says that the
-k
flag should be used for a directory.However the documentation here for the kubectl overview:
https://kubernetes.io/docs/concepts/configuration/overview/#using-kubectl
Suggests using the
-f
flag for a directory. Why is there a discrepancy?Proposed Solution:
If
-f
is best practice for a limited use case this should be made clear in the documentation. Separately it should be clear that-f
can be used for a directory, not just for a file.Pages to Update:
One of the following pages should be updated or clarified:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
or
https://kubernetes.io/docs/concepts/configuration/overview/#using-kubectl
The text was updated successfully, but these errors were encountered: