Skip to main content

dirk exports KUBECONFIG via direnv

Project description

py-dirk

dirk is a tool for Kubernetes administrators who manage a large number of clusters. dirk makes sure that you always communicate with the right kubernetes cluster, even though you switch between many project folders.

py-dirk is the Python implementation of dirk.

Install py-dirk

Install py-dirk like this:

pip install py-dirk

Use dirk

Init dirk for a certain project folder like this:

dirk init <directory>

This command creates a kubeconfig file which will be used by kubectl as long your current working directory is in the project folder. Leaving the project folder will lead to the kubeconfig file to be unloaded.

Example of use

How to use dirk is shown in https://github.com/deepshore/how-to-use-dirk.

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

py-dirk-0.0.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

py_dirk-0.0.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file py-dirk-0.0.6.tar.gz.

File metadata

  • Download URL: py-dirk-0.0.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for py-dirk-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0495156d89ba4f8bde5fe782ea48d63f9e0ecf861af640c9eae96de5c234ad0c
MD5 4129092d0a96a92db2d0d670a0e4c6fc
BLAKE2b-256 b9237f4ae8312e1b4d2c48670bea1e52bd9fc3e726bc6fbb60a5fef64801b3ba

See more details on using hashes here.

File details

Details for the file py_dirk-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: py_dirk-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for py_dirk-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8f6767608e27c66f0f558596e4cc941e385d9428291e1350986e566b11fe9daf
MD5 e6dd4a5a2bf56a9ebc06e2fa5c7f71b7
BLAKE2b-256 6545e53427691dd4aee6b9a0a78226617ed5b9eeaf576ce4df8e4ddfacee0dbb

See more details on using hashes here.

Supported by

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