Skip to content

Commit

Permalink
Remove --kubeconfig mycluster.yaml and use KUBECONFIG instead of movi…
Browse files Browse the repository at this point in the history
…ng files (#2792)

Signed-off-by: Diego Lovison <diegolovison@gmail.com>
  • Loading branch information
diegolovison authored Jul 9, 2024
1 parent 73ba3c8 commit da2b718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ The `example` directory contains an example kustomization for the single command

#### Create kind cluster
```sh
cat <<EOF | kind create cluster --name=kubeflow --kubeconfig mycluster.yaml --config=-
cat <<EOF | kind create cluster --name=kubeflow --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
Expand All @@ -129,8 +129,8 @@ EOF

#### Save kubeconfig
```sh
mv ~/.kube/config ~/.kube/config_backup
kind get kubeconfig --name kubeflow > ~/.kube/config
kind get kubeconfig --name kubeflow > /tmp/kubeflow-config
export KUBECONFIG=/tmp/kubeflow-config
```

#### Create a Secret based on existing credentials in order to pull the images
Expand Down

0 comments on commit da2b718

Please sign in to comment.