def get_pod_container(self,<EOL>volume_mounts,<EOL>persistence_outputs=None,<EOL>persistence_data=None,<EOL>outputs_refs_jobs=None,<EOL>outputs_refs_experiments=None,<EOL>secret_refs=None,<EOL>configmap_refs=None,<EOL>env_vars=None,<EOL>command=None,<EOL>args=None,<EOL>resources=None,<EOL>ports=None,<EOL>ephemeral_token=None):
self._pod_container_checks()<EOL>env_vars = to_list(env_vars, check_none=True)<EOL>env_vars += self._get_container_pod_env_vars(<EOL>persistence_outputs=persistence_outputs,<EOL>persistence_data=persistence_data,<EOL>outputs_refs_jobs=outputs_refs_jobs,<EOL>outputs_refs_experiments=outputs_refs_experiments,<EOL>ephemeral_token=ephemeral_token<EOL>)<EOL>env_vars += get_resources_env_vars(resources=resources)<EOL>env_from = get_pod_env_from(secret_refs=secret_refs, configmap_refs=configmap_refs)<EOL>def get_ports():<EOL><INDENT>_ports = to_list(ports) if ports else []<EOL>return [client.V1ContainerPort(container_port=port) for port in _ports] or None<EOL><DEDENT>return client.V1Container(name=self.job_container_name,<EOL>image=self.job_docker_image,<EOL>command=command,<EOL>args=args,<EOL>ports=get_ports(),<EOL>env=env_vars,<EOL>env_from=env_from,<EOL>resources=get_resources(resources),<EOL>volume_mounts=volume_mounts)<EOL>
Pod job container for task.