Giter Club home page Giter Club logo

kubernetes-playground's Introduction

Minikube Stuff

Docker/Nextflow Important Steps

  1. docker build -t mkdn .
  2. docker run --name my_first_docker -i -t mkdn
  3. docker rm (container id can be found by trying to re-run the docker run command)
  4. Log in to docker with docker login
  5. Tag image on dockerhub with docker tag mkdn ebensma/mkdn:latest
  6. Push image to dockerhub with docker push ebensma/mkdn:latest
  7. Run with nextflow kuberun ebenz99/Kube-Test -latest
  8. Save data to ./work directory with ./kube-runner/kube-save.sh deepgtex-prp .
  9. nextflow kuberun login -v deepgtex-prp

Kubernetes Stuff

Also good to know:

NF-API

Deploying the Nextflow API works via pulling an image of the API from Dockerhub. To edit the api, fork the scidas/nextflow-api repo, edit its Dockerfile, and make sure that the values.yaml of the Helm charts is targeting the image you've created.

Slate

  • Peruse the incubator - >slate app list --dev
  • set up minio configuration -> slate app get-conf minio --dev -o minio.yaml
  • create a secret -> slate secret create ekey --group <group> --cluster <cluster> --from-literal=accesskey=<username> --from-literal=secretkey=<secret>
  • edit the yaml to use service type NodePort and not ClusterIP. Give it an instance name. Also give it the name of the secret you've created
  • installing minio -> slate app install minio --cluster <YOUR CLUSTER> --group <YOUR GROUP> --conf minio.yaml --dev

Minio

  • docker run -p 9000:9000 --user $(id -u):$(id -g) --name minio1 -e "MINIO_ACCESS_KEY=<key>" -e "MINIO_SECRET_KEY=<key2>" -v ${HOME}/data:/data minio/minio server /data

Current State

AWS scope in Nextflow useless for writing nextflow logs to Minio PVC; will have to use -with-weblog option to POST to PVC (possible including keys in query string)

kubernetes-playground's People

Contributors

ebenz99 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.