Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 141 for InitContainers (0.2 sec)

  1. pkg/scheduler/extender.go

    func (h *HTTPExtender) IsInterested(pod *v1.Pod) bool {
    	if h.managedResources.Len() == 0 {
    		return true
    	}
    	if h.hasManagedResources(pod.Spec.Containers) {
    		return true
    	}
    	if h.hasManagedResources(pod.Spec.InitContainers) {
    		return true
    	}
    	return false
    }
    
    func (h *HTTPExtender) hasManagedResources(containers []v1.Container) bool {
    	for i := range containers {
    		container := &containers[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		st := &mockState{
    			assignments:   testCase.stAssignments,
    			defaultCPUSet: testCase.stDefaultCPUSet,
    		}
    		pod := testCase.pod
    
    		// allocate
    		for _, container := range append(pod.Spec.InitContainers, pod.Spec.Containers...) {
    			policy.Allocate(st, pod, &container)
    		}
    		if !reflect.DeepEqual(st.defaultCPUSet, testCase.expCSetAfterAlloc) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. cni/README.md

    - In sidecar mode, the CNI plugin can configure sidecar networking for pods when they are scheduled by the container runtime, using iptables. The CNI handling the netns setup replaces the current Istio approach using a `NET_ADMIN` privileged `initContainers` container, `istio-init`, injected in the pods along with `istio-proxy` sidecars. This removes the need for a privileged, `NET_ADMIN` container in the Istio users' application pods.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    	return []func(string) int64{
    		func(node string) int64 {
    			var sumContainers int64
    			for _, pod := range nodesToVictims[node].Pods {
    				sumContainers += int64(len(pod.Spec.Containers) + len(pod.Spec.InitContainers))
    			}
    			// The smaller the sumContainers, the higher the score.
    			return -sumContainers
    		},
    	}
    }
    
    func TestNodesWherePreemptionMightHelp(t *testing.T) {
    	// Prepare 4 nodes names.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.ReplicaSet.yaml

            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.yaml

            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.yaml

            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.yaml

            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodTemplate.yaml

          - hostnamesValue
          ip: ipValue
        hostIPC: true
        hostNetwork: true
        hostPID: true
        hostUsers: true
        hostname: hostnameValue
        imagePullSecrets:
        - name: nameValue
        initContainers:
        - args:
          - argsValue
          command:
          - commandValue
          env:
          - name: nameValue
            value: valueValue
            valueFrom:
              configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.ReplicationController.yaml

            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top