argoproj

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

Argo Workflow distribution on KOPS cluster

泄露秘密 提交于 2021-01-07 02:33:21
问题 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

How to escape “{{” and “}}” in argo workflow

烈酒焚心 提交于 2020-12-05 19:55:53
问题 I want to run one argo workflow in which a value is surrounded with double braces. Argo tries to resolve it but I don't want argo to resolve it. Following is a fraction of katib studyjob workflow manifest. workerSpec: goTemplate: rawTemplate: |- apiVersion: "kubeflow.org/v1beta1" kind: TFJob metadata: name: {{.WorkerID}} namespace: kubeflow Here argo tries to resolve {{.WorkerID}}. But I don't want argo to resolve it. How can I do this? How can I escape "{{" and "}}"? 回答1: Using the {% raw %}

How to escape “{{” and “}}” in argo workflow

情到浓时终转凉″ 提交于 2020-12-05 19:55:08
问题 I want to run one argo workflow in which a value is surrounded with double braces. Argo tries to resolve it but I don't want argo to resolve it. Following is a fraction of katib studyjob workflow manifest. workerSpec: goTemplate: rawTemplate: |- apiVersion: "kubeflow.org/v1beta1" kind: TFJob metadata: name: {{.WorkerID}} namespace: kubeflow Here argo tries to resolve {{.WorkerID}}. But I don't want argo to resolve it. How can I do this? How can I escape "{{" and "}}"? 回答1: Using the {% raw %}

How to run containers sequentially as a Kubernetes job?

馋奶兔 提交于 2019-12-17 18:07:52
问题 I'm trying to replace my legacy job scheduler with Kubernetes job and wondering how to write sequential jobs as a Kubernetes job. First, I wrote the following script to execute job1 and job2 in the written order but it didn't work as I expected. apiVersion: batch/v1 kind: Job metadata: name: sequential spec: activeDeadlineSeconds: 100 template: metadata: name: sequential_jobs spec: containers: - name: job1 image: image1 - name: job2 image: image2 restartPolicy: Never The job described above

How to set RBAC for a user to submit Argo workflow in a specific namespace?

别来无恙 提交于 2019-12-11 19:35:25
问题 I'm checking Argo and I would like to grant a specific namespace for a user (or multiple users) to use Argo workflow (and let the users access features such as artifacts, outputs, access to secrets). I have set up a user and created a namespace (testing in minikube). How should I bind roles for the user, namespace and Argo workflow? Here is role and rolebinding yaml files I have now. kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: namespace: default name: pod-reader rules: -