Versions Compared

Key

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

(From Brian Freeman's notes)

Helm.notes.txt (this is also on SB04 /root)

...

Casablanca Notes with new Deploy/Undeploy plugin from OOM Team


helm deploy dev local/onap -f /root/integration-override.yaml--namespace onap


  1. After editing a chart 
    1. cd ~/oom/kubeneties
    2. make project
    3. make onap
  2. helm del project --purge
    1. helm list -a to confirm its gone
  3. helm deploy dev local/onap -f /root/integration-override.yaml --namespace onap
  4. list pods and ports (with k8 host)
    1. kubectl -n onap get pods -o=wide 
    2. kubectl -n onap get services
  5. Find out why pod is stuck in initializing or crash loopback
    1. kubectl -n onap describe pod dev-blah-blah-blah
    2. kubectl -n onap logs dev-blah-blah-blah



complete removal steps (same as Beijing) 

### Faster method to do a delete for reinstall


kubectl delete namespace onap

kubectl delete pods -n onap --all

kubectl delete secrets -n onap --all

kubectl delete persistentvolumes -n onap --all

kubectl -n onap delete clusterrolebindings --all

helm del --purge dev

helm list -a

helm del --purge dev-[project] ← use this if helm list -a shows lingering  releases in DELETED state


if you have pods stuck terminating for a long time


kubectl delete pod --grace-period=0 --force --namespace onap --all


Beijing Notes 

kubectl config get-contexts

...