Kubernetes Operator
The RingLink Kubernetes Operator allows you to expose services running in your cluster to your RingLink network.
The Ringlink Operator is conflicted with RingLink Kubernetes Load Balancer integration at now.
Setting Up the Kubernetes Operator
Prerequisites
- A running Kubernetes cluster
- A Config Key generated from the RingLink dashboard
Installation
By default, the operator installs into a namespace named ringlink
.
To install the latest version of the RingLink Kubernetes Operator:
Add https://charts.ring.link
to your helm repositories:
Update helm repositories cache:
Install the operator:
(Optional) Create a RingLinkConfiguration
The operator uses a StatefulSet
to run a RingLink device as a Pod in your cluster. To authorize the device, you'll need to create a RingLinkConfiguration
.
Step 1: Create a Secret
First, create a Kubernetes Secret containing your config key. This must be created in the namespace where your operator installed, e.g. ringlink
:
You can also create secret directly via kubectl
:
Step 2: Define the Configuration
Then, create a RingLinkConfiguration
and mark it as the default:
Set .spec.network
to your RingLink network ID. If you don't have one yet, you can create it in the dashboard.