Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-326

CD: OOM automated deployment script

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None

      put the script we are using in the onap on kubernetes page into source control
      to be used by developers or the current CD jenkins job

      http://jenkins.onap.info/job/oom-cd/
      https://github.com/obrienlabs/onap-root/blob/master/cd.sh
      https://wiki.onap.org/display/DW/ONAP+on+Kubernetes?focusedCommentId=25434827&refresh=1518815927725#comment-25434827

      Plan:
      Directory structure of

      Underclouds:

      • install/rancher
      • install/kubeadm
      • install/cloudify

      Cloud Templates:

      • cloud/azure
      • cloud/amazon
      • cloud/google

      Installation wrappers (may be deprecated by helm install)

      • install/continuous-deployment

      TODO: stop before config pod if kubernetes pods are in pending state (IP issue)
      TODO: force delete needed periodically
      melliott [12:11 PM]
      kubectl delete pods <pod> --grace-period=0 --force

      20180504
      guys, just had an idea - the hardcoded onap namespace - I was only deleting /dockerdata-nfs/onap - and I was also running a repo in "local/onap" but my -n namespace as dev - so a combination of hardcoding and the fact I was not deleting the dev dir - fixing all this - here is my old state
      ubuntu@ip-10-0-0-19:~$ ls /dockerdata-nfs/
      dev onap test.sh
      ubuntu@ip-10-0-0-19:~$ ls /dockerdata-nfs/onap/
      aai appc message-router nexus postgres redis sdnc
      ubuntu@ip-10-0-0-19:~$ ls /dockerdata-nfs/dev
      aai appc clamp mso portal sdc sdnc sms vid

        1. 20181209_onap_c_logging_pod_structure_frank_obrien_at_amdocs_com_Screenshot 2018-12-10 06.21.14.png
          20181209_onap_c_logging_pod_structure_frank_obrien_at_amdocs_com_Screenshot 2018-12-10 06.21.14.png
          2.38 MB
        2. aaiapisimpledemoopenecomporg.cer
          2 kB
        3. aai-cloud-region-put.json
          0.3 kB
        4. dev.yaml
          3 kB
        5. dev0.yaml
          3 kB
        6. dev1.yaml
          3 kB
        7. master_nfs_node.sh
          0.7 kB
        8. onap-parameters.yaml
          0.6 kB
        9. onap-parameters-amsterdam.yaml
          7 kB
        10. Screen Shot 2018-06-28 at 12.38.53.png
          Screen Shot 2018-06-28 at 12.38.53.png
          1.05 MB
        11. slave_nfs_node.sh
          0.5 kB
        12. values.yaml
          3 kB

            michaelobrien michaelobrien
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h