Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kueue-viz] Change backend port to 8181 #3926

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/experimental/kueue-viz/backend/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ make run

```
podman build . -t backend
podman run -v $HOME/.kube:/nonexistent/.kube/ -p 8080:8080 backend
podman run -v $HOME/.kube:/nonexistent/.kube/ -p 8181:8181 backend
```

4 changes: 2 additions & 2 deletions cmd/experimental/kueue-viz/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ USER 65532:65532
COPY --from=builder /kueue-viz /

# Set environment variables
ENV PORT=8080
ENV PORT=8181
# Expose the application port
EXPOSE 8080
EXPOSE 8181

# Command to run the application
ENTRYPOINT ["/kueue-viz"]
Expand Down
2 changes: 1 addition & 1 deletion cmd/experimental/kueue-viz/backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Run the application:
./kueue_ws_app
```

The application starts on port `8080`.
The application starts on port `8181`.

## Endpoints

Expand Down
2 changes: 1 addition & 1 deletion cmd/experimental/kueue-viz/backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func main() {

handlers.InitializeWebSocketRoutes(r, dynamicClient, k8sClient)

if err := r.Run(":8080"); err != nil {
if err := r.Run(":8181"); err != nil {
log.Fatalf("Failed to start server: %v", err)
}

Expand Down