K8s Lab 把当前仓库文档整理成一个可阅读的网页站点

Repository Reading Site

40-ingress-http01.yaml

manifests/17-acme/40-ingress-http01.yaml

Text Assetmanifests/17-acme/40-ingress-http01.yaml536 B2026年4月10日 08:45查看原始内容
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: acme-web
  namespace: acme-lab
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-staging-http01
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - 154-9-27-60.sslip.io
      secretName: acme-web-tls
  rules:
    - host: 154-9-27-60.sslip.io
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: acme-web-svc
                port:
                  number: 80