Git Product home page Git Product logo

k8s-deployment's Introduction

HyperFlow deployment on Kubernetes

Running the workflow

From cmds directory run: ./run-workflow.sh ...

➜  cmds git:(master) ✗ ./run-workflow.sh
Usage: complete-workflow-run.sh [OPTION]...
  -r	<workflow>		run specified workflow (you can check it with -l parameter)
  -n	<cluster_name>		to set cluster name
  -p	<provider>		specify provider used. Defaults to gcloud
  -N	<node_no>		specify nodes quantity
  -c	to create new cluster
  -l	list all available workflows
  -k	kill cluster in the end
  -w	wait for k8s; after completing workflow, leave k8s config
  -d	ONLY: delete cluster only
  -o	ONLY: reset kubernetes configuration on the cluster only
  -h	display this message

Resize the cluster

To minimize cost, you can delete the cluster when not used (e.g. from the console). However, it may be more convenient to just spin it down to 0 as follows:

gcloud container clusters resize my-k8s-cluster --node-pool default-pool --num-nodes=0

This command can also be used to resize the cluster to the desired number of nodes.

k8s-deployment's People

Contributors

matplinta avatar balis avatar groundnuty avatar koxu1996 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.