Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for mypods (0.16 sec)

  1. src/internal/coverage/pods/pods.go

    			pod.Origins = append(pod.Origins, e.origin)
    			pod.ProcessIDs = append(pod.ProcessIDs, e.pid)
    		}
    		pods = append(pods, pod)
    	}
    	slices.SortFunc(pods, func(a, b Pod) int {
    		return strings.Compare(a.MetaFile, b.MetaFile)
    	})
    	return pods
    }
    
    func warning(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kubemark/hollow_kubelet.go

    	c.NodeStatusReportFrequency.Duration = 5 * time.Minute
    	c.SyncFrequency.Duration = 10 * time.Second
    	c.EvictionPressureTransitionPeriod.Duration = 5 * time.Minute
    	c.MaxPods = int32(opt.MaxPods)
    	c.PodsPerCore = int32(opt.PodsPerCore)
    	c.ClusterDNS = []string{}
    	c.ImageGCHighThresholdPercent = 90
    	c.ImageGCLowThresholdPercent = 80
    	c.ProviderID = fmt.Sprintf("kubemark://%v", opt.NodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. manifests/charts/istio-cni/templates/clusterrole.yaml

        verbs: ["create", "patch"]
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.cni.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.cni.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.cni.repair.labelPods }}
      - apiGroups: [""]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. cni/pkg/util/podutil.go

    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
  6. pkg/controller/job/backoff_utils.go

    				backoff.lastFailureTime = &failedTime
    			}
    			backoff.failuresAfterLastSuccess += 1
    		}
    
    		return *backoff
    
    	}
    
    }
    
    func sortByFinishedTime(pods []*v1.Pod) {
    	sort.Slice(pods, func(i, j int) bool {
    		p1 := pods[i]
    		p2 := pods[j]
    		p1FinishTime := getFinishedTime(p1)
    		p2FinishTime := getFinishedTime(p2)
    
    		return p1FinishTime.Before(p2FinishTime)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/runtime/runtime.go

    	return nil
    }
    
    // ListKubeContainers lists running k8s CRI pods
    func (runtime *CRIRuntime) ListKubeContainers() ([]string, error) {
    	ctx, cancel := defaultContext()
    	defer cancel()
    
    	sandboxes, err := runtime.impl.ListPodSandbox(ctx, runtime.runtimeService, nil)
    	if err != nil {
    		return nil, errors.Wrap(err, "failed to list pod sandboxes")
    	}
    
    	pods := []string{}
    	for _, sandbox := range sandboxes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cni/pkg/constants/constants.go

    	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"
    	RepairNodeName           = "repair-node-name"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/node/v1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// handler specifies the underlying runtime and configuration that the CRI
    	// implementation will use to handle pods of this class. The possible values
    	// are specific to the node & CRI configuration.  It is assumed that all
    	// handlers are available on every node, and handlers of the same name are
    	// equivalent on every node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. pkg/controller/volume/ephemeral/controller.go

    	// The common indexer does some prefiltering for us by
    	// limiting the list to those pods which reference
    	// the PVC.
    	objs, err := ec.podIndexer.ByIndex(common.PodPVCIndex, fmt.Sprintf("%s/%s", pvc.Namespace, pvc.Name))
    	if err != nil {
    		runtime.HandleError(fmt.Errorf("listing pods from cache: %v", err))
    		return
    	}
    	for _, obj := range objs {
    		ec.enqueuePod(obj)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top