Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ubuntu@onap-control-1:~$ mkdir .kube
ubuntu@onap-control-1:~$ mv kube_config_cluster.yml .kube/config.
ubuntu@onap-control-1:~$ kubectl config set-context --current --namespace=onap

Create a context file shell script in the onap-control-1 VM

...

Code Block
#!/bin/bash

export KUBECONFIG=~/.kube/config.onap
kubectl config use-context onap

...