Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,257 for Containers (0.44 sec)

  1. manifests/charts/istiod-remote/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)
  2. pkg/kubelet/runonce.go

    	}
    	return nil
    }
    
    // isPodRunning returns true if all containers of a manifest are running.
    func (kl *Kubelet) isPodRunning(pod *v1.Pod, status *kubecontainer.PodStatus) bool {
    	for _, c := range pod.Spec.Containers {
    		cs := status.FindContainerStatusByName(c.Name)
    		if cs == nil || cs.State != kubecontainer.ContainerStateRunning {
    			klog.InfoS("Container not running", "pod", klog.KObj(pod), "containerName", c.Name)
    			return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		name       string
    		containers []v1.Container
    		port       intstr.IntOrString
    		expected   int
    		pass       bool
    	}{{
    		name:       "valid int, no ports",
    		containers: []v1.Container{{}},
    		port:       intstr.FromInt32(93),
    		expected:   93,
    		pass:       true,
    	}, {
    		name: "valid int, with ports",
    		containers: []v1.Container{{Ports: []v1.ContainerPort{{
    			Name:          "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  4. cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml

    kind: ConfigMap
    apiVersion: v1
    data:
      containers.input.conf: |-
        # This configuration file for Fluentd is used
        # to watch changes to Docker log files that live in the
        # directory /var/lib/docker/containers/ and are symbolically
        # linked to from the /var/log/containers directory using names that capture the
        # pod name and container name. These logs are then submitted to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 18.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    	pod.UID = types.UID(podUID)
    	pod.Spec.Containers[0].Name = containerName
    
    	return pod
    }
    
    func makeMultiContainerPod(initCPUs, appCPUs []struct{ request, limit string }) *v1.Pod {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod",
    			UID:  "podUID",
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{},
    			Containers:     []v1.Container{},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		}
    		termOrdering = newTerminationOrdering(pod, runningContainerNames)
    	}
    	for _, container := range runningPod.Containers {
    		go func(container *kubecontainer.Container) {
    			defer utilruntime.HandleCrash()
    			defer wg.Done()
    
    			killContainerResult := kubecontainer.NewSyncResult(kubecontainer.KillContainer, container.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    							RxBytes: toP(2),
    							TxBytes: toP(20),
    						},
    					},
    				},
    			},
    			wantErr: false,
    		},
    		{
    			name: "multiple containers same endpoint",
    			fields: fakeNetworkStatsProvider{
    				containers: []containerStats{
    					{
    						container: hcsshim.ContainerProperties{
    							ID: "c1",
    						}, hcsStats: []hcsshim.NetworkStats{
    							{
    								BytesReceived: 1,
    								BytesSent:     10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/cluster/cluster.go

    		if cs.Name == container {
    			return int(cs.RestartCount)
    		}
    	}
    	return 0
    }
    
    // IsDiscoveryContainer reports whether the given container is the Istio discovery container.
    func (r *Resources) IsDiscoveryContainer(clusterVersion, namespace, pod, container string) bool {
    	return common.IsDiscoveryContainer(clusterVersion, container, r.Labels[PodKey(namespace, pod)])
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/policy_static_test.go

    				hugepages1Gi:      4 * gb,
    			},
    		},
    		{
    			description: "maximum resources of init containers > total resources of long running containers, including restartable init containers",
    			pod: getPodWithInitContainers(
    				"",
    				[]v1.Container{
    					{
    						Name: "container1",
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
Back to top