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


Release history Release notifications | RSS feed

This version

2.5.0

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.5.0.tar.gz (65.1 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.5.0-py3-none-any.whl (91.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gefyra-2.5.0.tar.gz
Algorithm Hash digest
SHA256 5c9f801b5f2bc0b4815e3a0356d3dd0cf040e65b3241a62efa3e575d005a63d8
MD5 be1964f0d9d480990920f50478378421
BLAKE2b-256 090c25da7b4d1977a3b363606c0e89b6d252386055e5f5a8d1e655421d7a807a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gefyra-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f9631f4efcdb1071f9a82776110c236a1025d254398e33fb570d7ead3f1b457
MD5 db5676f2800ce975d9d64f197da0bad3
BLAKE2b-256 c0461e0a61ec51c0b09582d0ca36b46ccc5966c348edeba4d30fddabc170269f

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