hassiy 76958597f4 | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
main.py | ||
requirements.txt |
README.md
k8s-network-policies-automation
Automation of list processing for network policies in Kubernetes clusters using Python 3
🛠 Getting Started
Use python package
Prerequisites:
Download and install Python (Version 3.10+ is recommended).
- Clone the repository:
git clone https://git.disroot.org/hassiy/k8s-network-policies-automation.git
- Navigate to the project directory:
cd k8s-network-policies-automation
- (Recommended) Create a Python virtual environment: You can follow the Python official documentation for virtual environments.
python3 -m venv venv
- Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- Install the required Python packages from
requirements.txt
:
pip install -r requirements.txt
- Start the program:
python network_policy_checker.py