Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for delete (0.16 sec)

  1. cni/pkg/repair/repaircontroller.go

    		ResourceVersion: &pod.ResourceVersion,
    	}
    	err := c.client.Kube().CoreV1().Pods(pod.Namespace).Delete(context.Background(), pod.Name, metav1.DeleteOptions{
    		Preconditions: preconditions,
    	})
    	if err != nil {
    		c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, but failed to delete: %v", err)
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/listener.go

    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  3. istioctl/pkg/tag/tag.go

    revision tag before removing using the "istioctl tag list" command.
    `,
    		Example: `  # Remove the revision tag "prod"
      istioctl tag remove prod
    `,
    		Aliases: []string{"delete"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 {
    				return fmt.Errorf("must provide a tag for removal")
    			}
    			if len(args) > 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/util.go

    }
    
    // DeleteTagWebhooks deletes the given webhooks.
    func DeleteTagWebhooks(ctx context.Context, client kubernetes.Interface, tag string) error {
    	webhooks, err := GetWebhooksWithTag(ctx, client, tag)
    	if err != nil {
    		return err
    	}
    	var result error
    	for _, wh := range webhooks {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  6. operator/cmd/mesh/install.go

    		return fmt.Errorf("errors occurred during operation")
    	}
    
    	// Previously we may install IOP file from the old version of istioctl. Now since we won't install IOP file
    	// anymore, and it didn't provide much value, we can delete it if it exists.
    	reconciler.DeleteIOPInClusterIfExists(iop)
    
    	opts.ProgressLog.SetState(progress.StateComplete)
    
    	return nil
    }
    
    func savedIOPName(iop *v1alpha12.IstioOperator) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  7. cni/pkg/config/config.go

    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    	// Whether to fix race condition by repairing them
    	RepairPods bool
    
    	// Whether to fix race condition by delete broken pods
    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    	// Filters for race repair, including name of sidecar annotation, name of init container,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. istioctl/pkg/wait/wait.go

    `,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			if forFlag == "delete" {
    				return errors.New("wait for delete is not yet implemented")
    			} else if forFlag != "distribution" {
    				return fmt.Errorf("--for must be 'delete' or 'distribution', got: %s", forFlag)
    			}
    			if proxyFlag != "" && threshold != 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. cni/pkg/repair/monitoring.go

    // limitations under the License.
    
    package repair
    
    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	typeLabel  = monitoring.CreateLabel("type")
    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. cni/pkg/constants/constants.go

    	AmbientEnabled       = "ambient-enabled"
    	AmbientDNSCapture    = "ambient-dns-capture"
    	AmbientIPv6          = "ambient-ipv6"
    
    	// Repair
    	RepairEnabled            = "repair-enabled"
    	RepairDeletePods         = "repair-delete-pods"
    	RepairRepairPods         = "repair-repair-pods"
    	RepairLabelPods          = "repair-label-pods"
    	RepairLabelKey           = "repair-broken-pod-label-key"
    	RepairLabelValue         = "repair-broken-pod-label-value"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top