robert 2 лет назад
Родитель
Сommit
3e5bec3c21
1 измененных файлов с 48 добавлено и 0 удалено
  1. 48 0
      ingress.yanl

+ 48 - 0
ingress.yanl

@@ -0,0 +1,48 @@
+kind: Ingress
+apiVersion: networking.k8s.io/v1
+metadata:
+  name: book-appeasou-com
+  namespace: pro
+spec:
+  tls:
+    - hosts:
+        - book.appeasou.com
+      secretName: appeasou-com
+  rules:
+    - host: book.appeasou.com
+      http:
+        paths:
+          - path: /
+            pathType: ImplementationSpecific
+            backend:
+              service:
+                name: book-touchrs-base-svc
+                port:
+                  number: 8080
+  tls:
+    - secretName: book-easou-com
+  rules:
+    - host: book.easou.com
+      http:
+        paths:
+          - pathType: ImplementationSpecific
+            backend:
+              service:
+                name: book-touchrs-base-svc
+                port:
+                  number: 8080
+  tls:
+    - hosts:
+        - book.easou.com.cn
+      secretName: book-easou-com-cn
+  rules:
+    - host: book.easou.com.cn
+      http:
+        paths:
+          - path: /
+            pathType: ImplementationSpecific
+            backend:
+              service:
+                name: book-touchrs-base-svc
+                port:
+                  number: 8080