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

Repository Reading Site

31-ignored-ingress.yaml

manifests/14-ingress/31-ignored-ingress.yaml

Text Assetmanifests/14-ingress/31-ignored-ingress.yaml386 B2026年4月10日 06:42查看原始内容
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ignored-ingress
  namespace: ingress-lab
  labels:
    lesson: ingress
spec:
  ingressClassName: ghost
  rules:
  - host: ignored.apps.k8s-lab.local
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: portal-svc
            port:
              number: 80