Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Installation

Create a Python 3.9 virtual environment and install requirements.txt and requirements-dev.txt (see Makefile).

Hint

Currently you have to install the following dependencies from source: edgerun/faas and edgerun/skippy-core (model-updates branch).

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_async_pod False Set to True if Pod creation should by async

Metadata

Release files for edgerun-galileo-faas 0.0.1.dev9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgerun-galileo-faas 0.0.1.dev9
File Size Uploaded Provenance
edgerun-galileo-faas-0.0.1.dev9.tar.gz 23.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for edgerun-galileo-faas 0.0.1.dev9
File Interpreter ABI Platform
edgerun_galileo_faas-0.0.1.dev9-py3-none-any.whl Python 3 none any Details

Total release size: 59.1 kB

Release files / edgerun-galileo-faas-0.0.1.dev9.tar.gz

Download URL edgerun-galileo-faas-0.0.1.dev9.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
704be3130924cc31bdf38b4f3ecefc76fa5776e7aa5567db928a1f169d8e1749
BLAKE2b-256 checksum
How to use checksums
77e97d898329fbc40f802e65afe1146bd79041127f4a4ac1c57f635116f54a5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / edgerun_galileo_faas-0.0.1.dev9-py3-none-any.whl

Download URL edgerun_galileo_faas-0.0.1.dev9-py3-none-any.whl
Size 35.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d60df859db3f2039eeb6b002a9c6c0d1d29dfeb7929f450d063d19bfb3208060
BLAKE2b-256 checksum
How to use checksums
9d40c23187166305985079311a6715c0f3c33d46793c5eb44c8903a1abe00b6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for edgerun-galileo-faas 0.0.1.dev9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page