no matches for kind "Ingress" in version "extensions/v1beta1"

1 개요[ | ]

no matches for kind "Ingress" in version "extensions/v1beta1"

2 예시 1[ | ]

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: test-ingress
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - path: /
        backend:
          serviceName: test
          servicePort: 80
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test-ingress
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: test
            port:
              number: 80
  • path가 /만 있는 경우 pathType: ImplementationSpecific를 적용하는 것도 가능하다.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test-ingress
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - pathType: ImplementationSpecific
        backend:
          service:
            name: test
            port:
              number: 80

3 예시 2[ | ]

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kibana
  namespace: kube-system
spec:
  rules:
  - host: kibana.example.com
    http:
      paths:
      - backend:
          serviceName: kibana
          servicePort: 5601
        path: /
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kibana
  namespace: kube-system
spec:
  rules:
  - host: kibana.example.com
    http:
      paths:
      - pathType: Prefix
        backend:
          service:
            name: kibana
            port:
              number: 5601
        path: /


  • path가 /만 있는 경우 pathType: ImplementationSpecific를 적용하는 것도 가능하다.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kibana
  namespace: kube-system
spec:
  rules:
  - host: kibana.example.com
    http:
      paths:
      - pathType: ImplementationSpecific
        backend:
          service:
            name: kibana
            port:
              number: 5601
        path: /

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}