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

Repository Reading Site

30-ingress-http-only.yaml

manifests/15-tls/30-ingress-http-only.yaml

Text Assetmanifests/15-tls/30-ingress-http-only.yaml371 B2026年4月10日 07:06查看原始内容
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: secure-web
  namespace: tls-lab
  labels:
    lesson: tls
spec:
  ingressClassName: nginx
  rules:
  - host: secure.k8s-lab.local
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: secure-web-svc
            port:
              number: 80