Skip to content

Commit c006ca6

Browse files
committed
1 parent 48db975 commit c006ca6

File tree

15 files changed

+1
-2181
lines changed

15 files changed

+1
-2181
lines changed

kube-fip-controller/Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

kube-fip-controller/LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

kube-fip-controller/Makefile

Lines changed: 0 additions & 40 deletions
This file was deleted.

kube-fip-controller/README.md

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,4 @@
11
kube-fip-controller
22
-------------------
33

4-
Controller that helps to run Kubernetes on OpenStack.
5-
It's capable of allocating and associating a Openstack Neutron Floating IP (FIP) with an existing Openstack server.
6-
7-
## Installation
8-
9-
The [Helm chart](https://github.com/sapcc/helm-charts/tree/master/system/kube-fip-controller) can be used to bring the controller to your cluster.
10-
11-
## Configuration
12-
13-
To be able to authenticate with OpenStack the controller requires the following parameters in the configuration:
14-
15-
```yaml
16-
auth_url: <OS_AUTH_URL>
17-
region_name: <OS_REGION_NAME>
18-
username: <OS_USERNAME>
19-
user_domain_name: <OS_USER_DOMAIN_NAME>
20-
password: <OS_PASSWORD>
21-
project_name: <OS_PROJECT_NAME>
22-
project_domain_name: <OS_PROJECT_DOMAIN_NAME>
23-
```
24-
25-
The password can also be provided via the environment variable `OS_PASSWORD`.
26-
27-
Moreover, the controller needs a default OpenStack Neutron network and subnet for creating FIPs.
28-
The names of these are passed via the flags:
29-
```
30-
--default-floating-network=$networkName
31-
--default-floating-subnet=$subnetName
32-
```
33-
34-
35-
## Usage
36-
37-
The controller is activated via node labels:
38-
```
39-
metadata:
40-
labels:
41-
kube-fip-controller.ccloud.sap.com/enabled: "true"
42-
```
43-
44-
Once the controller successfully created and associated the FIP with the server it will adds the `kube-fip-controller.ccloud.sap.com/externalIP: "$floatingIP"` to the node.
45-
This label can also be used beforehand to specify the FIP.
46-
47-
Optionally, the labels `kube-fip-controller.ccloud.sap.com/floating-network-name: "$networkName"`, `kube-fip-controller.ccloud.sap.com/floating-subnet-name: "$subnetName"`
48-
can be used to specify the floating network and subnet used for the FIP.
49-
4+
The project has been moved to [github,com/sapcc/kube-fip-controller](https://github.com/sapcc/kube-fip-controller).

0 commit comments

Comments
 (0)