Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 453 for pod4 (0.08 sec)

  1. pkg/kubelet/userns/userns_manager_switch_test.go

    	pods := []types.UID{"pod-1", "pod-2"}
    
    	testUserNsPodsManager := &testUserNsPodsManager{
    		podDir: t.TempDir(),
    		// List the same pods we will record, so the second time we create the userns
    		// manager, it will find these pods on disk with userns data.
    		podList: pods,
    	}
    	m, err := MakeUserNsManager(testUserNsPodsManager)
    	require.NoError(t, err)
    
    	// Record the pods on disk.
    	for _, podUID := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pkg/kubelet/container/runtime_cache.go

    	}
    	r.pods, r.cacheTime = pods, timestamp
    	return nil
    }
    
    // getPodsWithTimestamp records a timestamp and retrieves pods from the getter.
    func (r *runtimeCache) getPodsWithTimestamp(ctx context.Context) ([]*Pod, time.Time, error) {
    	// Always record the timestamp before getting the pods to avoid stale pods.
    	timestamp := time.Now()
    	pods, err := r.getter.GetPods(ctx, false)
    	return pods, timestamp, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/deployment-pod-sec-uid.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: deploy-pod-sec-uid
      labels:
        app: helloworld
        version: v1
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: helloworld
          version: v1
      template:
        metadata:
          labels:
            app: helloworld
            version: v1
        spec:
          securityContext:
            runAsUser: 1337
          containers:
          - name: helloworld
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 600 bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/pod-con-sec-uid.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: con-sec-uid
      labels:
        app: helloworld
        version: v1
    spec:
      containers:
      - name: helloworld
        image: docker.io/istio/examples-helloworld-v1
        securityContext:
          runAsUser: 1337
        resources:
          requests:
            cpu: "100m"
        imagePullPolicy: IfNotPresent #Always
        ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 364 bytes
    - Viewed (0)
  5. hack/testdata/pod-restricted-runtime-default.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        run: target
      name: target
    spec:
      securityContext:
        seccompProfile: 
          type: RuntimeDefault
      containers:
      - image: busybox
        name: target
        command: ["/bin/sh", "-c", "sleep 100"]
        securityContext:
            runAsUser: 1000
            runAsGroup: 1000
            runAsNonRoot: true
            allowPrivilegeEscalation: false
            capabilities:
              drop: 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 24 11:16:49 UTC 2023
    - 437 bytes
    - Viewed (0)
  6. hack/testdata/pod-with-large-name.yaml

    # Used for testing name truncation in kubectl expose
    apiVersion: v1
    kind: Pod
    metadata:
      name: kubernetes-serve-hostname-testing-sixty-three-characters-in-length
      labels:
        name: kubernetes-serve-hostname
    spec:
      containers:
      - name: kubernetes-serve-hostname
        image: registry.k8s.io/e2e-test-images/agnhost:2.32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 365 bytes
    - Viewed (0)
  7. pkg/kubelet/pod/pod_manager.go

    		return false
    	}
    	return hash == getPodHash(pod)
    }
    
    func podsMapToPods(UIDMap map[kubetypes.ResolvedPodUID]*v1.Pod) []*v1.Pod {
    	pods := make([]*v1.Pod, 0, len(UIDMap))
    	for _, pod := range UIDMap {
    		pods = append(pods, pod)
    	}
    	return pods
    }
    
    func mirrorPodsMapToMirrorPods(UIDMap map[kubetypes.MirrorPodUID]*v1.Pod) []*v1.Pod {
    	pods := make([]*v1.Pod, 0, len(UIDMap))
    	for _, pod := range UIDMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pkg/controller/resourceclaim/controller_test.go

    			},
    			expectedMetrics: expectedMetrics{0, 0},
    		},
    		{
    			name: "no-such-pod",
    			key:  podKey(testPodWithResource),
    		},
    		{
    			name: "pod-deleted",
    			pods: func() []*v1.Pod {
    				deleted := metav1.Now()
    				pods := []*v1.Pod{testPodWithResource.DeepCopy()}
    				pods[0].DeletionTimestamp = &deleted
    				return pods
    			}(),
    			key: podKey(testPodWithResource),
    		},
    		{
    			name: "no-volumes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. pkg/kubelet/server/stats/summary_test.go

    		Name:               "pods",
    		StartTime:          cgroupStatsMap["/pods"].cs.StartTime,
    		CPU:                cgroupStatsMap["/pods"].cs.CPU,
    		Memory:             cgroupStatsMap["/pods"].cs.Memory,
    		Accelerators:       cgroupStatsMap["/pods"].cs.Accelerators,
    		UserDefinedMetrics: cgroupStatsMap["/pods"].cs.UserDefinedMetrics,
    		Swap:               cgroupStatsMap["/pods"].cs.Swap,
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
      optional string podManagementPolicy = 6;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top