smirl / digitalocean-floating-ip-controller Goto Github PK
View Code? Open in Web Editor NEWAssigns Kubernetes nodes to Digitalocean floating IPs
Home Page: https://digitalocean.smirlwebs.com
License: MIT License
Assigns Kubernetes nodes to Digitalocean floating IPs
Home Page: https://digitalocean.smirlwebs.com
License: MIT License
Create a helm chart for easy installation
Allow docker image to be pulled from public location
When assigning a droplet to the floating IP it takes some time to process. When the reconcile loop tries again, with a pending updating of the Floating IP in progress the API returns a 422.
2021-12-21T11:48:29.166Z INFO controller-runtime.manager.controller.floatingipbinding Starting EventSource {"reconciler group": "digitalocean.smirlwebs.com", "reconciler kind": "FloatingIPBinding", "source": "kind source: /, Kind="}
2021-12-21T11:48:29.266Z INFO controller-runtime.manager.controller.floatingipbinding Starting Controller {"reconciler group": "digitalocean.smirlwebs.com", "reconciler kind": "FloatingIPBinding"}
2021-12-21T11:48:29.267Z INFO controller-runtime.manager.controller.floatingipbinding Starting workers {"reconciler group": "digitalocean.smirlwebs.com", "reconciler kind": "FloatingIPBinding", "worker count": 1}
2021-12-21T11:48:30.775Z INFO controllers.digitalocean.FloatingIPBinding Assigned droplet to FloatingIP {"floatingipbinding": "do-floating-ip-controller-system/main", "dropletID": 00000000, "dropletName": "flex-1-aaaaa", "floatingIP": "10.10.10.10"}
2021-12-21T11:48:32.060Z ERROR controllers.digitalocean.FloatingIPBinding Failed update floatingIP {"floatingipbinding": "do-floating-ip-controller-system/main", "dropletID": 00000000, "dropletName": "flex-1-aaaaa", "floatingIP": "10.10.10.10", "error": "POST https://api.digitalocean.com/v2/fl
oating_ips/10.10.10.10/actions: 422 (request \"00000000-21ba-43be-9258-280ce3ae7e3f\") The floating IP already has a pending event."}
github.com/go-logr/zapr.(*zapLogger).Error
/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:132
github.com/smirl/digitalocean-floating-ip-controller/controllers/digitalocean.(*FloatingIPBindingReconciler).AssignFloatingIP
/workspace/controllers/digitalocean/floatingipbinding_controller.go:256
github.com/smirl/digitalocean-floating-ip-controller/controllers/digitalocean.(*FloatingIPBindingReconciler).Reconcile
/workspace/controllers/digitalocean/floatingipbinding_controller.go:97
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:198
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:155
k8s.io/apimachinery/pkg/util/wait.BackoffUntil
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:156
k8s.io/apimachinery/pkg/util/wait.JitterUntil
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.UntilWithContext
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:99
Add release drafter for faster releasing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.