externalIP ์ ์์๋์ Ingress ์์ฑ ์ค ์ค๋ฅ ๋ฐ์
Error from server (BadRequest): error when creating "ingress-dashboard.yaml": Ingress in version "v1" cannot be handled as a Ingress: json: cannot unmarshal number into Go struct field IngressServiceBackend.spec.rules.http.paths.backend.service.port of type v1.ServiceBackendPort
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubernetes-dashboard
spec:
rules:
- http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: kubernetes-dashboard
port: # port: 80 ์ port.number: 80์ผ๋ก ๋ณํํ๋ ํด๊ฒฐ
number: 80