GithubHelp home page GithubHelp logo

saladtechnologies / virtual-kubelet-saladcloud Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 5.0 1.29 MB

SaladCloud Virtual Kubelet provider

License: Apache License 2.0

Go 89.50% Dockerfile 1.31% Makefile 3.27% Smarty 5.92%
go kubernetes salad virtual-kubelet virtual-kubelet-provider saladcloud

virtual-kubelet-saladcloud's Introduction

SaladCloud Virtual Kubelet Provider

License CI Workflow Go Report Card

SaladCloud Virtual Kubelet Provider

Salad's Virtual Kubelet (VK) provider for SaladCloud enables running Kubernetes (K8s) pods as SaladCloud Container Group deployments. This prototype is currently in development, and not production ready yet. If you are interested, please reach out to us to discuss your specific needs.

How it Works

The SaladCloud Virtual Kubelet Provider creates a virtual node in your K8s cluster.

architecture diagram of the SaladCloud Virtual Kubelet Provider

To the K8s API, it looks like a real node. However, when you schedule a pod on the virtual node, a container group deployment is created using the SaladCloud API instead of running the pod on a node in the K8s cluster. The container group deployment runs the pod on a remote, GPU-enabled node on the SaladCloud network.

Demo

This was used in a presentation at KubeCon2023, the script and pod spec file for the QR code workload are in the demo directory.

Development

Follow the steps below to get started with local development.

Prerequisites

Getting Started

  1. Clone the repository.

    git clone https://github.com/SaladTechnologies/virtual-kubelet-saladcloud.git
  2. Restore the dependencies.

    go mod download
    go mod verify
  3. Build the project.

    make build
  4. Run the project in foreground.

    ./bin/virtual-kubelet --sce-api-key {apiKey} --sce-project-name {projectName} --sce-organization-name {organizationName}

or

  1. Run the project in K8s via Helm.
helm install \
   --create-namespace \
   --namespace saladcloud \
   --set salad.apiKey=${apiKey} \
   --set salad.organizationName=${organizationName} \
   --set salad.projectName=${projectName} \
   --set provider.image.tag=${imageTag} \
   saladcloud-node \
   ./charts/virtual-kubelet

virtual-kubelet-saladcloud's People

Contributors

dependabot[bot] avatar derekpaulhoffman avatar dtroyer-salad avatar lucklypriyansh-2 avatar seniorquico avatar sunuk-salad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

virtual-kubelet-saladcloud's Issues

Setup GitHub repository

Setup all the basic things!

  • CHANGELOG.md - document SemVer 2.0 convention and point to releases
  • CODE_OF_CONDUCT.md - document Contributor Covenant
  • CODEOWNERS - setup team
  • CONTRIBUTING.md - document contributor guidelines
  • LICENSE - Apache 2.0
  • README.md - basic (without branding)
  • SECURITY.md - document vulnerability reporting
  • SUPPORT.md - document issues and discussions
  • GitHub settings, visibility, and permissions
  • GitHub issue templates - feature request and bug report
  • GitHub pull request template
  • Dependabot
  • CLA assistant
  • Go report card

Add VK skeleton

Get a minimal application running- just enough to show a virtual node in a local cluster.

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.