Giter Club home page Giter Club logo

svc-shader's Introduction

svc-shader

A gRPC micro-service that exposes a variety of GPU shader compilers under a common cloud-based abstraction.

Build Status

Hub: https://hub.docker.com/r/gwihlidal/svc-shader/

Extensive documentation

Updating Compilers

The svc-shader image inherits from the docker-shader image. A new docker-shader image must be built when compilers need to be updated. Once there is a new docker-shader image, the svc-shader image and scripts should be modified to point to the new version.

The docker-shader image can be modified as per these instructions.

Before building and pushing a new image, increment the version number at the top of Makefile

Build and push a new image by running "make push", image.sh, or by running the commands manually (substituting in the correct variable values):

docker build -t $(NS)/$(REPO):$(VERSION) .
docker push $(NS)/$(REPO):$(VERSION)

Example:

docker build -t gwihlidal/svc-shader:15 .
docker push gwihlidal/svc-shader:15

Note, you won't have permission to push to the gwihlidal namespace on Docker Hub, so make sure to use your own account or custom container registry like https://cloud.google.com/container-registry/

Example of a version update:

https://github.com/gwihlidal/svc-shader/commit/a845f5bffeadb76b0cb77ea4bd4525d2b58798fe

Deployment

Once a new svc-shader image is built and pushed to the container registry, it should be deployed to Google Kubernetes Engine (GKE).

Deployment can be done by executing deploy.sh, or running the following command:

kubectl apply -f ./svc_shader_k8s.yaml

You can verify the new image is running by confirming the version of the image on GKE:

alt text

svc-shader's People

Contributors

gwihlidal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.