Skip to content

Commit

Permalink
Remove duplicated notebook section
Browse files Browse the repository at this point in the history
  • Loading branch information
votti committed Jun 21, 2023
1 parent c77e0c6 commit 25ac27f
Showing 1 changed file with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,7 @@
" -p='[{\"op\": \"add\", \"path\": \"/spec/template/spec/containers/0/args/-\", \"value\": \"--trial-resources=Workflow.v1alpha1.argoproj.io\"}]'`\n",
"\n",
"For more details and how to set this up on a partial Kubeflow installation follow:\n",
"https://github.com/kubeflow/katib/tree/master/examples/v1beta1/argo/README.mdd\n",
"If you are running on a full Kubeflow installation *DO NOT INSTALL ARGO* as this will likely break your installation.\n",
"\n",
"Just run the following commands:\n",
"\n",
"Enable side-car injection:\n",
"\n",
"`kubectl patch namespace argo -p '{\"metadata\":{\"labels\":{\"katib.kubeflow.org/metrics-collector-injection\":\"enabled\"}}}'`\n",
"\n",
"\n",
"Verify that the emissary executor is active (should be default in newer Kubeflow installations):\n",
"\n",
"` kubectl get ConfigMap -n argo workflow-controller-configmap -o yaml | grep containerRuntimeExecutor`\n",
"\n",
"Patch the Katib controller:\n",
"\n",
"`kubectl patch ClusterRole katib-controller -n kubeflow --type=json \\\n",
" -p='[{\"op\": \"add\", \"path\": \"/rules/-\", \"value\": {\"apiGroups\":[\"argoproj.io\"],\"resources\":[\"workflows\"],\"verbs\":[\"get\", \"list\", \"watch\", \"create\", \"delete\"]}}]'\n",
"`\n",
"\n",
"`kubectl patch Deployment katib-controller -n kubeflow --type=json \\\n",
" -p='[{\"op\": \"add\", \"path\": \"/spec/template/spec/containers/0/args/-\", \"value\": \"--trial-resources=Workflow.v1alpha1.argoproj.io\"}]'`\n",
"\n",
"For more details and how to set this up on a partial Kubeflow installation follow:\n",
"https://github.com/kubeflow/katib/tree/master/examples/v1beta1/argo/README.md\n",
"\n"
"https://github.com/kubeflow/katib/tree/master/examples/v1beta1/argo/README.mdd"
]
},
{
Expand Down

0 comments on commit 25ac27f

Please sign in to comment.