KubernetesCommand
Apply Multiple Manifest Files
Type this command
kubectl apply -f ./my1.yaml -f ./my2.yamlCreates resources from several manifest files at once.
The Kubernetes command to apply multiple manifest files is kubectl apply -f ./my1.yaml -f ./my2.yaml.
kubectl apply -f ./my1.yaml -f ./my2.yamlkubectl apply -f ./my1.yaml -f ./my2.yamlCreates resources from several manifest files at once.
Run kubectl apply -f ./my1.yaml -f ./my2.yaml.
Run kubectl apply -f ./my1.yaml -f ./my2.yaml.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.