Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TailLines (0.19 sec)

  1. pkg/kubelet/server/server_test.go

    		query        string
    		podLogOption *v1.PodLogOptions
    	}{
    		"without tail":     {"", &v1.PodLogOptions{}},
    		"with tail":        {"?tailLines=5", &v1.PodLogOptions{TailLines: pointer.Int64(5)}},
    		"with legacy tail": {"?tail=5", &v1.PodLogOptions{TailLines: pointer.Int64(5)}},
    		"with tail all":    {"?tail=all", &v1.PodLogOptions{}},
    		"with follow":      {"?follow=1", &v1.PodLogOptions{Follow: true}},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	value := int64(kubecontainer.MaxContainerTerminationMessageLogLines)
    	buf, _ := circbuf.NewBuffer(kubecontainer.MaxContainerTerminationMessageLogLength)
    	if err := m.ReadLogs(context.Background(), path, "", &v1.PodLogOptions{TailLines: &value}, buf, buf); err != nil {
    		return fmt.Sprintf("Error on reading termination message from logs: %v", err)
    	}
    	return buf.String()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top