Commit dd064609 authored by Brendan Melville's avatar Brendan Melville

Removing comments that are now in schema.

parent 3c864d7a
...@@ -15,25 +15,7 @@ def GenerateConfig(context): ...@@ -15,25 +15,7 @@ def GenerateConfig(context):
"""Generates a Replication Controller and a matching Service. """Generates a Replication Controller and a matching Service.
Args: Args:
context: Template context, which can contain the following properties: context: Template context. See schema for context properties.
container_name - Name to use for container. If omitted, name is
used.
namespace - Namespace to create the resources in. If omitted,
'default' is used.
service_name - Name to use for service. If omitted name-service is
used.
protocol - Protocol to use for the service
service_port - Port to use for the service
target_port - Target port for the service
container_port - Container port to use
replicas - Number of replicas to create in RC
image - Docker image to use for replicas. Required.
labels - labels to apply.
env - Environmental variables to apply (list of maps). Format
should be:
[{'name': ENV_VAR_NAME, 'value':'ENV_VALUE'},
{'name': ENV_VAR_NAME_2, 'value':'ENV_VALUE_2'}]
external_service - If set to true, enable external Load Balancer
Returns: Returns:
A Container Manifest as a YAML string. A Container Manifest as a YAML string.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment