Git Product home page Git Product logo

q-table's Introduction

Q-table

Running

Navigate to terraform-module-flink-cluster, then run

terraform init
(terraform validate)
(terraform plan)
terraform apply --auto-approve

in /k8s-cluster, then in /helm-charts.

Then, in /Q-table, run

For local image:

docker build -f docker/Dockerfile -t scaling:vX .

kind load docker-image --name "flink-k8s-cluster" scaling:vX

For AWS image:

aws ecr-public get-login-password --region us-east-1 --profile brown | docker login --username AWS --password-stdin public.ecr.aws

docker buildx build --platform linux/amd64 --build-arg FLINK_VERSION=1.17.1 -t public.ecr.aws/m5r4d3y5/flink-jobs:q-table-feb03-v2 -f docker/Dockerfile .

docker push public.ecr.aws/m5r4d3y5/flink-jobs:q-table-feb03-v2

and make sure image in /Q-table/kubernetes/development.yaml matches your most recent image tag.

To start the scaling pod in kubernetes, run

kubectl apply -f kubernetes/development.yaml

Then, to start the flink job, run the terraform commands again in terraform-module-flink-cluster/flink_job.

Stopping

To stop the scaling pod, run

kubectl delete -f kubernetes/development.yaml

To stop the flink job, run

terraform destroy --auto-approve

in flink-job.

To stop the cluster, run the same command in helm-charts and k8s-cluster, respectively.

q-table's People

Contributors

peter-popescu avatar orkhand avatar cherrycreek28 avatar iscore101 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.