Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Labeler (0.14 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    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)
  2. cni/pkg/repair/repaircontroller.go

    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    func (c *Controller) labelBrokenPod(pod *corev1.Pod) error {
    	// Added for safety, to make sure no healthy pods get labeled.
    	m := podsRepaired.With(typeLabel.Value(labelType))
    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    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)
  3. cni/pkg/nodeagent/informers.go

    			wasReady := kube.CheckPodReadyOrComplete(oldPod)
    			isReady := kube.CheckPodReadyOrComplete(newPod)
    			if wasReady != nil && isReady != nil && isAnnotated {
    				log.Infof("Pod %s update event skipped, added/labeled by CNI plugin", pod.Name)
    				return nil
    			}
    
    			log.Debugf("Pod %s now matches, adding to mesh", newPod.Name)
    			// netns == ""; at this point netns should have been added via the initial snapshot,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cni/pkg/repair/repair_test.go

    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSuccess, "type": labelType},
    		},
    		{
    			name:   "With already labeled pod",
    			client: fakeClient(workingPod, workingPodDiedPreviously, brokenPodTerminating),
    			config: config.RepairConfig{
    				InitContainerName:  constants.ValidationContainerName,
    				InitExitCode:       126,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
Back to top