Argo Workflow distribution on KOPS cluster

[亡魂溺海] 提交于 2021-01-07 02:34:00

问题


Using KOPS tool, I deployed a cluster with:

  • 1 Master
  • 2 slaves
  • 1 Load Balancer

Now, I am trying to deploy an Argo Workflow, but I don't know the process. Will it install on Node or Master of the k8s cluster I built? How does it work?

Basically, if anyone can describe the functional flow or steps of deploying ARGO work flow on kubernetes, it would be nice. First, I need to understand where is it deployed on Master or Worker Node?


回答1:


Usually, kops creates Kubernetes cluster with taints on a master node that prevent regular pods scheduling on it.
Although, there was an issues with some cluster network implementation, and sometimes you are getting a cluster without taints on the master.

You can change taints on the master node by running the following commands:

add taints (no pods on master):

kubectl taint node kube-master node-role.kubernetes.io/master:NoSchedule

remove taints (allow to schedule pods on master):

kubectl taint nodes --all node-role.kubernetes.io/master-

If you want to know whether the taints are applied to the master node of not, run the following command:

kubectl get node node-master --export -o yaml

Find a spec: section. In case the taints are present, you should see something like this:

...
spec:
  externalID: node-master
  podCIDR: 192.168.0.0/24
  taints:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master
...


来源:https://stackoverflow.com/questions/50377215/argo-workflow-distribution-on-kops-cluster

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!