[ 
https://issues.apache.org/jira/browse/FLINK-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857851#comment-16857851
 ] 

Konstantin Knauf commented on FLINK-12752:
------------------------------------------

I had a quick chat with [~plucas] offline and it seems there is not really 
anything in Kubernetes, which we could use. So, the plan would be for the time 
being to specify the {{jobId-seed}} in the pod spec of the K8s Deployment/Job 
explicitly. 

> Add Option to Pass Seed for JobID Hash for StandaloneJobClusterEntrypoint
> -------------------------------------------------------------------------
>
>                 Key: FLINK-12752
>                 URL: https://issues.apache.org/jira/browse/FLINK-12752
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Konstantin Knauf
>            Assignee: Konstantin Knauf
>            Priority: Major
>
> In case of a standalone job cluster setup, we would like to generate random a 
> {{JobID}} for every job, but the {{JobID}} nevertheless needs to stay 
> constant between JobManager process restarts. 
> For this, I would like to add an additional command line options for the 
> {{StandaloneJobClusterEntrypoint}} called {{jobId-seed}}. A manually 
> specified jobId would still take precedence (not breaking current behavior): 
> * --jobId
> * --jobId-seed
> * (default)
> On Kubernetes, this new command line argument would need to be set to a 
> property which is stable over Pod Restarts but changes for different K8s Jobs 
> or K8s Deployments.
> *Open Questions*
> * what available information to use a seed for deployments on Kubernetes?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to