apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"extensions/v1beta1","kind":"Ingress","metadata":{"annotations":{},"labels":{"app":"prometheus","chart":"prometheus","heritage":"Tiller","release":"istio"},"name":"prometheus","namespace":"istio-system"},"spec":{"rules":[{"host":"prometheus.local","http":{"paths":[{"backend":{"serviceName":"prometheus","servicePort":9090},"path":"/prometheus"}]}}]}}
creationTimestamp: "2020-11-18T06:06:57Z"
generation: 1
labels:
app: prometheus
chart: prometheus
heritage: Tiller
release: istio
name: prometheus
namespace: istio-system
resourceVersion: "1494511"
selfLink: /apis/extensions/v1beta1/namespaces/istio-system/ingresses/prometheus
uid: a4ea83e6-606d-4f9a-b842-91df86650e54
spec:
rules:
- host: prometheus.local
http:
paths:
- backend:
serviceName: prometheus
servicePort: 9090
path: /prometheus
pathType: ImplementationSpecific
status:
loadBalancer: {}
请问应该如何修改?