11Google Managed VMs Python Runtime
2+ =================================
23
34Warning
4- =======
5-
5+ -------
66The instructions here are for a multi-process version of the Python 2.7 runtime
77** currently in alpha** . Please do not use this version for production workloads.
88To use the stable version of the runtime, follow the documentation at
99https://cloud.google.com/appengine/docs/managed-vms/ instead.
1010
1111Contents
12- ========
13-
12+ --------
1413 * Using the multi-process runtime
1514 * Configuration
1615 * Building your own version
16+ * Caveats
1717
1818Using the multi-process runtime
19- ===============================
19+ -------------------------------
2020* These instructions assume you have a working Python application that has
2121already been deployed successfully to Managed VMs using the default runtime
2222version.*
@@ -45,7 +45,7 @@ section.
4545prebuilt Docker image with no manual Dockerfile modification required.*
4646
4747Configuration
48- =============
48+ -------------
4949By default the multi-process version of the runtime is launched via the Gunicorn
5050webserver and is configured to use a fixed number of processes and gevent-based
5151concurrency.
@@ -62,7 +62,7 @@ the number of processes in the Dockerfile to between 1 and 2 times the number of
6262CPU cores available.
6363
6464Building your own version
65- =========================
65+ -------------------------
6666If you would like to make modifications to the runtime (either for personal use
6767or to debug or resolve an outstanding issue), you can build and deploy a custom
6868version with the following steps:
@@ -77,3 +77,20 @@ directory as the Dockerfile.
7777- Replace the URL in that line with the filename of your generated tar.gz file.
7878- Deploy your application. A warning during deployment where your tar.gz file is
7979rejected for addition because it is too large can be ignored.
80+
81+ Caveats
82+ -------
83+ As this is an alpha product, some functionality has not yet been implemented.
84+
85+ - Logging is via stderr only. The default logging view in Google Developers
86+ Console is "Request". Click on the dropdown showing "Request" and select
87+ "stderr" to view the logs. stderr-only logging is temporary and will change
88+ in a future version.
89+ - Log entries are not automatically associated with a specific request.
90+ - Handlers that are flagged as ` login: required ` or ` login: admin ` are not
91+ supported. Attemping to access these handlers will result in a 404 as the
92+ handlers will not be registered.
93+
94+ There may be other features that work on the current Python runtime and are not
95+ implemented or not functional in this version. Please open an issue on Github
96+ for any you encounter.
0 commit comments