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

From wikieduonline
Jump to navigation Jump to search
(Created page with "apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: aks-helloworld namespace: hello-web-app-routing spec: ingressClassName: webapprouting.kubernetes.azure.com...")
 
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
  namespace: hello-web-app-routing
+
  namespace: hello-web-app-routing
spec:
+
spec:
  ingressClassName: webapprouting.kubernetes.azure.com
+
  ingressClassName: [[webapprouting.kubernetes.azure.com]]
  rules:
+
  rules:
  - host: <Hostname>
+
  - host: <Hostname>
    http:
+
    http:
      paths:
+
      paths:
      - backend:
+
      - backend:
          service:
+
          service:
 
             name: aks-helloworld
 
             name: aks-helloworld
 
             port:
 
             port:
 
               number: 80
 
               number: 80
        path: /
+
        path: /
        pathType: Prefix
+
        pathType: Prefix

Revision as of 06:24, 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: