Versions Compared

Key

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

...

                 

Deployment Steps

  1. if If mariadb-galera has installed, skip this step,  follow the way to install maridb below:

    helm install local/mariadb-galera --namespace onap --name dev-mariadb-galera --set global.pullPolicy=IfNotPresent --set global.masterPassword=onap

                       

  1. intall Intall mongodb service for testing:docker run -itd --restart=always --name dl-mongo -p 27017:27017 mongo            
  2. build Build presto image and push the images to a exsting repository:

...

              docker build -t presto:v0.0.2 .
              docker tag presto:v0.0.2 registry.baidubce.com/onap/presto:v0.0.2
              docker push registry.baidubce.com/onap/presto:v0.0.2

       4.  install Install presto service:

              kubectl -n onap run dl-presto --image=registry.baidubce.com/onap/presto:v0.0.2 --env="MongoDB_IP=192.168.235.11" --env="MongoDB_PORT=27017" 
              kubectl -n onap expose deployment dl-presto --port=9000 --target-port=9000 --type=NodePort

            Note: MonoDB_IP and Mongo_PORT you can replace this two values with your own configuration.

       5. check Check presto service:

                       

...