Difference between revisions of "Webapprouting.kubernetes.azure.com"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
== [[Managed NGINX ingress with the application routing add-on|Official example]] ==
 
== [[Managed NGINX ingress with the application routing add-on|Official example]] ==
<pre>
+
 
apiVersion: networking.k8s.io/v1
+
{{webapprouting.kubernetes.azure.com ex}}
kind: Ingress
+
 
metadata:
+
== Related ==
  name: aks-helloworld
+
* [[spec.IngressClassName]]
  namespace: hello-web-app-routing
+
* [[kubectl apply -f ingress.yml]]
spec:
 
  ingressClassName: webapprouting.kubernetes.azure.com
 
  rules:
 
  - host: <Hostname>
 
    http:
 
      paths:
 
      - backend:
 
          service:
 
            name: aks-helloworld
 
            port:
 
              number: 80
 
        path: /
 
        pathType: Prefix
 
</pre>
 
  
 
== See also ==
 
== See also ==

Latest revision as of 06:34, 23 July 2024

webapprouting.kubernetes.azure.com


Official example[edit]

 apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: aks-helloworld
  namespace: hello-web-app-routing
spec:
  ingressClassName: webapprouting.kubernetes.azure.com
  rules:
  - host: <Hostname>
    http:
      paths:
      - backend:
          service:
           name: aks-helloworld
           port:
             number: 80
        path: /
        pathType: Prefix

Related[edit]

See also[edit]

Advertising: