Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,195 for pod6 (0.16 sec)

  1. plugin/pkg/admission/alwayspullimages/admission_test.go

    			name:     "non-pod resource",
    			kind:     "Foo",
    			resource: "foos",
    			object:   pod,
    		},
    		{
    			name:        "pod subresource",
    			kind:        "Pod",
    			resource:    "pods",
    			subresource: "exec",
    			object:      pod,
    		},
    		{
    			name:        "non-pod object",
    			kind:        "Pod",
    			resource:    "pods",
    			object:      &api.Service{},
    			expectError: true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    	}
    
    	type test struct {
    		name         string
    		pods         []podData
    		wantPodNames []string
    	}
    
    	tests := []test{
    		{
    			name: "Filters active pods",
    			pods: []podData{
    				{podName: "pod-1", podPhase: v1.PodSucceeded},
    				{podName: "pod-2", podPhase: v1.PodFailed},
    				{podName: "pod-3"},
    				{podName: "pod-4"},
    				{podName: "pod-5"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. pkg/kubelet/util/format/pod.go

    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Pod returns a string representing a pod in a consistent human readable format,
    // with pod UID as part of the string.
    func Pod(pod *v1.Pod) string {
    	if pod == nil {
    		return "<nil>"
    	}
    	return PodDesc(pod.Name, pod.Namespace, pod.UID)
    }
    
    // PodDesc returns a string representing a pod in a consistent human readable format,
    // with pod UID as part of the string.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: some-app
        plugin1: some-value
        plugin2: some-value
        plugin3: some-value
        plugin4: some-value
      name: some-name
      namespace: default
      ownerReferences:
      - apiVersion: apps/v1
        blockOwnerDeletion: true
        controller: true
        kind: ReplicaSet
        name: some-name
        uid: 0a9d2b9e-779e-11e7-b422-42010a8001be
    spec:
      containers:
      - args:
        - one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/artifacts/pod.yaml

    # Copy of pod.yaml without file extension for test
    apiVersion: v1
    kind: Pod
    metadata:
      name: nginx
      labels:
        name: nginx
    spec:
      containers:
      - name: nginx
        image: nginx
        ports:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 214 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: some-app
        plugin1: some-value
        plugin2: some-value
        plugin3: some-value
        plugin4: some-value
      name: some-name
      namespace: default
      ownerReferences:
      - apiVersion: apps/v1
        blockOwnerDeletion: true
        controller: true
        kind: ReplicaSet
        name: some-name
        uid: 0a9d2b9e-779e-11e7-b422-42010a8001be
    spec:
      containers:
      - args:
        - one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    // or are known to be fully terminated. This method should only be used
    // when the set of pods being filtered is upstream of the pod worker, i.e.
    // the pods the pod manager is aware of.
    func (kl *Kubelet) filterOutInactivePods(pods []*v1.Pod) []*v1.Pod {
    	filteredPods := make([]*v1.Pod, 0, len(pods))
    	for _, p := range pods {
    		// if a pod is fully terminated by UID, it should be excluded from the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. pkg/kubelet/preemption/preemption_test.go

    	if f.errDuringPodKilling {
    		f.killedPods = []*v1.Pod{}
    		return fmt.Errorf("problem killing pod %v", pod)
    	}
    	f.killedPods = append(f.killedPods, pod)
    	return nil
    }
    
    type fakePodProvider struct {
    	pods []*v1.Pod
    }
    
    func newFakePodProvider() *fakePodProvider {
    	return &fakePodProvider{pods: []*v1.Pod{}}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/replica_calculator.go

    			ignoredPods.Insert(pod.Name)
    			continue
    		}
    		// Pending pods are ignored.
    		if pod.Status.Phase == v1.PodPending {
    			unreadyPods.Insert(pod.Name)
    			continue
    		}
    		// Pods missing metrics.
    		metric, found := metrics[pod.Name]
    		if !found {
    			missingPods.Insert(pod.Name)
    			continue
    		}
    		// Unready pods are ignored.
    		if resource == v1.ResourceCPU {
    			var unready bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. pkg/kube/controllers/example_test.go

    	// Its often useful to shadow the log one with additional K/V context
    	log := log.WithLabels("resource", key)
    	pod := c.pods.Get(key.Name, key.Namespace)
    	if pod == nil {
    		log.Infof("pod deleted")
    	} else {
    		c.events.Inc()
    		fmt.Println("pod has IP", pod.Status.PodIP) // Just for our test, normally use log.Info
    		log.Infof("pod has IP %v", pod.Status.PodIP)
    	}
    	// We never have an error for this controller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top