You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Mark Lee <li...@126.com> on 2022/11/18 04:57:26 UTC

Deploy Flink Operator in an k8s enviroment without helm?

Hi all,

   I am trying to deploy flink operator followed Quick Start
<https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs
/try-flink-kubernetes-operator/quick-start/> . But it seems need helm client
installed in Kubernetes environment. Could we deploy flink operator without
helm client installed?

Now you can deploy the selected stable Flink Kubernetes Operator version
using the included Helm chart:

helm repo add flink-operator-repo
https://downloads.apache.org/flink/flink-kubernetes-operator-<OPERATOR-VERSI
ON>/

helm install flink-kubernetes-operator
flink-operator-repo/flink-kubernetes-operator

 

Thank you.


答复: Deploy Flink Operator in an k8s enviroment without helm?

Posted by Mark Lee <li...@126.com>.
Thanks Biao,

Sorry I’m a rookie in helm or operator. I know that I can prepare RBAC,
ServiceAccount or Deployment creation by CRs or yaml files. 

But the basic OS(Kubernetes) environment I can’t install any other software
the basic like helm 

But I can’t install any software(like helm) the basic OS does not supply in
my scenario.

 

发件人: Biao Geng <bi...@gmail.com> 
发送时间: 2022年11月18日 13:12
收件人: Mark Lee <li...@126.com>; user@flink.apache.org
主题: Re: Deploy Flink Operator in an k8s enviroment without helm?

 

Hi Mark,

I believe you can do that without helm. Just like that you can install some
software in CentOS without yum. 

But you may have to handle some basic setup by yourself. For the operator,
you at least have to prepare RBAC creation, serviceAccount creation,
Deployment creation or Webhook creation which if you want to use. Also, if
you want to uninstall the operator, you should clear those resources by
hand. It is not very hard but does require some hand work. 

 

Best,

Biao Geng

 

获取 Outlook for iOS <https://aka.ms/o0ukef> 

  _____  

发件人: Mark Lee <lifuqiong00@126.com <ma...@126.com> >
发送时间: Friday, November 18, 2022 12:57:26 PM
收件人: user@flink.apache.org <ma...@flink.apache.org>
<user@flink.apache.org <ma...@flink.apache.org> >
主题: Deploy Flink Operator in an k8s enviroment without helm? 

 

Hi all,

   I am trying to deploy flink operator followed Quick Start
<https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs
/try-flink-kubernetes-operator/quick-start/> . But it seems need helm client
installed in Kubernetes environment. Could we deploy flink operator without
helm client installed?

Now you can deploy the selected stable Flink Kubernetes Operator version
using the included Helm chart:

helm repo add flink-operator-repo
https://downloads.apache.org/flink/flink-kubernetes-operator-
<https://downloads.apache.org/flink/flink-kubernetes-operator-%3cOPERATOR-VE
RSION%3e/> <OPERATOR-VERSION>/

helm install flink-kubernetes-operator
flink-operator-repo/flink-kubernetes-operator

 

Thank you.


Re: Deploy Flink Operator in an k8s enviroment without helm?

Posted by Gyula Fóra <gy...@gmail.com>.
Yes, but as we said you need to install all required resources manually in
that case.

Gyula

On Fri, Nov 18, 2022 at 6:59 AM Mark Lee <li...@126.com> wrote:

> Thanks Gyula,
>
>      My basic OS does not have a helm client and don’t allow install it.
> Could I deploy flink operator in such situation?
>
>
>
> *发件人:* user-return-51648-lifuqiong00=126.com@flink.apache.org
> <us...@flink.apache.org> *代表 *Gyula Fóra
> *发送时间:* 2022年11月18日 13:26
> *收件人:* Biao Geng <bi...@gmail.com>
> *抄送:* Mark Lee <li...@126.com>; user@flink.apache.org
> *主题:* Re: Deploy Flink Operator in an k8s enviroment without helm?
>
>
>
> Adding to what Biao Geng said, yes it is completely possible and other
> installation methods are used by many users already.
>
> You can check the Helm templates in the repo to get an idea what resources
> you need to create.
> Actually if you run `helm template flink-kubernetes-operator
> helm/flink-kubernetes-operator` from the git repo your local helm client
> will render the templates and print the resources that it would generate.
> That is a great way to get started with manual installation.
>
> There are also OLM bundles available for the current operator releases,
> these are not yet officially supported by the Flink community but we are
> working towards that:
> https://operatorhub.io/operator/flink-kubernetes-operator
> maybe this is more relevant in your environment.
>
> To summarize, there are many ways to install the operator, Helm is just
> one of the more convenient ones, that's why we use it as the example in the
> repo.
> Production setups usually need to customize at least parts of the
> deployment logic in any case.
>
> Gyula
>
>
>
>
>
> On Fri, Nov 18, 2022 at 6:12 AM Biao Geng <bi...@gmail.com> wrote:
>
> Hi Mark,
>
> I believe you can do that without helm. Just like that you can install
> some software in CentOS without yum.
>
> But you may have to handle some basic setup by yourself. For the operator,
> you at least have to prepare RBAC creation, serviceAccount creation,
> Deployment creation or Webhook creation which if you want to use. Also, if
> you want to uninstall the operator, you should clear those resources by
> hand. It is not very hard but does require some hand work.
>
>
>
> Best,
>
> Biao Geng
>
>
>
> 获取 Outlook for iOS <https://aka.ms/o0ukef>
> ------------------------------
>
> *发件人**:* Mark Lee <li...@126.com>
> *发送时间**:* Friday, November 18, 2022 12:57:26 PM
> *收件人**:* user@flink.apache.org <us...@flink.apache.org>
> *主题**:* Deploy Flink Operator in an k8s enviroment without helm?
>
>
>
> Hi all,
>
>    I am trying to deploy flink operator followed Quick Start
> <https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/>.
> But it seems need helm client installed in Kubernetes environment. Could we
> deploy flink operator without helm client installed?
>
> Now you can deploy the selected stable Flink Kubernetes Operator version
> using the included Helm chart:
>
> helm repo add flink-operator-repo
> https://downloads.apache.org/flink/flink-kubernetes-operator-
> <OPERATOR-VERSION>/
>
> helm install flink-kubernetes-operator
> flink-operator-repo/flink-kubernetes-operator
>
>
>
> Thank you.
>
>

答复: Deploy Flink Operator in an k8s enviroment without helm?

Posted by Mark Lee <li...@126.com>.
Thanks Gyula,

     My basic OS does not have a helm client and don’t allow install it. Could I deploy flink operator in such situation?

 

发件人: user-return-51648-lifuqiong00=126.com@flink.apache.org <us...@flink.apache.org> 代表 Gyula Fóra
发送时间: 2022年11月18日 13:26
收件人: Biao Geng <bi...@gmail.com>
抄送: Mark Lee <li...@126.com>; user@flink.apache.org
主题: Re: Deploy Flink Operator in an k8s enviroment without helm?

 

Adding to what Biao Geng said, yes it is completely possible and other installation methods are used by many users already.

You can check the Helm templates in the repo to get an idea what resources you need to create.
Actually if you run `helm template flink-kubernetes-operator helm/flink-kubernetes-operator` from the git repo your local helm client will render the templates and print the resources that it would generate.
That is a great way to get started with manual installation.

There are also OLM bundles available for the current operator releases, these are not yet officially supported by the Flink community but we are working towards that: https://operatorhub.io/operator/flink-kubernetes-operator
maybe this is more relevant in your environment.

To summarize, there are many ways to install the operator, Helm is just one of the more convenient ones, that's why we use it as the example in the repo.
Production setups usually need to customize at least parts of the deployment logic in any case.

Gyula

 

 

On Fri, Nov 18, 2022 at 6:12 AM Biao Geng <biaogeng7@gmail.com <ma...@gmail.com> > wrote:

Hi Mark,

I believe you can do that without helm. Just like that you can install some software in CentOS without yum. 

But you may have to handle some basic setup by yourself. For the operator, you at least have to prepare RBAC creation, serviceAccount creation, Deployment creation or Webhook creation which if you want to use. Also, if you want to uninstall the operator, you should clear those resources by hand. It is not very hard but does require some hand work. 

 

Best,

Biao Geng

 

获取 Outlook for iOS <https://aka.ms/o0ukef> 


  _____  


发件人: Mark Lee <lifuqiong00@126.com <ma...@126.com> >
发送时间: Friday, November 18, 2022 12:57:26 PM
收件人: user@flink.apache.org <ma...@flink.apache.org>  <user@flink.apache.org <ma...@flink.apache.org> >
主题: Deploy Flink Operator in an k8s enviroment without helm? 

 

Hi all,

   I am trying to deploy flink operator followed Quick Start <https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/> . But it seems need helm client installed in Kubernetes environment. Could we deploy flink operator without helm client installed?

Now you can deploy the selected stable Flink Kubernetes Operator version using the included Helm chart:

helm repo add flink-operator-repo https://downloads.apache.org/flink/flink-kubernetes-operator-<OPERATOR-VERSION>/

helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator

 

Thank you.


Re: Deploy Flink Operator in an k8s enviroment without helm?

Posted by Gyula Fóra <gy...@gmail.com>.
Adding to what Biao Geng said, yes it is completely possible and other
installation methods are used by many users already.

You can check the Helm templates in the repo to get an idea what resources
you need to create.
Actually if you run `helm template flink-kubernetes-operator
helm/flink-kubernetes-operator` from the git repo your local helm client
will render the templates and print the resources that it would generate.
That is a great way to get started with manual installation.

There are also OLM bundles available for the current operator releases,
these are not yet officially supported by the Flink community but we are
working towards that:
https://operatorhub.io/operator/flink-kubernetes-operator
maybe this is more relevant in your environment.

To summarize, there are many ways to install the operator, Helm is just one
of the more convenient ones, that's why we use it as the example in the
repo.
Production setups usually need to customize at least parts of the
deployment logic in any case.

Gyula


On Fri, Nov 18, 2022 at 6:12 AM Biao Geng <bi...@gmail.com> wrote:

> Hi Mark,
> I believe you can do that without helm. Just like that you can install
> some software in CentOS without yum.
> But you may have to handle some basic setup by yourself. For the operator,
> you at least have to prepare RBAC creation, serviceAccount creation,
> Deployment creation or Webhook creation which if you want to use. Also, if
> you want to uninstall the operator, you should clear those resources by
> hand. It is not very hard but does require some hand work.
>
> Best,
> Biao Geng
>
> 获取 Outlook for iOS <https://aka.ms/o0ukef>
> ------------------------------
> *发件人:* Mark Lee <li...@126.com>
> *发送时间:* Friday, November 18, 2022 12:57:26 PM
> *收件人:* user@flink.apache.org <us...@flink.apache.org>
> *主题:* Deploy Flink Operator in an k8s enviroment without helm?
>
>
> Hi all,
>
>    I am trying to deploy flink operator followed Quick Start
> <https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/>.
> But it seems need helm client installed in Kubernetes environment. Could we
> deploy flink operator without helm client installed?
>
> Now you can deploy the selected stable Flink Kubernetes Operator version
> using the included Helm chart:
>
> helm repo add flink-operator-repo
> https://downloads.apache.org/flink/flink-kubernetes-operator-
> <OPERATOR-VERSION>/
>
> helm install flink-kubernetes-operator
> flink-operator-repo/flink-kubernetes-operator
>
>
>
> Thank you.
>

Re: Deploy Flink Operator in an k8s enviroment without helm?

Posted by Biao Geng <bi...@gmail.com>.
Hi Mark,
I believe you can do that without helm. Just like that you can install some software in CentOS without yum.
But you may have to handle some basic setup by yourself. For the operator, you at least have to prepare RBAC creation, serviceAccount creation, Deployment creation or Webhook creation which if you want to use. Also, if you want to uninstall the operator, you should clear those resources by hand. It is not very hard but does require some hand work.

Best,
Biao Geng

获取 Outlook for iOS<https://aka.ms/o0ukef>
________________________________
发件人: Mark Lee <li...@126.com>
发送时间: Friday, November 18, 2022 12:57:26 PM
收件人: user@flink.apache.org <us...@flink.apache.org>
主题: Deploy Flink Operator in an k8s enviroment without helm?


Hi all,

   I am trying to deploy flink operator followed Quick Start<https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/>. But it seems need helm client installed in Kubernetes environment. Could we deploy flink operator without helm client installed?

Now you can deploy the selected stable Flink Kubernetes Operator version using the included Helm chart:

helm repo add flink-operator-repo https://downloads.apache.org/flink/flink-kubernetes-operator-<OPERATOR-VERSION>/

helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator



Thank you.