Reassign DigitalOcean Floating IP to Current Droplet
2.0K
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
Content type
Image
Digest
Size
4.9 MB
Last updated
over 4 years ago
docker pull lstellway/do-floating-ip