Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,623 for ContainerT (0.32 sec)

  1. pkg/test/kube/dump.go

    	for _, pod := range pods {
    		isVM := checkIfVM(pod)
    		containers := append(pod.Spec.Containers, pod.Spec.InitContainers...)
    		for _, container := range containers {
    			l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, false /* previousLog */)
    			if err != nil {
    				scopes.Framework.Warnf("Unable to get logs for cluster/pod/container: %s/%s/%s/%s for: %v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/common_test.go

    		ContainerStatuses: []v1.ContainerStatus{containerStatus},
    	}
    	return podStatus
    }
    
    func getTestPod() *v1.Pod {
    	container := v1.Container{
    		Name: testContainerName,
    	}
    	pod := v1.Pod{
    		Spec: v1.PodSpec{
    			Containers:    []v1.Container{container},
    			RestartPolicy: v1.RestartPolicyNever,
    		},
    	}
    	pod.Name = "testPod"
    	pod.UID = testPodUID
    	return &pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			UID: types.UID(podUID),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:      containerName,
    					Resources: *requirements,
    				},
    			},
    		},
    	}
    }
    
    func getPodWithInitContainers(podUID string, containers []v1.Container, initContainers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID: types.UID(podUID),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_linux.go

    		cs, err := p.makeContainerStats(criContainerStat, container, rootFsInfo, fsIDtoInfo, podSandbox.GetMetadata(),
    			updateCPUNanoCoreUsage)
    		if err != nil {
    			return fmt.Errorf("make container stats: %w", err)
    		}
    		ps.Containers = append(ps.Containers, *cs)
    	}
    	return nil
    }
    
    func addCRIPodNetworkStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. cluster/addons/fluentd-gcp/README.md

    command:
    
    ```
    $ kubectl get ds -n kube-system -l k8s-app=fluentd-gcp \
    -o custom-columns=NAME:.metadata.name,\
    CPU_REQUEST:.spec.template.spec.containers[].resources.requests.cpu,\
    MEMORY_REQUEST:.spec.template.spec.containers[].resources.requests.memory,\
    MEMORY_LIMIT:.spec.template.spec.containers[].resources.limits.memory
    ```
    
    This will display an output similar to the following:
    
    ```
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 13 20:03:37 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

    {{- $containers := list }}
    {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
    metadata:
      labels:
        service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name  | quote }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				# TYPE scrape_error gauge
    				scrape_error 0
    				# HELP resource_scrape_error [STABLE] 1 if there was an error while getting container metrics, 0 otherwise
    				# TYPE resource_scrape_error gauge
    				resource_scrape_error 0
    			`,
    		},
    		{
    			name: "arbitrary container metrics for different container, pods and namespaces",
    			summary: &statsapi.Summary{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  8. pkg/apis/core/v1/helper/qos/qos.go

    func ComputePodQOS(pod *v1.Pod) v1.PodQOSClass {
    	requests := v1.ResourceList{}
    	limits := v1.ResourceList{}
    	zeroQuantity := resource.MustParse("0")
    	isGuaranteed := true
    	allContainers := []v1.Container{}
    	allContainers = append(allContainers, pod.Spec.Containers...)
    	allContainers = append(allContainers, pod.Spec.InitContainers...)
    	for _, container := range allContainers {
    		// process requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/fake_runtime.go

    	pod.Spec.Containers = append(pod.Spec.Containers, container)
    	for _, c := range pod.Spec.Containers {
    		if c.Name == container.Name { // Container already in the pod.
    			return f.Err
    		}
    	}
    	pod.Spec.Containers = append(pod.Spec.Containers, container)
    	return f.Err
    }
    
    func (f *FakeRuntime) KillContainerInPod(container v1.Container, pod *v1.Pod) error {
    	f.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. pkg/apis/core/pods/helpers.go

    )
    
    // ContainerVisitorWithPath is called with each container and the field.Path to that container,
    // and returns true if visiting should continue.
    type ContainerVisitorWithPath func(container *api.Container, path *field.Path) bool
    
    // VisitContainersWithPath invokes the visitor function with a pointer to the spec
    // of every container in the given pod spec and the field.Path to that container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top