Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DeletePods (0.08 sec)

  1. cni/pkg/config/config.go

    	b.WriteString("NodeName: " + c.NodeName + "\n")
    	b.WriteString("LabelKey: " + c.LabelKey + "\n")
    	b.WriteString("LabelValue: " + c.LabelValue + "\n")
    	b.WriteString("DeletePods: " + fmt.Sprint(c.DeletePods) + "\n")
    	b.WriteString("LabelPods: " + fmt.Sprint(c.LabelPods) + "\n")
    	b.WriteString("SidecarAnnotation: " + c.SidecarAnnotation + "\n")
    	b.WriteString("InitContainerName: " + c.InitContainerName + "\n")
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 6.3K bytes
    - Viewed (2)
  2. manifests/charts/istio-cni/templates/configmap-cni.yaml

      REPAIR_ENABLED: {{ .Values.repair.enabled | quote }}
      REPAIR_LABEL_PODS: {{ .Values.repair.labelPods | quote }}
      REPAIR_DELETE_PODS: {{ .Values.repair.deletePods | quote }}
      REPAIR_REPAIR_PODS: {{ .Values.repair.repairPods | quote }}
      REPAIR_INIT_CONTAINER_NAME: {{ .Values.repair.initContainerName | quote }}
      REPAIR_BROKEN_POD_LABEL_KEY: {{ .Values.repair.brokenPodLabelKey | quote }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 1.9K bytes
    - Viewed (0)
  3. manifests/charts/istio-cni/values.yaml

        labelPods: false
        # deletePods will delete any broken pod. These will then be rescheduled, hopefully onto a node that is fully ready.
        # Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod.
        deletePods: false
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-07 01:49
    - 6.2K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/clusterrole.yaml

        verbs: ["create", "patch"]
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.repair.labelPods }}
      - apiGroups: [""]
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-12-19 15:48
    - 2.7K bytes
    - Viewed (0)
  5. cni/pkg/repair/repaircontroller.go

    	if !c.matchesFilter(pod) {
    		return // Skip, pod doesn't need repair
    	}
    	repairLog.Debugf("Reconciling pod %s", pod.Name)
    
    	if c.cfg.RepairPods {
    		return c.repairPod(pod)
    	} else if c.cfg.DeletePods {
    		return c.deleteBrokenPod(pod)
    	} else if c.cfg.LabelPods {
    		return c.labelBrokenPod(pod)
    	}
    	return nil
    }
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 8.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test.go

    			wantCount: 1,
    			wantTags:  map[string]string{"result": resultSuccess, "type": deleteType},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.DeletePods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-10-24 03:31
    - 10.6K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    			return nil, err
    		}
    	}
    
    	repairCfg := config.RepairConfig{
    		Enabled:            viper.GetBool(constants.RepairEnabled),
    		RepairPods:         viper.GetBool(constants.RepairRepairPods),
    		DeletePods:         viper.GetBool(constants.RepairDeletePods),
    		LabelPods:          viper.GetBool(constants.RepairLabelPods),
    		LabelKey:           viper.GetString(constants.RepairLabelKey),
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 15K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    them). # Note this gives the DaemonSet a relatively high privilege, as modifying pod metadata/status can have wider impacts. labelPods: false # deletePods will delete any broken pod. These will then be rescheduled, hopefully onto a node that is fully ready. # Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod. deletePods: false # repairPods will dynamically repair any broken pod by setting up the pod networking configuration even after it has started. # Note the pod...
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-08-12 20:50
    - 266.2K bytes
    - Viewed (0)
Back to top