initial commit
This commit is contained in:
14
node-external-ip-controller.Dockerfile
Normal file
14
node-external-ip-controller.Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user