Comments (8)
For production deployment this flag should be enabled, we used the CDNs for Polyaxon CE deployments because lot of users try Polyaxon on very small instances first and loading all vendor libraries put a lot of pressure on the server and then they create tickets asking why it does not work.
We are in the process of finalizing Polyaxon v2 and we might just flip the flag to make CDNs opt-in instead of opt-out.
All ui flags are documented here: https://polyaxon.com/docs/setup/platform/common-reference/#ui
from polyaxon.
You can redeploy/upgrade your installation to use local packages instead of cdns with:
...
ui:
offline: true
...
from polyaxon.
What about resources like https://cdn.plot.ly/usa_110m.json?
Is it possible to replace that path as well using plotly api?
EDIT:
Yes, it is but it's rather a workaround for CDN down, not production ready solution.
Using plotly.js in config there is a field topojsonURL
which can be overwritten by:
topojsonURL:
"https://raw.githubusercontent.com/plotly/plotly.js/master/dist/topojson/",
from polyaxon.
You can redeploy/upgrade your installation to use local packages instead of cdns with:
... ui: offline: true ...
@bastianerh Does this means Polyaxon web will not be deployed/available?
from polyaxon.
@ajuric The UI will be available, the only difference is that it will serve all js packages and vendors from Polyaxon server instead of the CDNs.
from polyaxon.
@bastianerh Cool, thank you a lot! :)
Is there any reason then why not always setting the "offline: true", to avoid problems like these? Asking because I handle our PLX deployment and would like to minimize my involvement there, but also wouldn't like to miss all the "good features" or don't "good practices" for deployment?
from polyaxon.
I see, thanks! 👍
from polyaxon.
Since the CDNs are back up, I'll close the issue. Hopefully if the CDNs are down again, this issue can be used as a reference.
from polyaxon.
Related Issues (20)
- How can i install the polyaxon from the source code ? HOT 4
- misspelled
- How to build the polyaxon/polyaxon-operator image?
- Improve resources monitoring
- Switch to using built-in zoneinfo in favour of pytz
- Move to orjson
- Incorrect operation state when operation cannot be found HOT 1
- Polyaxon CLI should raise an error for invalid input/ouputs names with dots `.`
- Stopping an operation with a pending pod removes the operation but does not delete the pod
- Add config to support proxy env var with GCS
- Errors related to uploading artifacts while tracking runs are silent
- Polyaxon Python API - RunClient `watch_logs()` alternate or parameter to stop its execution and return string HOT 1
- Allow to manually add upstream/downstream runs to have manual lineage metadata in the UI
- Loggin chart and other media logs exception but fails silently without context
- Improve logs configuration to show what module is generating errors or warnings
- Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
- Validate and automatically clean/truncate container names
- Circular import in 2.0 HOT 1
- CrashLoopBackoff when deploying Polyaxon CE with async workers broker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polyaxon.