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 the repo/patchset from gerrit (there is download option in gerrit,
    build local image with changes necessary; do ensure you create a unique tag/version
    1. when clicked clicked it will give the exact pull request (or checkout) command)
    2. Build image (using mvn <goals>) to generate docker image
    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.

...