Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetLogPath (0.3 sec)

  1. pkg/kubelet/logs/container_log_manager.go

    	}
    	if resp.GetStatus() == nil {
    		return fmt.Errorf("container status is nil for %q", containerID)
    	}
    	pattern := fmt.Sprintf("%s*", resp.GetStatus().GetLogPath())
    	logs, err := c.osInterface.Glob(pattern)
    	if err != nil {
    		return fmt.Errorf("failed to list all log files with pattern %q: %v", pattern, err)
    	}
    
    	for _, l := range logs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		tMessage, checkLogs := getTerminationMessage(status, annotatedInfo.TerminationMessagePath, fallbackToLogs)
    		if checkLogs {
    			tMessage = m.readLastStringFromContainerLogs(status.GetLogPath())
    		}
    		// Enrich the termination message written by the application is not empty
    		if len(tMessage) != 0 {
    			if len(cStatus.Message) != 0 {
    				cStatus.Message += ": "
    			}
    			cStatus.Message += tMessage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			State:       template.state,
    			Labels:      containerConfig.Labels,
    			Annotations: containerConfig.Annotations,
    			LogPath:     filepath.Join(sandboxConfig.GetLogDirectory(), containerConfig.GetLogPath()),
    		},
    		SandboxID: podSandboxID,
    	}
    }
    
    // makeFakeContainers creates a group of fake containers based on the container templates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top