apiVersion: extensions/v1beta1 kind: Ingress metadata: name: hello-world-ingress spec: ingressClassName: nginx rules: - http: paths: - path: / backend: serviceName: hello-world-svc servicePort: 80
kubectl apply -f <name of the created YAML-file>
Ingress/<name of the created ingress object> created
Was this page helpful?