From 6bb41c9e1d8845a18dd4c4c4c10786d3f1a80829 Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Tue, 26 Jan 2021 21:09:52 +0100 Subject: [PATCH] Adding config.json for kubeflow in README --- k8s/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/k8s/README.md b/k8s/README.md index 31d88c6..b41dd51 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -140,6 +140,22 @@ for i in $( echo $namespaces ) ; do done ``` +For kubeflow: + +```sh +cat << EOF >> config.json +{ + "auths": { + "https://index.docker.io/v1/": { + "auth": "$( echo -n 'moritz:password' | base64 )" + } + } +} +EOF +kubectl create -n kubeflow configmap docker-config --from-file=config.json +rm config.json +``` + ## networking with calico Install calicoctl in cluster