You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
610 B

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-ip2region
namespace: sre
annotations:
kubernetes.io/ingress.class: "nginx" # 自动签发开关
cert-manager.io/cluster-issuer: "letsencrypt-prod-http01" # 自动签发开关
spec:
tls:
- hosts:
- test.com
secretName: ingress-tls-test-com # 需要修改
rules:
- host: test.com
http:
paths:
- path: /
backend:
service:
name: ipregion
port:
number: 8080
pathType: ImplementationSpecific