Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExpandContainerCommandOnlyStatic (0.39 sec)

  1. pkg/kubelet/container/helpers.go

    	}
    
    	return result
    }
    
    // ExpandContainerCommandOnlyStatic substitutes only static environment variable values from the
    // container environment definitions. This does *not* include valueFrom substitutions.
    // TODO: callers should use ExpandContainerCommandAndArgs with a fully resolved list of environment.
    func ExpandContainerCommandOnlyStatic(containerCommand []string, envs []v1.EnvVar) (command []string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/prober.go

    	switch {
    	case p.Exec != nil:
    		klog.V(4).InfoS("Exec-Probe runProbe", "pod", klog.KObj(pod), "containerName", container.Name, "execCommand", p.Exec.Command)
    		command := kubecontainer.ExpandContainerCommandOnlyStatic(p.Exec.Command, container.Env)
    		return pb.exec.Probe(pb.newExecInContainer(ctx, container, containerID, command, timeout))
    
    	case p.HTTPGet != nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top