tools/infra-scripts/clitools/README.md
The primary function is to help manage and connect to PostHog toolbox pods in a Kubernetes environment.
Ensure you have Python 3.x installed on your system
Clone this repository or download toolbox.py
Make the script executable (Unix-based systems):
chmod +x toolbox.py
Run the script using Python:
python toolbox.py [flags]
Or directly (Unix-based systems):
./toolbox.py [flags]
The toolbox CLI:
| Flag | Description | Default |
|---|---|---|
--claim-duration HOURS | Number of hours to claim the pod for | 12 |
--update-claim | Update the termination time of your existing pod | False |
python toolbox.py
python toolbox.py --claim-duration 4
python toolbox.py --update-claim --claim-duration 24