Advertisement
Guest User

prefect helm port opening

a guest
Sep 28th, 2022
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.67 KB | Software | 0 0
  1. NAME: prefect-agent
  2. LAST DEPLOYED: Wed Sep 28 14:22:37 2022
  3. NAMESPACE: default
  4. STATUS: deployed
  5. REVISION: 1
  6. TEST SUITE: None
  7. NOTES:
  8. 1. Check Prefect agent connections in the prefect UI at "http://127.0.0.1:4200/api"
  9. NAME: prefect-orion
  10. LAST DEPLOYED: Wed Sep 28 14:22:38 2022
  11. NAMESPACE: default
  12. STATUS: deployed
  13. REVISION: 1
  14. TEST SUITE: None
  15. NOTES:
  16. 1. Get the application URL by running these commands:
  17.   export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=prefect-orion,app.kubernetes.io/instance=prefect-orion" -o jsonpath="{.items[0].metadata.name}")
  18.   export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
  19.   echo "Visit http://127.0.0.1:8080 to use your application"
  20.   kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
  21. ❯   export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=prefect-orion,app.kubernetes.io/instance=prefect-orion" -o jsonpath="{.items[0].metadata.name}")
  22.   export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
  23.   echo "Visit http://127.0.0.1:8080 to use your application"
  24.   kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
  25. Visit http://127.0.0.1:8080 to use your application
  26. Unable to listen on port 8080: Listeners failed to create with the following errors: [unable to create listener: Error listen tcp4 127.0.0.1:8080: bind: address already in use unable to create listener: Error listen tcp6 [::1]:8080: bind: address already in use]
  27. error: unable to listen on any of the requested ports: [{8080 4200}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement