Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for failed (0.4 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 08 22:53:08 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.AmbientUseWaypointLabel] = 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 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K 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 08 22:53:08 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. 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 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. 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 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  8. istioctl/pkg/dashboard/dashboard.go

      istioctl dash prometheus
      istioctl d prometheus`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			name, namespace, err := inferPodMeta(ctx, client, "app.kubernetes.io/name=prometheus")
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err != nil {
    		t.Fatalf("failed with error: %v", err)
    	}
    
    	return mockRedir
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top