Skip to main content

Gefyra runs all developer machine side components of Gefyra's Kubernetes-based development infrastructure

Project description

Gefyra Logo

Gefyra

Gefyra gives Kubernetes-("cloud-native")-developers a completely new way of writing and testing their applications. Gone are the times of custom Docker-compose setups, Vagrants, custom scripts or other scenarios in order to develop (micro-)services for Kubernetes.

Gefyra Client

The Gefyra client contains a library and a CLI to run Gefyra on a developmer machine. Its main tasks are installation of the Gefyra Operator and the setup of the Docker network and the Cargo sidecar to prepare Gefyra's development infrastructure. For more information please go to: https://gefyra.dev

Commands

  • up: setup local development infrastructure
  • run: deploy a new app container into the cluster
  • bridge: intercept the traffic to a container that's running in the cluster and send it to the development container
  • unbridge: remove active traffic intercepts and reset the cluster to its original state
  • down: remove Gefyra's development infrastructure
  • list: list running containers and active bridges
  • check: check local system dependencies
  • version: print the current version and exit

Run new app container in cluster

The Gefyra client can run a new app container in the Kubernetes cluster with gefyra run .... A typical use case is a completely new application that doesn't have any deployed containers in the cluster yet.

Requirements:

  • running local cluster or available remote cluster
  • kubectl connection to development cluster is active
  • a successful gefyra up

Bridge a container

The Gefyra client can bridge (i.e. intercept) a container that is already running in the Kubernetes cluster with gefyra bridge. The container needs to be specified and can be any deployed container of any pod.

Requirements:

  • running local cluster or available remote cluster
  • kubectl connection to development cluster is active
  • successful gefyra up
  • successful gefyra run ...

Testing

Run unit tests via:

poetry run pytest tests/unit

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

gefyra-2.4.1.tar.gz (62.2 kB view details)

Uploaded Source

Built Distribution

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

gefyra-2.4.1-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

Details for the file gefyra-2.4.1.tar.gz.

File metadata

  • Download URL: gefyra-2.4.1.tar.gz
  • Upload date:
  • Size: 62.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.15 Linux/6.17.0-1010-azure

File hashes

Hashes for gefyra-2.4.1.tar.gz
Algorithm Hash digest
SHA256 182dbe9096c319b29d2852c27767ce09813612b6d1117836acba0070fc56850f
MD5 39bd4a19b6e1488de988c8b12780efe2
BLAKE2b-256 0cf137a59751dd7c7e32719cc6baf6cb4d146c8991a3d7b5fda885227b10b854

See more details on using hashes here.

File details

Details for the file gefyra-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: gefyra-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 88.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.15 Linux/6.17.0-1010-azure

File hashes

Hashes for gefyra-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f36bcc1f6e143c62fbb7d4110436f6de8a812c2d684359a84cbedb3a2024d1f1
MD5 f575bf621b9cf0d285616e006c5dada1
BLAKE2b-256 73c920a0eb4af0912ab7f8f646ba64d3637e2d56800abef8f0bf25a96b39c1ac

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