Skip to content

Commit

Permalink
Fix capitalization in katib ID fields (kubeflow#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
texasmichelle authored and rogaha committed Nov 20, 2018
1 parent a8c12b4 commit a3af71d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kubeflow/katib/studyjobcontroller.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{.WorkerId}}
name: {{.WorkerID}}
namespace: {{.NameSpace}}
spec:
schedule: "*/1 * * * *"
Expand All @@ -112,16 +112,16 @@
spec:
serviceAccountName: metrics-collector
containers:
- name: {{.WorkerId}}
- name: {{.WorkerID}}
image: katib/metrics-collector
args:
- "./metricscollector"
- "-s"
- "{{.StudyId}}"
- "{{.StudyID}}"
- "-t"
- "{{.TrialId}}"
- "{{.TrialID}}"
- "-w"
- "{{.WorkerId}}"
- "{{.WorkerID}}"
- "-n"
- "{{.NameSpace}}"
restartPolicy: Never
Expand Down Expand Up @@ -293,12 +293,12 @@
namespace: %(ns)s
kind: Job
metadata:
name: {{.WorkerId}}
name: {{.WorkerID}}
spec:
template:
spec:
containers:
- name: {{.WorkerId}}
- name: {{.WorkerID}}
image: alpine
restartPolicy: Never
||| % { ns: namespace },
Expand Down

0 comments on commit a3af71d

Please sign in to comment.