def _get_env_vars(): return (EnvVar(name="STATSD_HOST", value="localhost"), EnvVar(name="STATSD_PORT", value="8125"))
def deployment(self): main_container = Container(env=[EnvVar(name="DUMMY", value="CANARY")]) pod_spec = PodSpec(containers=[main_container]) pod_template_spec = PodTemplateSpec(spec=pod_spec) deployment_spec = DeploymentSpec(template=pod_template_spec) return Deployment(spec=deployment_spec)