hardkubectl
Create an Ingress resource to route HTTP traffic to a service
command
kubectl create ingress INGRESS --rule HOST/PATH=SERVICE:PORTalso accepted
kubectl create ingresscommand
kubectl create ingress INGRESS --rule HOST/PATH=SERVICE:PORTalso accepted
kubectl create ingressPart of the Kubernetes CLI (kubectl) — Services category.
| Flag | Purpose |
|---|---|
--rule | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →