canonical / kubeflow-rocks

Rocks for Kubeflow components
Apache License 2.0
0 stars 11 forks source link

chore: bump centraldashboard image to 1.9.0-rc.0 #97

Closed orfeas-k closed 5 months ago

orfeas-k commented 5 months ago

Diff between 1.8-branch and 1.9.0-rc.0 tag -> https://www.diffchecker.com/JaCMol7i/.

Note that this PR renames also the name version since in order to:

  1. follow the upstream name as we do in most of our rocks
  2. follow the convention where rock directory and rock name are the same

Testing

  1. usr/src/app directory is tested by sanity tests
  2. Check that image runs and logs the same with upstream image
    
    # upstream image
    ╰─$ docker run --rm kubeflownotebookswg/centraldashboard:v1.9.0-rc.0                                        

kubeflow-centraldashboard@0.0.2 start npm run serve

kubeflow-centraldashboard@0.0.2 serve node dist/server.js

Initializing Kubernetes configuration Unable to fetch Nodes Error: connect ECONNREFUSED 127.0.0.1:8080 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080 } Unable to fetch Application information: Error: connect ECONNREFUSED 127.0.0.1:8080 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080 } Unable to fetch Nodes Error: connect ECONNREFUSED 127.0.0.1:8080 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080 } "other" is not a supported platform for Metrics Using Profiles service at http://profiles-kfam.kubeflow:8081/kfam Server listening on port http://localhost:8082 (in production mode)

rock

╰─$ docker run --rm kubeflow-central-dashboard:1.9.0 2024-06-10T07:15:24.561Z [pebble] Started daemon. 2024-06-10T07:15:24.568Z [pebble] POST /v1/services 4.42732ms 202 2024-06-10T07:15:24.572Z [pebble] Service "serve" starting: /usr/bin/npm start 2024-06-10T07:15:25.107Z [serve] 2024-06-10T07:15:25.107Z [serve] > kubeflow-centraldashboard@0.0.2 start 2024-06-10T07:15:25.107Z [serve] > npm run serve 2024-06-10T07:15:25.107Z [serve] 2024-06-10T07:15:25.576Z [pebble] GET /v1/changes/1/wait 1.006711635s 200 2024-06-10T07:15:25.576Z [pebble] Started default services with change 1. 2024-06-10T07:15:25.611Z [serve] 2024-06-10T07:15:25.611Z [serve] > kubeflow-centraldashboard@0.0.2 serve 2024-06-10T07:15:25.611Z [serve] > node dist/server.js 2024-06-10T07:15:25.611Z [serve] 2024-06-10T07:15:26.829Z [serve] Initializing Kubernetes configuration 2024-06-10T07:15:26.857Z [serve] Unable to fetch Nodes Error: connect ECONNREFUSED 127.0.0.1:8080 2024-06-10T07:15:26.857Z [serve] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1138:16) { 2024-06-10T07:15:26.857Z [serve] errno: 'ECONNREFUSED', 2024-06-10T07:15:26.857Z [serve] code: 'ECONNREFUSED', 2024-06-10T07:15:26.857Z [serve] syscall: 'connect', 2024-06-10T07:15:26.857Z [serve] address: '127.0.0.1', 2024-06-10T07:15:26.857Z [serve] port: 8080 2024-06-10T07:15:26.857Z [serve] } 2024-06-10T07:15:26.858Z [serve] Unable to fetch Application information: Error: connect ECONNREFUSED 127.0.0.1:8080 2024-06-10T07:15:26.858Z [serve] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1138:16) { 2024-06-10T07:15:26.858Z [serve] errno: 'ECONNREFUSED', 2024-06-10T07:15:26.858Z [serve] code: 'ECONNREFUSED', 2024-06-10T07:15:26.858Z [serve] syscall: 'connect', 2024-06-10T07:15:26.858Z [serve] address: '127.0.0.1', 2024-06-10T07:15:26.858Z [serve] port: 8080 2024-06-10T07:15:26.858Z [serve] } 2024-06-10T07:15:26.858Z [serve] Unable to fetch Nodes Error: connect ECONNREFUSED 127.0.0.1:8080 2024-06-10T07:15:26.858Z [serve] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1138:16) { 2024-06-10T07:15:26.858Z [serve] errno: 'ECONNREFUSED', 2024-06-10T07:15:26.858Z [serve] code: 'ECONNREFUSED', 2024-06-10T07:15:26.858Z [serve] syscall: 'connect', 2024-06-10T07:15:26.858Z [serve] address: '127.0.0.1', 2024-06-10T07:15:26.858Z [serve] port: 8080 2024-06-10T07:15:26.858Z [serve] } 2024-06-10T07:15:26.859Z [serve] "other" is not a supported platform for Metrics 2024-06-10T07:15:26.859Z [serve] Using Profiles service at http://profiles-kfam.kubeflow:8081/kfam 2024-06-10T07:15:26.866Z [serve] Server listening on port http://localhost:8082 (in production mode)



Closes #91