Skip to content

feat(loadbalancer): floating IP addresses#2

Open
peknur wants to merge 1 commit intomainfrom
feat/floating-ip-addresses
Open

feat(loadbalancer): floating IP addresses#2
peknur wants to merge 1 commit intomainfrom
feat/floating-ip-addresses

Conversation

@peknur
Copy link
Copy Markdown

@peknur peknur commented Apr 10, 2026

This PR adds floating IP address support to load balancer service.

Usage
Create deployment:

$ kubectl create deployment --image=ghcr.io/upcloudltd/hello hello-uks

Create load balancer service using floating IP address 94.94.0.162:

apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.kubernetes.io/upcloud-load-balancer-config: |
      {
          "plan": "essentials",
          "ip_addresses": [
              {
                  "address": "94.94.0.162",
                  "network_name": "public-IPv4"
              }
          ]
      }
  labels:
    app: hello-uks
  name: hello-uks
spec:
  ports:
  - port: 80
    protocol: TCP
  selector:
    app: hello-uks
  type: LoadBalancer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant