Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for restartCount (0.21 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	for _, tc := range []struct {
    		filenames    []string
    		restartCount int
    	}{
    		{
    			filenames:    []string{"0.log.rotated-log"},
    			restartCount: 1,
    		},
    		{
    			filenames:    []string{"0.log"},
    			restartCount: 1,
    		},
    		{
    			filenames:    []string{"0.log", "1.log", "2.log"},
    			restartCount: 3,
    		},
    		{
    			filenames:    []string{"0.log.rotated", "1.log", "2.log"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/labels.go

    	podTerminationGracePeriodLabel = "io.kubernetes.pod.terminationGracePeriod"
    
    	containerHashLabel                     = "io.kubernetes.container.hash"
    	containerRestartCountLabel             = "io.kubernetes.container.restartCount"
    	containerTerminationMessagePathLabel   = "io.kubernetes.container.terminationMessagePath"
    	containerTerminationMessagePolicyLabel = "io.kubernetes.container.terminationMessagePolicy"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

        image: image-name:tag-name
        imageID: imageid@sha256:8e2a7eaa7e6b1ede58d6361d0058a391260a46f0290b7f0368b709494e9e36bf
        lastState: {}
        name: dnsmasq
        ready: true
        restartCount: 0
        started: true
        state:
          running:
            startedAt: "2021-08-20T14:36:03Z"
      - containerID: containerd://bf3db3f330364ba2af3763a3c0b0bcd137f0556a73fffd0e0dbda61035b696a9
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

        image: image-name:tag-name
        imageID: imageid@sha256:8e2a7eaa7e6b1ede58d6361d0058a391260a46f0290b7f0368b709494e9e36bf
        lastState: {}
        name: dnsmasq
        ready: true
        restartCount: 0
        started: true
        state:
          running:
            startedAt: "2021-08-20T14:36:03Z"
      - containerID: containerd://bf3db3f330364ba2af3763a3c0b0bcd137f0556a73fffd0e0dbda61035b696a9
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  5. pkg/controller/controller_utils_test.go

    					Status: v1.PodStatus{
    						Phase:             v1.PodRunning,
    						Conditions:        []v1.PodCondition{{Type: v1.PodReady, Status: v1.ConditionTrue}},
    						ContainerStatuses: []v1.ContainerStatus{{RestartCount: 3}, {RestartCount: 0}},
    					},
    				},
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "runningWithLastTransitionTime"},
    					Spec:       v1.PodSpec{NodeName: "foo"},
    					Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/helpers.go

    const logPathDelimiter = "_"
    
    // buildContainerLogsPath builds log path for container relative to pod logs directory.
    func buildContainerLogsPath(containerName string, restartCount int) string {
    	return filepath.Join(containerName, fmt.Sprintf("%d.log", restartCount))
    }
    
    // BuildContainerLogsDirectory builds absolute log directory path for a container in pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.yaml

        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
          limits:
            limitsKey: "0"
          requests:
            requestsKey: "0"
        restartCount: 5
        started: true
        state:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml

        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
          limits:
            limitsKey: "0"
          requests:
            requestsKey: "0"
        restartCount: 5
        started: true
        state:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.yaml

        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
          limits:
            limitsKey: "0"
          requests:
            requestsKey: "0"
        restartCount: 5
        started: true
        state:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 32.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	ctx := context.Background()
    	container := &pod.Spec.Containers[containerIndex]
    	podIP := ""
    	restartCount := 0
    	opts, _, _ := m.runtimeHelper.GenerateRunContainerOptions(ctx, pod, container, podIP, []string{podIP})
    	containerLogsPath := buildContainerLogsPath(container.Name, restartCount)
    	restartCountUint32 := uint32(restartCount)
    	envs := make([]*runtimeapi.KeyValue, len(opts.Envs))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top