initial commit

This commit is contained in:
2024-10-31 20:58:20 +05:30
commit 363c514f8a
3 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Use Python base image
FROM python:3.13-alpine3.19
# Install the Kubernetes Python client
RUN pip install kubernetes
# Copy the controller script into the container
COPY node_external_ip_controller.py /app/node_external_ip_controller.py
# Set the working directory
WORKDIR /app
# Set the command to run the controller script
CMD ["python", "node_external_ip_controller.py"]