Giter Site home page Giter Site logo

nautlius_instruction's Introduction

nautlius_instruction

Apply for an interactive pod

  1. cpu pod: kubectl apply -f interactive_pod.yaml
  2. A6000 gpu pod: kubectl apply -f interactive_pod_a6000.yaml

Submit and delete a batch of jobs

bash submit_batch_job.sh Comments:

  1. Variables from submit_batch_job.sh to run_job.yaml are passed by export argument, e.g. data_id
  2. Commands for each job are specified by args in run_job.yaml, include copy the necessary code and data to the machine from persistent memory, create and apply environment, run code, save the results back to the persistent memory. Don't forget to delete the job once they are done. bach delete_batch_job.sh

Some helpful commands

  1. Copy from local to persistent memory. kubectl cp -n ucsd-kamalikalab [local/path] [active pod name]:[mounted/persistent/memory/path/at/this/pod]
  2. Check all pods. kubectl get pods
  3. Force delete a pod. kubectl delete -f interactive_pod.yaml --grace-period=0 --force
  4. Check the logs from a specific job. kubectl logs -f [pod name]

nautlius_instruction's People

Contributors

wrh14 avatar

Watchers

 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.