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

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
  
== Official example ==
+
== [[Managed NGINX ingress with the application routing add-on|Official example]] ==
<pre>
 
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
 
</pre>
 
 
 
  
 +
{{webapprouting.kubernetes.azure.com ex}}
  
 +
== Related ==
 +
* [[spec.IngressClassName]]
 +
* [[kubectl apply -f ingress.yml]]
  
 
== 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: