You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/yelpsoa_configs.rst
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,22 +60,25 @@ specify the following options:
60
60
* ``env``: A dictionary of environment variables that will be made available
61
61
to the container. PaaSTA additionally will inject the following variables automatically (keep in mind all environment variables are strings in a shell):
62
62
63
-
* ``PAASTA_SERVICE``: The service name
64
-
* ``PAASTA_INSTANCE``: The instance name
63
+
* ``MESH_REGISTRATIONS`` (optional): space-separated list of registrations for a given Pod if the PaaSTA instance is mesh-routable - absent otherwise.
65
64
* ``PAASTA_CLUSTER``: The cluster name
66
-
* ``PAASTA_HOST``: The hostname of the actual server the container is runnig on
67
-
* ``PAASTA_PORT``: The configured port the service should listen on
65
+
* ``PAASTA_DEPLOY_GROUP``: The `deploy group <deploy_group.html>`_ specified
68
66
* ``PAASTA_DOCKER_IMAGE``: The docker image name
69
67
* ``PAASTA_GIT_SHA``: The short git sha of the code the container has
70
-
* ``PAASTA_DEPLOY_GROUP``: The `deploy group <deploy_group.html>`_ specified
68
+
* ``PAASTA_HOST``: The hostname of the actual server the container is running on
69
+
* ``PAASTA_IMAGE_VERSION`` (optional) : The version of the docker image - only present for instances using automated redeploys or manually deployed using --image-version
70
+
* ``PAASTA_INSTANCE_TYPE``: The instance type of the service (e.g: tron, kubernetes, eks, etc)
71
+
* ``PAASTA_INSTANCE``: The instance name
72
+
* ``PAASTA_LAUNCHED_BY`` (optional): May not be present. If present, will have the username of the user who launched the PaaSTA container
71
73
* ``PAASTA_MONITORING_TEAM``: The team that is configured to get alerts.
72
-
* ``PAASTA_LAUNCHED_BY``: May not be present. If present, will have the username of the user who launched the PaaSTA container
74
+
* ``PAASTA_POD_IP``: The IP of the Pod running the PaaSTA container - may not always be a routable IP
75
+
* ``PAASTA_PORT``: The configured port the service should listen on
73
76
* ``PAASTA_RESOURCE_CPUS``: Number of cpus allocated to a container
74
-
* ``PAASTA_RESOURCE_MEM``: Amount of ram in MB allocated to a container
75
77
* ``PAASTA_RESOURCE_DISK``: Amount of disk space in MB allocated to a container
76
78
* ``PAASTA_RESOURCE_GPUS``: Number of GPUS (if requested) allocated to a container
77
-
* ``PAASTA_IMAGE_VERSION``: The version of the docker image
78
-
* ``PAASTA_INSTANCE_TYPE``: The instance type of the service (e.g: tron, kubernetes, eks, etc)
79
+
* ``PAASTA_RESOURCE_MEM``: Amount of ram in MB allocated to a container
80
+
* ``PAASTA_SERVICE``: The service name
81
+
* ``POD_NAME``: The Pod name as generated by Kubernetes.
79
82
80
83
81
84
* ``extra_volumes``: An array of dictionaries specifying extra bind-mounts
0 commit comments