Skip to content

Commit

Permalink
Use port 8080 for Katib UI (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavlin authored and k8s-ci-robot committed Dec 12, 2019
1 parent 67a4d84 commit 4057a58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/ui/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ WORKDIR /app
COPY --from=go-build /go/src/github.com/kubeflow/katib/cmd/ui/katib-ui /app/
COPY --from=npm-build /frontend/build /app/build

USER 1000

ENTRYPOINT ["./katib-ui"]
4 changes: 3 additions & 1 deletion manifests/v1alpha3/ui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ spec:
imagePullPolicy: IfNotPresent
command:
- './katib-ui'
args:
- '--port=8080'
env:
- name: KATIB_CORE_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- name: ui
containerPort: 80
containerPort: 8080
serviceAccountName: katib-ui
1 change: 1 addition & 0 deletions manifests/v1alpha3/ui/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
- port: 80
protocol: TCP
name: ui
targetPort: 8080
selector:
app: katib
component: ui

0 comments on commit 4057a58

Please sign in to comment.