Skip to main content

Galileo FaaS

Project description

Galileo FaaS

This project aims to provide easy to use functions to monitor a running K3S cluster, including telemetry data and traces. The provided functions can help to build intelligent runtime optimizations, i.e., load balancing or scheduling strategies.

For this environment to work, you need to have the following setup:

  • a running K3S cluster
  • an etcd instance
  • redis for storing nodeinfos and as pub/sub framework
  • telemd daemons deployed to monitor resource usage
  • telemd-kubernetes-adapter daemon deployed in the Kubernetes cluster that monitors all Pods an emits events upon changes.

In case you want to start a full-fledged experiment with galileo, you will also need:

  • InfluxDB to store telemetry, traces and events
  • MariaDB for experiment metadata

Visit the galileo-experiments project to get further information on setting up an experiment environment.

Example

Look for an example on how to quickly start all services under galileofaas.cli.main.

Environment Variables - Galileo FaaS

Variable Default Description
galileo_faas_logging DEBUG Log level (DEBUG, INFO, WARN, ERROR)
galileo_faas_telemetry_window_size 60 the time window that will be cached, in s
galileo_faas_trace_window_size 60 the time window that will be cached, in s
galileo_faas_redis_host localhost
galileo_faas_redis_port 6379
galileo_faas_redis_password optional Password for Redis
galileo_faas_influxdb_url http://localhost:8086 URL to InfluxDB v2 instance
galileo_faas_influxdb_token token Token for InluxDB instance
galileo_faas_influxdb_org org InfluxDB organziation to save experiments in
galileo_faas_influxdb_timeout 10_000 Timeout for InfluxDB connections (in ms)
galileo_faas_k8s_config local Configures where the galileo-faas program is started (local or incluster)
galileo_faas_etcd_host localhost Host of the Etcd instance (relevant for load balancer to get weights)
galileo_faas_etcd_port 2379 Port of the Etcd instance
galileo_faas_expected_cluster_id not set, optional Etcd cluster instance
galileo_faas_async_pod False Set to True if Pod creation should by async

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgerun-galileo-faas-0.0.1.dev4.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgerun_galileo_faas-0.0.1.dev4-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file edgerun-galileo-faas-0.0.1.dev4.tar.gz.

File metadata

File hashes

Hashes for edgerun-galileo-faas-0.0.1.dev4.tar.gz
Algorithm Hash digest
SHA256 5af50e07f357178dc718713710a3c34c14a04022b2d32728082f06067c856876
MD5 cbaa5f9fceb6b1df7211c98900b03dd1
BLAKE2b-256 aef4f16cde0cfeec23f83c9eabb9765a98036f562f82f4aa02bae4ff742e8a2f

See more details on using hashes here.

File details

Details for the file edgerun_galileo_faas-0.0.1.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for edgerun_galileo_faas-0.0.1.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 a12d52244ce16a815591fbcac331fa6c906ac5db7869d009f93dc9a3b34129bb
MD5 5ce200d8f99b38634353d1e32cf5ed73
BLAKE2b-256 ceb2d8b667c5fb87997eabe4d518ba219b08af5ac89e8b3aa77e0023a82aedc7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page