Skip to content

Commit

Permalink
feat: log podspec [DET-9861] (#8899)
Browse files Browse the repository at this point in the history
  • Loading branch information
eecsliu authored Feb 28, 2024
1 parent 6857ecf commit 59385a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/internal/rm/kubernetesrm/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"reflect"
"strconv"
"strings"
"time"

"github.com/determined-ai/determined/master/internal/config"

Expand Down Expand Up @@ -480,6 +481,7 @@ func (p *pod) createPodSpec(scheduler string) error {

p.pod = p.configurePodSpec(
volumes, initContainer, container, sidecars, (*k8sV1.Pod)(env.PodSpec()), scheduler)
p.insertLog(time.Now().UTC(), fmt.Sprintf("Pod Spec Configured:\n%v\n", p.pod.Spec))
return nil
}

Expand Down

0 comments on commit 59385a0

Please sign in to comment.