https://rancher.com/ logo
Title
m

many-artist-13412

04/21/2023, 9:41 PM
I created a Host Based ingress, kubectl create ingress httping --rule=k3s.globe.com/=httpsvc:8080 and it worked fine. How can create a path based ingres with kubectl?
c

creamy-pencil-82913

04/21/2023, 10:16 PM
did you look at the help?
kubectl create ingress --help
--rule=[]:
	Rule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are
	considered pathType=Prefix. tls argument is optional.