I have a GKE ingress and 3 backend services linking to it. Then I found I couldn't delete any service because of the linking I suppose. Is it possible to temporarily disable the ingress? Because sometime during the deployment, I have to remove the service and then install the service again.
kubectl edit ingress <ingress-name>
or by modifying the YAML configuration file
for the ingress resource.The following BackendConfig manifest disables the nginx ingress :
apiVersion: cloud.google.com/v1 kind: BackendConfig metadata: name: my-backendconfig spec: ingress: enabled: false securityPolicy: name: " "
ingress: default_backend: false