Automation of list processing for network policies in Kubernetes clusters using Python 3
Go to file
hassiy 76958597f4
Initial commit
2024-02-05 15:24:48 +03:00
.gitignore Initial commit 2024-02-05 15:24:48 +03:00
LICENSE Initial commit 2024-02-05 15:24:48 +03:00
README.md Initial commit 2024-02-05 15:24:48 +03:00
main.py Initial commit 2024-02-05 15:24:48 +03:00
requirements.txt Initial commit 2024-02-05 15:24:48 +03:00

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).

  1. Clone the repository:
git clone https://git.disroot.org/hassiy/k8s-network-policies-automation.git
  1. Navigate to the project directory:
cd k8s-network-policies-automation
  1. (Recommended) Create a Python virtual environment: You can follow the Python official documentation for virtual environments.
python3 -m venv venv
  1. Activate the virtual environment:
    • On Windows:
    .\venv\Scripts\activate
    
    • On macOS and Linux:
    source venv/bin/activate
    
  2. Install the required Python packages from requirements.txt:
pip install -r requirements.txt
  1. Start the program:
python network_policy_checker.py