Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,529 for ContainerT (0.14 sec)

  1. pkg/api/testing/backward_compatibility_test.go

    		"hostIPC": true,
    		"containers":[{
    			"name":"a",
    			"image":"my-container-image"
    		}]
    	}
    }
    `,
    			expectedKeys: map[string]string{
    				"spec.hostIPC": "true",
    			},
    		},
    		{
    			name: "hostIPC = false",
    			input: `
    {
    	"kind":"Pod",
    	"apiVersion":"v1",
    	"metadata":{"name":"my-pod-name", "namespace":"my-pod-namespace"},
    	"spec": {
    		"hostIPC": false,
    		"containers":[{
    			"name":"a",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 01 18:45:58 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. pkg/kube/inject/app_probe.go

    		return c
    	}
    	return FindContainer(name, pod.Spec.InitContainers)
    }
    
    // FindContainer returns the pointer to the first container whose name matches.
    func FindContainer(name string, containers []corev1.Container) *corev1.Container {
    	for i := range containers {
    		if containers[i].Name == name {
    			return &containers[i]
    		}
    	}
    	return nil
    }
    
    // convertAppProber returns an overwritten `Probe` for pilot agent to take over.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. pkg/kubelet/qos/policy.go

    	// Burstable containers are a middle tier, between Guaranteed and Best-Effort. Ideally,
    	// we want to protect Burstable containers that consume less memory than requested.
    	// The formula below is a heuristic. A container requesting for 10% of a system's
    	// memory will have an OOM score adjust of 900. If a process in container Y
    	// uses over 10% of memory, its OOM score will be 1000. The idea is that containers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pkg/kubelet/util/util.go

    }
    
    // GetContainerByIndex validates and extracts the container at index "idx" from
    // "containers" with respect to "statuses".
    // It returns true if the container is valid, else returns false.
    func GetContainerByIndex(containers []v1.Container, statuses []v1.ContainerStatus, idx int) (v1.Container, bool) {
    	if idx < 0 || idx >= len(containers) || idx >= len(statuses) {
    		return v1.Container{}, false
    	}
    	if statuses[idx].Name != containers[idx].Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 18:07:39 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4_Container.puml

    |<CONTAINER_BG_COLOR>   | container |
    endlegend
    !enddefinelong
    
    ' Elements
    ' ##################################
    
    !define Container(e_alias, e_label, e_techn) rectangle "==e_label\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//" <<container>> as e_alias
    !define Container(e_alias, e_label, e_techn, e_descr) rectangle "==e_label\n//<size:TECHN_FONT_SIZE>[e_techn]</size>//\n\n e_descr" <<container>> as e_alias
    
    ' Boundaries
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. pkg/kubelet/container/container_gc.go

    	MaxPerPodContainer int
    
    	// Max number of total dead containers, less than zero for no limit.
    	MaxContainers int
    }
    
    // GC manages garbage collection of dead containers.
    //
    // Implementation is thread-compatible.
    type GC interface {
    	// Garbage collect containers.
    	GarbageCollect(ctx context.Context) error
    	// Deletes all unused containers, including containers belonging to pods that are terminated but not deleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. plugin/pkg/admission/alwayspullimages/admission_test.go

    		`pods "123" is forbidden: spec.containers[0].imagePullPolicy: Unsupported value: "": supported values: "Always", ` +
    		`pods "123" is forbidden: spec.containers[1].imagePullPolicy: Unsupported value: "Never": supported values: "Always", ` +
    		`pods "123" is forbidden: spec.containers[2].imagePullPolicy: Unsupported value: "IfNotPresent": supported values: "Always"]`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubelet/flags_test.go

    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					CRISocket: "unix:///var/run/containerd/containerd.sock",
    					KubeletExtraArgs: []kubeadmapi.Arg{
    						{Name: "hostname-override", Value: "override-name"},
    					},
    				},
    			},
    			expected: []kubeadmapi.Arg{
    				{Name: "container-runtime-endpoint", Value: "unix:///var/run/containerd/containerd.sock"},
    				{Name: "hostname-override", Value: "override-name"},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/kubernetes.go

    			}
    		}
    	}
    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/volume/util/nested_volumes_test.go

    			expected: sets.New[string](),
    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: testNamespace,
    					UID:       testPodUID,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							VolumeMounts: []v1.VolumeMount{
    								{MountPath: "/dir", Name: "vol1"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Simple Nested Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top