Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeletePods (0.05 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (2)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top