Versions Compared

Key

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

...

  1. Find the k8s node server where POD is running using kubectl
    1. kubectl get pods -n onap -o=wide | grep <podname>
  2. Login to k8s node server (same key/user) and create a sub-folder on your name
    1. clone Clone the repo/patchset from gerrit (there is download option in gerrit, when clicked clicked it will give the exact pull request (or checkout) command)
    2. Build image (using mvn <goals>mvn -s <onap settingfile.xml> clean install <optional docker goals>) to generate docker image.  ONAP setting file can be referenced from here - Setting Up Your Development Environment#MavenExamplesettings.xml
    3. Once build is successful and docker image generated, retag it for uniqueness ( nexus3.onap.org:10001/onap/<imagename>:<uniquetag>)
  3. For redeploy, you can either update the values.yaml charts (under ~/oom/kubernetes/dcaegen2/components) and follow helm commands above to redeploy, or find the corresponding deployment descriptor (via kubectl) and update the version and save (k8s would automatically terminate current pod and redeploy new based on version provided)Note: Any changes done on helm charts/values.yaml should be submitted into OOM repository (https://git.onap.org/oom/tree/kubernetes/dcaegen2/components) after new images has been released in DCAE.

...