Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,529 for ContainerT (0.16 sec)

  1. hack/testdata/multi-resource-rclist.json

                   "metadata":{
                      "labels":{
                         "app":"mock"
                      }
                   },
                   "spec":{
                      "containers":[{
                        "name": "mock-container",
                        "image": "registry.k8s.io/pause:3.10",
                        "ports":[{
                            "containerPort":9949,
                            "protocol":"TCP"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. docs/docker/README.md

    ```sh
    docker ps -a
    ```
    
    `-a` flag makes sure you get all the containers (Created, Running, Exited). Then identify the `Container ID` from the output.
    
    ### Starting and Stopping Containers
    
    To start a stopped container, you can use the [`docker start`](https://docs.docker.com/engine/reference/commandline/start/) command.
    
    ```sh
    docker start <container_id>
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/deployment/pod.go

    		if *p.SecurityContext.RunAsUser == UserID {
    			context.Report(gvk.Pod, message)
    		}
    	}
    	for _, container := range p.Containers {
    		if container.Name != util.IstioProxyName && container.Name != util.IstioOperator {
    			if container.SecurityContext != nil && container.SecurityContext.RunAsUser != nil {
    				if *container.SecurityContext.RunAsUser == UserID {
    					context.Report(gvk.Pod, message)
    				}
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. pkg/security/apparmor/validate_test.go

    			},
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{
    				{Name: "init"},
    			},
    			Containers: []v1.Container{
    				{Name: "test1"},
    				{Name: "test2"},
    				{Name: "no-profile"},
    			},
    		},
    	}
    	assert.NoError(t, v.Validate(pod), "Multi-container pod should validate")
    }
    
    func getPodWithProfile(profile string) *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/collectors/resource_metrics.go

    	for _, pod := range statsSummary.Pods {
    		for _, container := range pod.Containers {
    			rc.collectContainerStartTime(ch, pod, container)
    			rc.collectContainerCPUMetrics(ch, pod, container)
    			rc.collectContainerMemoryMetrics(ch, pod, container)
    			rc.collectContainerSwapMetrics(ch, pod, container)
    		}
    		rc.collectPodCPUMetrics(ch, pod)
    		rc.collectPodMemoryMetrics(ch, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:13:37 UTC 2023
    - 9.2K bytes
    - Viewed (1)
  8. hack/testdata/multi-resource-rclist-modify.json

                   "metadata":{
                      "labels":{
                         "app":"mock"
                      }
                   },
                   "spec":{
                      "containers":[{
                        "name": "mock-container",
                        "image": "registry.k8s.io/pause:3.10",
                        "ports":[{
                            "containerPort":9949,
                            "protocol":"TCP"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. cmd/kubelet/app/options/globalflags_linux.go

    import (
    	"flag"
    	"os"
    
    	"github.com/spf13/pflag"
    
    	// ensure libs have a chance to globally register their flags
    	_ "github.com/google/cadvisor/container/common"
    	_ "github.com/google/cadvisor/container/containerd"
    	_ "github.com/google/cadvisor/container/raw"
    	_ "github.com/google/cadvisor/machine"
    	_ "github.com/google/cadvisor/manager"
    	_ "github.com/google/cadvisor/storage"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 20:15:13 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. pkg/kubelet/server/stats/summary_sys_containers.go

    		// skip if cgroup name is undefined (not all system containers are required)
    		if cont.name == "" {
    			continue
    		}
    		s, _, err := sp.provider.GetCgroupStats(cont.name, cont.forceStatsUpdate)
    		if err != nil {
    			klog.ErrorS(err, "Failed to get system container stats", "containerName", cont.name)
    			continue
    		}
    		// System containers don't have a filesystem associated with them.
    		s.Logs, s.Rootfs = nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top