Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for DeletePods (0.19 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. manifests/charts/istio-cni/templates/configmap-cni.yaml

      REPAIR_ENABLED: {{ .Values.cni.chained | quote }}
      REPAIR_LABEL_PODS: {{ .Values.cni.repair.labelPods | quote }}
      REPAIR_DELETE_PODS: {{ .Values.cni.repair.deletePods | quote }}
      REPAIR_REPAIR_PODS: {{ .Values.cni.repair.repairPods | quote }}
      REPAIR_INIT_CONTAINER_NAME: {{ .Values.cni.repair.initContainerName | quote }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:25 UTC 2024
    - 1.6K 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/clusterrole.yaml

        verbs: ["create", "patch"]
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.cni.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.cni.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.cni.repair.labelPods }}
      - apiGroups: [""]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/kubelet/config/config.go

    				if needUpdate {
    					updatePods = append(updatePods, existing)
    				} else if needReconcile {
    					reconcilePods = append(reconcilePods, existing)
    				} else if needGracefulDelete {
    					deletePods = append(deletePods, existing)
    				}
    				continue
    			}
    			recordFirstSeenTime(ref)
    			pods[ref.UID] = ref
    			addPods = append(addPods, ref)
    		}
    	}
    
    	update := change.(kubetypes.PodUpdate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pkg/controller/util/node/controller_utils.go

    	"k8s.io/kubernetes/pkg/kubelet/util/format"
    	nodepkg "k8s.io/kubernetes/pkg/util/node"
    
    	"k8s.io/klog/v2"
    )
    
    // DeletePods will delete all pods from master running on given node,
    // and return true if any pods were deleted, or were found pending
    // deletion.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/cmd/root.go

    					msg := fmt.Errorf(`iptables validation failed; workload is not ready for Istio.
    When using Istio CNI, this can occur if a pod is scheduled before the node is ready.
    
    If installed with 'cni.repair.deletePods=true', this pod should automatically be deleted and retry.
    Otherwise, this pod will need to be manually removed so that it is scheduled on a node with istio-cni running, allowing iptables rules to be established.
    `)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // No longer used.
      string createEvents = 6 [deprecated = true];
    
      // The Repair controller has 3 modes (labelPods, deletePods, and repairPods). Pick which one meets your use cases. Note only one may be used.
      // The mode defines the action the controller will take when a pod is detected as broken.
      // If deletePods is true, the controller will delete the broken pod. The pod will then be rescheduled, hopefully onto a node that is fully ready.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top