Fail to deploy flink on k8s in minikube

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fail to deploy flink on k8s in minikube

liujiangang
      I fail to deploy flink on k8s referring to https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html
      When I run the command 'kubectl create -f jobmanager-deployment.yaml', following error is reported:
image.png
      I am new to k8s. Our team want to deploy flink on k8s. Can anyone help me resolve this issue? Can anyone give me some tutorial about k8s and flink in product? Thank you very much.
Reply | Threaded
Open this post in threaded view
|

Re: Fail to deploy flink on k8s in minikube

Yang Wang
Hi, Jiangang

Glad to hear that you are looking to run Flink on Kubernetes.

It just because you are using the new Kubernetes version.The extensions/v1beta1
has been removed since v1.16. Please use apps/v1 instead. The apps/v1 is introduced
from v1.9.0. I will create a ticket fix the documentation.

Before release-1.10, you could use standalone per-job[1] or standalone session[2] cluster on
K8s. There are some existing K8s operators to manage the application lifecycle(e.g. google flink-on-k8s-operator[3],
lyft flink-k8s-operator[4]).

Running Flink native on K8s is supported from 1.10. You could find it here [5]. It aims at to make
Flink users more convenient to deploy Flink workloads on K8s cluster. However, we only support
session cluster now. The per-job mode is in development.


Best,
Yang

刘建刚 <[hidden email]> 于2020年1月13日周一 下午12:14写道:
      I fail to deploy flink on k8s referring to https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html
      When I run the command 'kubectl create -f jobmanager-deployment.yaml', following error is reported:
image.png
      I am new to k8s. Our team want to deploy flink on k8s. Can anyone help me resolve this issue? Can anyone give me some tutorial about k8s and flink in product? Thank you very much.
Reply | Threaded
Open this post in threaded view
|

Re: Fail to deploy flink on k8s in minikube

liujiangang
Thank you for your help. 

Yang Wang <[hidden email]> 于2020年1月13日周一 下午12:53写道:
Hi, Jiangang

Glad to hear that you are looking to run Flink on Kubernetes.

It just because you are using the new Kubernetes version.The extensions/v1beta1
has been removed since v1.16. Please use apps/v1 instead. The apps/v1 is introduced
from v1.9.0. I will create a ticket fix the documentation.

Before release-1.10, you could use standalone per-job[1] or standalone session[2] cluster on
K8s. There are some existing K8s operators to manage the application lifecycle(e.g. google flink-on-k8s-operator[3],
lyft flink-k8s-operator[4]).

Running Flink native on K8s is supported from 1.10. You could find it here [5]. It aims at to make
Flink users more convenient to deploy Flink workloads on K8s cluster. However, we only support
session cluster now. The per-job mode is in development.


Best,
Yang

刘建刚 <[hidden email]> 于2020年1月13日周一 下午12:14写道:
      I fail to deploy flink on k8s referring to https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html
      When I run the command 'kubectl create -f jobmanager-deployment.yaml', following error is reported:
image.png
      I am new to k8s. Our team want to deploy flink on k8s. Can anyone help me resolve this issue? Can anyone give me some tutorial about k8s and flink in product? Thank you very much.