Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for failed (0.19 sec)

  1. cni/pkg/nodeagent/net.go

    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    		return fmt.Errorf("failed to find pod netns")
    	}
    	// pod is removed from the mesh, but is still running. remove iptables rules
    	log.Debugf("calling DeleteInpodRules.")
    	if err := s.netnsRunner(openNetns, func() error { return s.iptablesConfigurator.DeleteInpodRules() }); err != nil {
    		log.Errorf("failed to delete inpod rules %v", err)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. istioctl/pkg/waypoint/waypoint.go

    	} else if err != nil {
    		return fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	if nsObj.Labels == nil {
    		nsObj.Labels = map[string]string{}
    	}
    	nsObj.Labels[constants.AmbientUseWaypoint] = waypointName
    	if _, err := kubeClient.Kube().CoreV1().Namespaces().Update(context.Background(), nsObj, metav1.UpdateOptions{}); err != nil {
    		return fmt.Errorf("failed to update namespace %s: %v", ns, err)
    	}
    	return nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate_test.go

    			webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace)
    			if err != nil {
    				t.Fatalf("webhook parsing failed with error: %v", err)
    			}
    			webhookConfig, err = fixWhConfig(fakeClient, webhookConfig)
    			if err != nil {
    				t.Fatalf("webhook fixing failed with error: %v", err)
    			}
    			opts := &GenerateOptions{
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    	if err != nil {
    		return fmt.Errorf("failed to retrieve tag with name %s: %v", tagName, err)
    	}
    	if len(webhooks) == 0 {
    		return fmt.Errorf("cannot remove tag %q: cannot find MutatingWebhookConfiguration for tag", tagName)
    	}
    
    	taggedNamespaces, err := GetNamespacesWithTag(ctx, kubeClient, tagName)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve namespaces dependent on tag %q", tagName)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/batch/v1/generated.proto

      // Specifies the policy of handling failed pods. In particular, it allows to
      // specify the set of actions and conditions which need to be
      // satisfied to take the associated action.
      // If empty, the default behaviour applies - the counter of failed pods,
      // represented by the jobs's .status.failed field, is incremented and it is
      // checked against the backoffLimit. This field cannot be used in combination
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    		repairLog.Errorf("Failed to update pod: %s", err)
    		c.events.Write(pod, corev1.EventTypeWarning, ReasonLabelBrokenPod, "pod detected as broken, but failed to label: %v", err)
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return err
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. operator/cmd/mesh/install.go

    		return fmt.Errorf("failed to install manifests: %v", err)
    	}
    	opts := &helmreconciler.ProcessDefaultWebhookOptions{
    		Namespace: ns,
    		DryRun:    rootArgs.DryRun,
    	}
    	if processed, err := helmreconciler.ProcessDefaultWebhook(kubeClient, iop, exists, opts); err != nil {
    		return fmt.Errorf("failed to process default webhook: %v", err)
    	} else if processed {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    	return nil
    }
    
    func validateCIDRList(cidrs string) error {
    	if len(cidrs) > 0 {
    		for _, cidr := range strings.Split(cidrs, ",") {
    			if _, err := netip.ParsePrefix(cidr); err != nil {
    				return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err)
    			}
    		}
    	}
    	return nil
    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	return io.ReadAll(file)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	}))
    
    	return s
    }
    
    func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) {
    	ns := s.namespaces.Get(podNamespace, "")
    	if ns == nil {
    		return nil, fmt.Errorf("failed to find namespace %v", ns)
    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if util.PodRedirectionEnabled(ns, pod) {
    		return pod, nil
    	}
    	return nil, nil
    }
    
    func (s *InformerHandlers) Start() {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top