@Eron That is definitely the way we want to suggest as the way to use k8s
in the future. This feature did not make it for 1.5, but should come very
soon after.

@Thomas An implementation of a ResourceManager for k8s should come in the
near future. Would be happy to jump on a joint FLIP, after the 1.5 release
and Flink Forward (in three weeks or so).

On Tue, Mar 20, 2018 at 4:25 PM, Eron Wright <eronwri...@gmail.com> wrote:

>  Till, is it possible to package a Flink application as a self-contained
> deployment on Kubernetes?  I mean, run a Flink application using 'flink
> run' such that it launches its own RM/JM and waits for a sufficient # of
> TMs to join?
>
> Thanks!
>
> On Mon, Mar 19, 2018 at 2:57 AM, Till Rohrmann <trohrm...@apache.org>
> wrote:
>
> > I forgot to add Flink's K8 documentation [1] which might also be helpful
> > with getting started.
> >
> > [1]
> > https://ci.apache.org/projects/flink/flink-docs-master/ops/deployment/
> > kubernetes.html
> >
> > Cheers,
> > Till
> >
> > On Mon, Mar 19, 2018 at 10:54 AM, Till Rohrmann <trohrm...@apache.org>
> > wrote:
> >
> > > Hi Thomas,
> > >
> > > I think the one way to get started would be to adapt the Flink docker
> > > images [1,2] to run with Flink 1.5. Per default, they will use the
> Flip-6
> > > components.
> > >
> > > Flink 1.5 won't come with a dedicated integration with Kubernetes which
> > is
> > > able to start new pods. However, it should work that you manually or by
> > the
> > > virtues of an external system start new pods which can be used. Once
> the
> > > new pods have been started and the TaskExecutors have registered one
> > would
> > > have to rescale the job manually to the new parallelism.
> > >
> > > [1] https://flink.apache.org/news/2017/05/16/official-docker-
> image.html
> > > [2] https://hub.docker.com/r/_/flink/
> > >
> > > Cheers,
> > > Till
> > >
> > > On Sun, Mar 18, 2018 at 9:05 PM, Thomas Weise <t...@apache.org> wrote:
> > >
> > >> Hi,
> > >>
> > >> What would be a good starting point to try out Flink on Kubernetes
> (any
> > >> examples / tutorials)?
> > >>
> > >> Also, will the FLIP-6 work in 1.5 enable dynamic scaling on
> Kubernetes?
> > >>
> > >> Thanks,
> > >> Thomas
> > >>
> > >
> > >
> >
>

Reply via email to