apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: nwbot namespace: nwbot annotations: kubernetes.io/ingress.class: "nginx" spec: rules: - host: bot.biudi.cn http: paths: - path: / pathType: Prefix backend: name: nwbot port: number: 53121 tls: - hosts: - bot.biudi.cn secretName: nwbot-secret