Skip to content

istio 1.14.3 delete a custom gateway by iop CR, other gateways will restart #40577

Closed

Description

@chinaran

Bug Description

I deployed two custom ingressgateways, and when I delete one, other ingressgateways will restart.

func (h *HelmReconciler) GetPrunedResources(revision string, includeClusterResources bool, componentName string) (

By looking at the source code, it is found that when iop is deleted, the relevant resources will be listed according to istio.io/rev: 1-14 and operator.istio.io/component: IngressGateways lables, and then deleted.

I tried submitting a pr: #40578

Here are my steps:

I'm using kind to install istio by istio-operator: https://istio.io/latest/docs/setup/install/operator/

istioctl operator init --operatorNamespace=istio-system --revision=1-14

kubectl apply -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: example-istiocontrolplane
spec:
  profile: demo
  revision: 1-14
EOF

and deploy two custom gateways: https://istio.io/latest/docs/setup/additional-setup/gateway/

kubectl apply -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: iop-test-gw-1
  namespace: istio-system
spec:
  profile: empty
  revision: 1-14
  components:
    ingressGateways:
    - name: test-gw-1
      namespace: istio-system
      enabled: true
      label:
        istio: test-gw-1
  values:
    gateways:
      istio-ingressgateway:
        injectionTemplate: gateway
EOF
###
kubectl apply -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: iop-test-gw-2
  namespace: istio-system
spec:
  profile: empty
  revision: 1-14
  components:
    ingressGateways:
    - name: test-gw-2
      namespace: istio-system
      enabled: true
      label:
        istio: test-gw-2
  values:
    gateways:
      istio-ingressgateway:
        injectionTemplate: gateway
EOF

When I delete iop-test-gw-1, istio-ingressgateway and test-gw-2 will restart.

$ kis get po -w
NAME                                    READY   STATUS    RESTARTS   AGE
istio-egressgateway-588c6cb66f-ljl77    1/1     Running   0          9m24s
istio-ingressgateway-855469d857-ls4cj   1/1     Running   0          9m24s
istio-operator-1-14-fcb6979f8-5q4hv     1/1     Running   0          12m
istiod-1-14-6bcbbc8c5c-84fdc            1/1     Running   0          10m
test-gw-1-6654c4f795-rfnkg              1/1     Running   0          3m26s
test-gw-2-7b695858db-m6xjs              1/1     Running   0          16s
-----
istio-ingressgateway-855469d857-ls4cj   1/1     Terminating   0          9m57s
test-gw-1-6654c4f795-rfnkg              1/1     Terminating   0          3m59s
test-gw-2-7b695858db-m6xjs              1/1     Terminating   0          49s
istio-ingressgateway-855469d857-26pkf   0/1     Pending       0          0s
istio-ingressgateway-855469d857-26pkf   0/1     Pending       0          0s
istio-ingressgateway-855469d857-26pkf   0/1     ContainerCreating   0          0s
istio-ingressgateway-855469d857-26pkf   0/1     Running             0          2s
istio-ingressgateway-855469d857-26pkf   1/1     Running             0          2s
test-gw-1-6654c4f795-rfnkg              0/1     Terminating         0          4m5s
test-gw-1-6654c4f795-rfnkg              0/1     Terminating         0          4m5s
test-gw-1-6654c4f795-rfnkg              0/1     Terminating         0          4m5s
test-gw-2-7b695858db-m6xjs              0/1     Terminating         0          55s
test-gw-2-7b695858db-m6xjs              0/1     Terminating         0          55s
test-gw-2-7b695858db-m6xjs              0/1     Terminating         0          55s
istio-ingressgateway-855469d857-ls4cj   0/1     Terminating         0          10m
istio-ingressgateway-855469d857-ls4cj   0/1     Terminating         0          10m
istio-ingressgateway-855469d857-ls4cj   0/1     Terminating         0          10m
test-gw-2-7b695858db-hdqlf              0/1     Pending             0          0s
test-gw-2-7b695858db-hdqlf              0/1     Pending             0          0s
test-gw-2-7b695858db-hdqlf              0/1     ContainerCreating   0          0s
test-gw-2-7b695858db-hdqlf              0/1     Running             0          4s
test-gw-2-7b695858db-hdqlf              1/1     Running             0          4s
and here is istio-operator pod logs:
2022-08-20T04:20:07.454386Z	info	installer	Reconciling IstioOperator
2022-08-20T04:20:07.471662Z	info	installer	Deleting IstioOperator iop-test-gw-1
2022-08-20T04:20:07.597526Z	info	installer	Removed object Deployment:istio-system:istio-ingressgateway from Cache.
  Removed Deployment:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.597579Z	info	  Removed Deployment:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.603056Z	info	installer	Removed object Deployment:istio-system:test-gw-1 from Cache.
  Removed Deployment:istio-system:test-gw-1.
2022-08-20T04:20:07.603118Z	info	  Removed Deployment:istio-system:test-gw-1.
2022-08-20T04:20:07.608839Z	info	installer	Removed object Deployment:istio-system:test-gw-2 from Cache.
  Removed Deployment:istio-system:test-gw-2.
2022-08-20T04:20:07.608894Z	info	  Removed Deployment:istio-system:test-gw-2.
2022-08-20T04:20:07.639944Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway
2022-08-20T04:20:07.641497Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1
2022-08-20T04:20:07.643051Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2
2022-08-20T04:20:07.648638Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway
2022-08-20T04:20:07.663332Z	info	installer	Removed object Service:istio-system:istio-ingressgateway from Cache.
  Removed Service:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.663404Z	info	  Removed Service:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.667863Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1
2022-08-20T04:20:07.678144Z	info	installer	Removed object Service:istio-system:test-gw-1 from Cache.
  Removed Service:istio-system:test-gw-1.
2022-08-20T04:20:07.678742Z	info	  Removed Service:istio-system:test-gw-1.
2022-08-20T04:20:07.683179Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2
2022-08-20T04:20:07.691838Z	info	installer	Removed object Service:istio-system:test-gw-2 from Cache.
  Removed Service:istio-system:test-gw-2.
2022-08-20T04:20:07.691951Z	info	  Removed Service:istio-system:test-gw-2.
2022-08-20T04:20:07.695228Z	info	installer	Removed object Pod:istio-system:istio-ingressgateway-855469d857-ls4cj from Cache.
  Removed Pod:istio-system:istio-ingressgateway-855469d857-ls4cj.
2022-08-20T04:20:07.695314Z	info	  Removed Pod:istio-system:istio-ingressgateway-855469d857-ls4cj.
2022-08-20T04:20:07.697922Z	info	installer	Removed object Pod:istio-system:test-gw-1-6654c4f795-rfnkg from Cache.
  Removed Pod:istio-system:test-gw-1-6654c4f795-rfnkg.
2022-08-20T04:20:07.698082Z	info	  Removed Pod:istio-system:test-gw-1-6654c4f795-rfnkg.
2022-08-20T04:20:07.700466Z	info	installer	Removed object Pod:istio-system:test-gw-2-7b695858db-m6xjs from Cache.
  Removed Pod:istio-system:test-gw-2-7b695858db-m6xjs.
2022-08-20T04:20:07.700569Z	info	  Removed Pod:istio-system:test-gw-2-7b695858db-m6xjs.
2022-08-20T04:20:07.704529Z	info	installer	Removed object ServiceAccount:istio-system:istio-ingressgateway-service-account from Cache.
  Removed ServiceAccount:istio-system:istio-ingressgateway-service-account.
2022-08-20T04:20:07.704703Z	info	  Removed ServiceAccount:istio-system:istio-ingressgateway-service-account.
2022-08-20T04:20:07.704636Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway-service-account
2022-08-20T04:20:07.708486Z	info	installer	Removed object ServiceAccount:istio-system:test-gw-1-service-account from Cache.
  Removed ServiceAccount:istio-system:test-gw-1-service-account.
2022-08-20T04:20:07.708645Z	info	  Removed ServiceAccount:istio-system:test-gw-1-service-account.
2022-08-20T04:20:07.709166Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1-service-account
2022-08-20T04:20:07.712345Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2-service-account
2022-08-20T04:20:07.712598Z	info	installer	Removed object ServiceAccount:istio-system:test-gw-2-service-account from Cache.
  Removed ServiceAccount:istio-system:test-gw-2-service-account.
2022-08-20T04:20:07.713059Z	info	  Removed ServiceAccount:istio-system:test-gw-2-service-account.
2022-08-20T04:20:07.716936Z	info	installer	Removed object RoleBinding:istio-system:istio-ingressgateway-sds from Cache.
  Removed RoleBinding:istio-system:istio-ingressgateway-sds.
2022-08-20T04:20:07.717160Z	info	  Removed RoleBinding:istio-system:istio-ingressgateway-sds.
2022-08-20T04:20:07.719339Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway-sds
2022-08-20T04:20:07.721123Z	info	installer	Removed object RoleBinding:istio-system:test-gw-1-sds from Cache.
  Removed RoleBinding:istio-system:test-gw-1-sds.
2022-08-20T04:20:07.721167Z	info	  Removed RoleBinding:istio-system:test-gw-1-sds.
2022-08-20T04:20:07.721414Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1-sds
2022-08-20T04:20:07.737016Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2-sds
2022-08-20T04:20:07.725067Z	info	installer	Removed object RoleBinding:istio-system:test-gw-2-sds from Cache.
  Removed RoleBinding:istio-system:test-gw-2-sds.
2022-08-20T04:20:07.737153Z	info	  Removed RoleBinding:istio-system:test-gw-2-sds.
2022-08-20T04:20:07.740383Z	info	installer	Removed object Role:istio-system:istio-ingressgateway-sds from Cache.
  Removed Role:istio-system:istio-ingressgateway-sds.
2022-08-20T04:20:07.740430Z	info	  Removed Role:istio-system:istio-ingressgateway-sds.
2022-08-20T04:20:07.740400Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway-sds
2022-08-20T04:20:07.743844Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1-sds
2022-08-20T04:20:07.743942Z	info	installer	Removed object Role:istio-system:test-gw-1-sds from Cache.
  Removed Role:istio-system:test-gw-1-sds.
2022-08-20T04:20:07.743977Z	info	  Removed Role:istio-system:test-gw-1-sds.
2022-08-20T04:20:07.747229Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2-sds
2022-08-20T04:20:07.747454Z	info	installer	Removed object Role:istio-system:test-gw-2-sds from Cache.
  Removed Role:istio-system:test-gw-2-sds.
2022-08-20T04:20:07.747514Z	info	  Removed Role:istio-system:test-gw-2-sds.
2022-08-20T04:20:07.750834Z	info	installer	Removed object HorizontalPodAutoscaler:istio-system:test-gw-1 from Cache.
  Removed HorizontalPodAutoscaler:istio-system:test-gw-1.
2022-08-20T04:20:07.750877Z	info	  Removed HorizontalPodAutoscaler:istio-system:test-gw-1.
2022-08-20T04:20:07.751196Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1
2022-08-20T04:20:07.755040Z	info	installer	Removed object HorizontalPodAutoscaler:istio-system:test-gw-2 from Cache.
  Removed HorizontalPodAutoscaler:istio-system:test-gw-2.
2022-08-20T04:20:07.755086Z	info	  Removed HorizontalPodAutoscaler:istio-system:test-gw-2.
2022-08-20T04:20:07.755123Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2
2022-08-20T04:20:07.758207Z	info	installer	Removed object PodDisruptionBudget:istio-system:istio-ingressgateway from Cache.
  Removed PodDisruptionBudget:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.758692Z	info	installer	Watching a change for istio resource: istio-system/istio-ingressgateway
2022-08-20T04:20:07.758783Z	info	  Removed PodDisruptionBudget:istio-system:istio-ingressgateway.
2022-08-20T04:20:07.762197Z	info	installer	Watching a change for istio resource: istio-system/test-gw-1
2022-08-20T04:20:07.762293Z	info	installer	Removed object PodDisruptionBudget:istio-system:test-gw-1 from Cache.
  Removed PodDisruptionBudget:istio-system:test-gw-1.
2022-08-20T04:20:07.762525Z	info	  Removed PodDisruptionBudget:istio-system:test-gw-1.
2022-08-20T04:20:07.766177Z	info	installer	Removed object PodDisruptionBudget:istio-system:test-gw-2 from Cache.
  Removed PodDisruptionBudget:istio-system:test-gw-2.
2022-08-20T04:20:07.766235Z	info	  Removed PodDisruptionBudget:istio-system:test-gw-2.
2022-08-20T04:20:07.766382Z	info	installer	Watching a change for istio resource: istio-system/test-gw-2
2022-08-20T04:20:07.775179Z	info	installer	API server conflict during finalizer removal, retrying.
2022-08-20T04:20:07.780727Z	info	installer	Reconciling IstioOperator
2022-08-20T04:20:07.944198Z	info	installer	Updating IstioOperator
2022-08-20T04:20:07.944316Z	info	installer	Detecting third-party JWT support
2022-08-20T04:20:09.021641Z	error	analysis	error setting up error handling for kube crdclient: 2 errors occurred:
	* informer has already started
	* informer has already started


2022-08-20T04:20:09.021978Z	info	kube	Starting Pilot K8S CRD controller
2022-08-20T04:20:09.022061Z	info	kube	Pilot K8S CRD controller synced 89.559µs
2022-08-20T04:20:09.026069Z	info	installer	IngressGateways is waiting on dependency...
2022-08-20T04:20:09.026085Z	info	installer	EgressGateways is waiting on dependency...
2022-08-20T04:20:09.026123Z	info	installer	Processing resources from manifest: Base for CR example-istiocontrolplane-istio-system-Base-https://10.96.0.1:443
2022-08-20T04:20:09.026118Z	info	installer	Pilot is waiting on dependency...
2022-08-20T04:20:09.026134Z	info	installer	Cni is waiting on dependency...
2022-08-20T04:20:09.026147Z	info	installer	Processing resources from manifest: IstiodRemote for CR example-istiocontrolplane-istio-system-IstiodRemote-https://10.96.0.1:443
2022-08-20T04:20:09.027001Z	info	installer	Generated manifest objects are the same as cached for component IstiodRemote.
2022-08-20T04:20:09.515645Z	info	installer	Generated manifest objects are the same as cached for component Base.
2022-08-20T04:20:09.515716Z	info	installer	Unblocking dependency Pilot.
2022-08-20T04:20:09.515761Z	info	installer	Dependency for Pilot has completed, proceeding.
2022-08-20T04:20:09.515798Z	info	installer	Processing resources from manifest: Pilot for CR example-istiocontrolplane-istio-system-Pilot-https://10.96.0.1:443
2022-08-20T04:20:09.721397Z	info	installer	Generated manifest objects are the same as cached for component Pilot.
2022-08-20T04:20:09.721447Z	info	installer	Unblocking dependency Cni.
2022-08-20T04:20:09.721495Z	info	installer	Unblocking dependency IngressGateways.
2022-08-20T04:20:09.721500Z	info	installer	Unblocking dependency EgressGateways.
2022-08-20T04:20:09.721506Z	info	installer	Dependency for EgressGateways has completed, proceeding.
2022-08-20T04:20:09.721549Z	info	installer	Processing resources from manifest: EgressGateways for CR example-istiocontrolplane-istio-system-EgressGateways-https://10.96.0.1:443
2022-08-20T04:20:09.721545Z	info	installer	Dependency for Cni has completed, proceeding.
2022-08-20T04:20:09.721648Z	info	installer	Processing resources from manifest: Cni for CR example-istiocontrolplane-istio-system-Cni-https://10.96.0.1:443
2022-08-20T04:20:09.721677Z	info	installer	Generated manifest objects are the same as cached for component Cni.
2022-08-20T04:20:09.721570Z	info	installer	Dependency for IngressGateways has completed, proceeding.
2022-08-20T04:20:09.721689Z	info	installer	Processing resources from manifest: IngressGateways for CR example-istiocontrolplane-istio-system-IngressGateways-https://10.96.0.1:443
2022-08-20T04:20:09.723887Z	info	installer	The following objects differ between generated manifest and cache:
 - Deployment:istio-system:istio-ingressgateway
 - PodDisruptionBudget:istio-system:istio-ingressgateway
 - Role:istio-system:istio-ingressgateway-sds
 - RoleBinding:istio-system:istio-ingressgateway-sds
 - Service:istio-system:istio-ingressgateway
 - ServiceAccount:istio-system:istio-ingressgateway-service-account
2022-08-20T04:20:09.724168Z	info	installer	using server side apply to update obj: ServiceAccount/istio-system/istio-ingressgateway-service-account
2022-08-20T04:20:09.727004Z	info	installer	Generated manifest objects are the same as cached for component EgressGateways.
- Pruning removed resources
2022-08-20T04:20:09.731936Z	info	installer	using server side apply to update obj: Deployment/istio-system/istio-ingressgateway
2022-08-20T04:20:09.741894Z	info	installer	using server side apply to update obj: PodDisruptionBudget/istio-system/istio-ingressgateway
2022-08-20T04:20:09.746079Z	info	installer	using server side apply to update obj: Role/istio-system/istio-ingressgateway-sds
2022-08-20T04:20:09.815796Z	info	installer	using server side apply to update obj: RoleBinding/istio-system/istio-ingressgateway-sds
2022-08-20T04:20:09.820756Z	info	installer	using server side apply to update obj: Service/istio-system/istio-ingressgateway
- Processing resources for Ingress gateways.
- Processing resources for Ingress gateways. Waiting for Deployment/istio-system/istio-ingressgat...
✔ Ingress gateways installed
2022-08-20T04:20:18.228329Z	info	installer	Reconciling IstioOperator
2022-08-20T04:20:18.428384Z	info	installer	Updating IstioOperator
2022-08-20T04:20:18.428448Z	info	installer	Detecting third-party JWT support
2022-08-20T04:20:18.924077Z	error	analysis	error setting up error handling for kube crdclient: 2 errors occurred:
	* informer has already started
	* informer has already started


2022-08-20T04:20:18.924208Z	info	kube	Starting Pilot K8S CRD controller
2022-08-20T04:20:18.924250Z	info	kube	Pilot K8S CRD controller synced 44.669µs
2022-08-20T04:20:19.028175Z	info	installer	EgressGateways is waiting on dependency...
2022-08-20T04:20:19.028243Z	info	installer	Processing resources from manifest: IstiodRemote for CR iop-test-gw-2-istio-system-IstiodRemote-https://10.96.0.1:443
2022-08-20T04:20:19.028259Z	info	installer	Generated manifest objects are the same as cached for component IstiodRemote.
2022-08-20T04:20:19.028256Z	info	installer	Cni is waiting on dependency...
2022-08-20T04:20:19.028271Z	info	installer	IngressGateways is waiting on dependency...
2022-08-20T04:20:19.028291Z	info	installer	Pilot is waiting on dependency...
2022-08-20T04:20:19.028316Z	info	installer	Processing resources from manifest: Base for CR iop-test-gw-2-istio-system-Base-https://10.96.0.1:443
2022-08-20T04:20:19.028606Z	info	installer	Generated manifest objects are the same as cached for component Base.
2022-08-20T04:20:19.028616Z	info	installer	Unblocking dependency Pilot.
2022-08-20T04:20:19.028651Z	info	installer	Dependency for Pilot has completed, proceeding.
2022-08-20T04:20:19.028686Z	info	installer	Processing resources from manifest: Pilot for CR iop-test-gw-2-istio-system-Pilot-https://10.96.0.1:443
2022-08-20T04:20:19.028695Z	info	installer	Generated manifest objects are the same as cached for component Pilot.
2022-08-20T04:20:19.028699Z	info	installer	Unblocking dependency Cni.
2022-08-20T04:20:19.028703Z	info	installer	Unblocking dependency IngressGateways.
2022-08-20T04:20:19.028706Z	info	installer	Unblocking dependency EgressGateways.
2022-08-20T04:20:19.028710Z	info	installer	Dependency for EgressGateways has completed, proceeding.
2022-08-20T04:20:19.028714Z	info	installer	Processing resources from manifest: EgressGateways for CR iop-test-gw-2-istio-system-EgressGateways-https://10.96.0.1:443
2022-08-20T04:20:19.028720Z	info	installer	Generated manifest objects are the same as cached for component EgressGateways.
2022-08-20T04:20:19.028725Z	info	installer	Dependency for Cni has completed, proceeding.
2022-08-20T04:20:19.028728Z	info	installer	Processing resources from manifest: Cni for CR iop-test-gw-2-istio-system-Cni-https://10.96.0.1:443
2022-08-20T04:20:19.028732Z	info	installer	Generated manifest objects are the same as cached for component Cni.
2022-08-20T04:20:19.028736Z	info	installer	Dependency for IngressGateways has completed, proceeding.
2022-08-20T04:20:19.028743Z	info	installer	Processing resources from manifest: IngressGateways for CR iop-test-gw-2-istio-system-IngressGateways-https://10.96.0.1:443
2022-08-20T04:20:19.030212Z	info	installer	The following objects differ between generated manifest and cache:
 - HorizontalPodAutoscaler:istio-system:test-gw-2
 - Deployment:istio-system:test-gw-2
 - PodDisruptionBudget:istio-system:test-gw-2
 - Role:istio-system:test-gw-2-sds
 - RoleBinding:istio-system:test-gw-2-sds
 - Service:istio-system:test-gw-2
 - ServiceAccount:istio-system:test-gw-2-service-account
2022-08-20T04:20:19.030261Z	info	installer	using server side apply to update obj: ServiceAccount/istio-system/test-gw-2-service-account
- Pruning removed resources
2022-08-20T04:20:19.035899Z	info	installer	using server side apply to update obj: Deployment/istio-system/test-gw-2
2022-08-20T04:20:19.044191Z	info	installer	using server side apply to update obj: PodDisruptionBudget/istio-system/test-gw-2
2022-08-20T04:20:19.048968Z	info	installer	using server side apply to update obj: Role/istio-system/test-gw-2-sds
2022-08-20T04:20:19.057586Z	info	installer	using server side apply to update obj: RoleBinding/istio-system/test-gw-2-sds
2022-08-20T04:20:19.064657Z	info	installer	using server side apply to update obj: HorizontalPodAutoscaler/istio-system/test-gw-2
2022-08-20T04:20:19.070863Z	info	installer	using server side apply to update obj: Service/istio-system/test-gw-2
- Processing resources for Ingress gateways.
- Processing resources for Ingress gateways. Waiting for Deployment/istio-system/test-gw-2
✔ Ingress gateways installed
2022-08-20T04:20:25.255918Z	info	installer	Reconciling IstioOperator

Version

$ istioctl version
client version: 1.14.3
control plane version: 1.14.3
data plane version: 1.14.3 (3 proxies)

$ kubectl version --short
Client Version: v1.22.1
Server Version: v1.24.0

Additional Information

$ istioctl bug-report

Target cluster context: kind-kind-istio

Running with the following config:

istio-namespace: istio-system
full-secrets: false
timeout (mins): 30
include: { }
exclude: { Namespaces: kube-node-lease,kube-public,kube-system,local-path-storage }
end-time: 2022-08-22 11:33:28.361233 +0800 CST

Cluster endpoint: https://127.0.0.1:56365
CLI version:
version.BuildInfo{Version:"1.14.3", GitRevision:"a95e01fe300e14a11e7e9503d4b2c196ab755fcf", GolangVersion:"go1.18.4", BuildStatus:"Clean", GitTag:"1.14.3"}

The following Istio control plane revisions/versions were found in the cluster:
Revision 1-14:
&version.MeshInfo{
{
Component: "istiod",
Info: version.BuildInfo{Version:"1.14.3", GitRevision:"a95e01fe300e14a11e7e9503d4b2c196ab755fcf", GolangVersion:"", BuildStatus:"Clean", GitTag:"1.14.3"},
},
}

The following proxy revisions/versions were found in the cluster:
Revision 1-14: Versions {1.14.3}

Fetching proxy logs for the following containers:

istio-system/istio-egressgateway/istio-egressgateway-588c6cb66f-wpjk9/istio-proxy
istio-system/istio-ingressgateway/istio-ingressgateway-855469d857-26pkf/istio-proxy
istio-system/istio-operator-1-14/istio-operator-1-14-fcb6979f8-6kzwg/istio-operator
istio-system/istiod-1-14/istiod-1-14-6bcbbc8c5c-84fdc/discovery
istio-system/test-gw-2/test-gw-2-7b695858db-hdqlf/istio-proxy

Fetching Istio control plane information from cluster.

Running istio analyze on all namespaces and report as below:
Analysis Report:
Info [IST0102] (Namespace default) The namespace is not enabled for Istio injection. Run 'kubectl label namespace default istio-injection=enabled' to enable it, or 'kubectl label namespace default istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0102] (Namespace istio-operator) The namespace is not enabled for Istio injection. Run 'kubectl label namespace istio-operator istio-injection=enabled' to enable it, or 'kubectl label namespace istio-operator istio-injection=disabled' to explicitly mark it as not needing injection.
Creating an archive at /Users/alan/go/src/gitlab-ce.alauda.cn/micro-service/istio-native/alauda-istio/bug-report.tar.gz.
Cleaning up temporary files in /var/folders/93/jv71j5fn49b3_702yrwpgsw00000gn/T/bug-report.
Done.

Affected product area

  • Docs
  • Installation
  • Networking
  • Performance and Scalability
  • Extensions and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure
  • Upgrade
  • Multi Cluster
  • Virtual Machine
  • Control Plane Revisions

Is this the right place to submit this?

  • This is not a security vulnerability
  • This is not a question about how to use Istio

Activity

  1. changed the title [-]istio 1.14.1 delete a custom gateway by iop CR, other gateways will restart[/-] [+]istio 1.14.3 delete a custom gateway by iop CR, other gateways will restart[/+] on Aug 24, 2022
  2. auswells commented on Nov 3, 2022

    @auswells

    We have been experiencing this issue as well. I've deployed @chinaran's fix to one of our clusters and it appears to address the issue.

  3. chinaran commented on Nov 4, 2022

    @chinaran
    ContributorAuthor

    @auswells Could you comment it at #40578 too?
    This pr not merge for a long time.
    It still need maintainer to code review.

  4. chinaran commented on Nov 6, 2022

    @chinaran
    ContributorAuthor

    @auswells Thank you.

  5. linsun commented on Nov 15, 2022

    @linsun
    Member

    Hi, is this fixed now?

  6. chinaran commented on Nov 16, 2022

    @chinaran
    ContributorAuthor

    @linsun Yes, PR #40578 has been merged. I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions