Difference between revisions of "Template:Webapprouting.kubernetes.azure.com ex"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
  apiVersion: networking.k8s.io/v1
 
  apiVersion: networking.k8s.io/v1
  kind: Ingress
+
  [[kind: Ingress]]
 
  metadata:
 
  metadata:
 
   name: aks-helloworld
 
   name: aks-helloworld

Revision as of 06:25, 23 July 2024

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

Advertising: