Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glasswalk3r/python-k8s-pod-fatal
A Python exception that provides metadata to Kubernetes Pods when they have a catastrophic failure
https://github.com/glasswalk3r/python-k8s-pod-fatal
kubernetes pod python3 troubleshooting
Last synced: about 1 month ago
JSON representation
A Python exception that provides metadata to Kubernetes Pods when they have a catastrophic failure
- Host: GitHub
- URL: https://github.com/glasswalk3r/python-k8s-pod-fatal
- Owner: glasswalk3r
- License: gpl-3.0
- Created: 2024-06-29T01:26:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-13T16:27:15.000Z (4 months ago)
- Last Synced: 2024-09-14T13:13:47.969Z (2 months ago)
- Topics: kubernetes, pod, python3, troubleshooting
- Language: Makefile
- Homepage: https://pypi.org/project/python-k8s-pod-fatal/
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-k8s-pod-fatal
A Python exception that provides metadata to Kubernetes Pods when they have a
catastrophic failure.## Description
Your Pod requires environment variables, but one of them is missing and you're
tired to go over the logs from the respective container just to figured that
out?The package `python_k8s_pod_fatal` provides a customized Python exception that
can help developers to provide an appropriated error message to be logged when
the application inside a Kubernetes Pod (one or more Docker containers) has a
error which is impossible to recover, thus the Pod must be terminated.This error message will be available when you describe the Pod with a
`kubectl describe` or `kubectl get`, which greatly helps with troubleshooting.Usage of this module with a microsservice external dependencies failures is
even more interesting.## More information
Please visit [readthedocs.io](https://python-k8s-pod-fatal.readthedocs.io/en/latest/)
for more details on this project.