Apply a manifest hosted remotely.
Section: Declarative Apply, Edit, and Replace
Apply manifest from URL
bash
bash
kubectl apply -f https://example.com/manifest.yamlExplanation
Apply a manifest hosted remotely.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Declarative Apply, Edit, and Replace
Apply all manifests in directory
Recursively apply manifests from a directory.
Replace resource from file
Replace an object using the manifest definition.