All Projects → acouvreur → traefik-ondemand-service

acouvreur / traefik-ondemand-service

Licence: Apache-2.0 license
Traefik ondemand service for the traefik ondemand plugin

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to traefik-ondemand-service

traefik-ondemand-plugin
Traefik plugin to scale containers on demand
Stars: ✭ 149 (+325.71%)
Mutual labels:  docker-swarm, swarm, traefik
trafficjam
A Docker firewall for your reverse proxy network
Stars: ✭ 79 (+125.71%)
Mutual labels:  docker-swarm, swarm, traefik
swarmci
Swarm CI - Docker Swarm-based CI system or enhancement to existing systems.
Stars: ✭ 48 (+37.14%)
Mutual labels:  docker-swarm, swarm
LilSholex
A project containing web apps and Telegram API bots.
Stars: ✭ 32 (-8.57%)
Mutual labels:  docker-swarm, swarm
Dockercheatsheet
🐋 Docker Cheat Sheet 🐋
Stars: ✭ 3,301 (+9331.43%)
Mutual labels:  docker-swarm, swarm
docker-box
A lightweight docker application platform for single servers.
Stars: ✭ 62 (+77.14%)
Mutual labels:  docker-swarm, traefik
clusterplex
ClusterPlex is basically an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
Stars: ✭ 123 (+251.43%)
Mutual labels:  docker-swarm, swarm
Time2code
Portable Scalable web code editor to integrate into your sites and learning experiences
Stars: ✭ 294 (+740%)
Mutual labels:  docker-swarm, swarm
pirate
🏴‍☠️ A personal platform for R programming
Stars: ✭ 36 (+2.86%)
Mutual labels:  docker-swarm, traefik
Swarmpit
Lightweight mobile-friendly Docker Swarm management UI
Stars: ✭ 2,255 (+6342.86%)
Mutual labels:  docker-swarm, swarm
Miniswarm
Docker Swarm cluster in one command
Stars: ✭ 130 (+271.43%)
Mutual labels:  docker-swarm, swarm
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (+417.14%)
Mutual labels:  docker-swarm, swarm
swarm-router
Scalable stateless «zero config» service-name ingress for docker swarm mode with a fresh more secure approach
Stars: ✭ 58 (+65.71%)
Mutual labels:  docker-swarm, swarm
Swarmprom
Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
Stars: ✭ 1,739 (+4868.57%)
Mutual labels:  swarm, traefik
Fabricio
Docker deploy automation tool
Stars: ✭ 250 (+614.29%)
Mutual labels:  docker-swarm, swarm
Docker Swarm Cookbook
A large collection of recipes for a complete, self-hosted Docker Swarm stack including Traefik v2 and SSO/Auth
Stars: ✭ 49 (+40%)
Mutual labels:  docker-swarm, swarm
Docker Traefik Prometheus
A Docker Swarm Stack for monitoring Traefik with Promethues and Grafana
Stars: ✭ 215 (+514.29%)
Mutual labels:  docker-swarm, swarm
generator-mitosis
A micro-service infrastructure generator based on Yeoman/Chatbot, Kubernetes/Docker Swarm, Traefik, Ansible, Jenkins, Spark, Hadoop, Kafka, etc.
Stars: ✭ 78 (+122.86%)
Mutual labels:  swarm, traefik
multi uav simulator
A quadrotor swarm simulator based on ROS (Robot Operating System).
Stars: ✭ 73 (+108.57%)
Mutual labels:  swarm
beekeeper
Swarm Beekeeper is an orchestrator that can manage a cluster of Bee nodes and call into their API. It allows various scenario’s to be performed on these nodes. The Swarm team uses Beekeeper internally for integration tests.
Stars: ✭ 51 (+45.71%)
Mutual labels:  swarm

Project achieved, please see acouvreur/sablier

Traefik Ondemand Plugin
Traefik Ondemand Service

Traefik Ondemand Service for traefik-ondemand-plugin to control containers and services.

Github Actions

Features

  • Support for Docker containers
  • Support for Docker swarm mode, scale services
  • Support for Kubernetes Deployments and Statefulsets
  • Start your container/service on the first request
  • Dynamic loading page (cloudflare or grafana cloud style)
  • Automatic scale to zero after configured timeout upon last request the service received
  • Support container/service healthcheck and will not redirect until service is healthy

Usage

CLI

./traefik-ondemand-service --swarmMode=true --kubernetesMode=false

Argument Value Description
swarmMode true,false (default true) Enable/Disable swarm mode. Used to determine the scaler implementation.
kubernetesMode true,false (default false) Enable/Disable Kubernetes mode. Used to determine the scaler implementation.
storagePath path/to/storage/file (default nil) Enables persistent storage, file will be used to load previous state upon starting and will sync the current content to memory into the file every 5 seconds

Docker

  • Docker Hub acouvreur/traefik-ondemand-service
  • Ghcr ghcr.io/acouvreur/traefik-ondemand-service

docker run -v /var/run/docker.sock:/var/run/docker.sock -p 10000:10000 ghcr.io/acouvreur/traefik-ondemand-service:latest --swarmode=true

Kubernetes

see KUBERNETES.md

API

GET <service_url>:10000/?name=<service_name>&timeout=<timeout>
Query param Type Description
name string The docker container name, or the swarm service name
timeout time.Duration The duration after which the container/service will be scaled down to 0
Body Status code Description
started 202 Created The container/service is available
starting 201 Accepted The container/service has been scheduled for starting but is not yet available
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].