lstellway/do-floating-ip
Reassign DigitalOcean Floating IP to Current Droplet
57
This project has been sourced and tweaked from 5pi/img-do-float-ip(thank you!).
DO_METADATA_API
= http://169.254.169.254
DO_API
= https://api.digitalocean.com
DO_TOKEN
DO_TOKEN_FILE
DO_FLOATING_IP
UPDATE_FREQUENCY
= 600
(10
minutes)Because Kubernetes masks the "Link Local" IP range required to run this container, the hostNetwork
parameter needs to be enabled in the Pod specification:
apiVersion: v1
kind: Pod
spec:
hostNetwork: true
docker pull lstellway/do-floating-ip