You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Open <http://localhost:8080> in your favorite browser and log in with the username `admin` and password `admin`
9
-
3. Create a new prefix '3.0.0.64/26' with custom fields 'environment: prod'
9
+
3. Create a new prefix '3.0.0.64/25' with custom fields 'environment: prod'
10
10
11
11
# 1.1 Claim a Prefix
12
12
@@ -17,18 +17,17 @@ Before prefixes and ip addresses can be claimed with the NetBox operator, a pref
17
17
18
18
# 1.2 Dynamically Claim a Prefix with a Parent Prefix Selector
19
19
20
-
1. create the namespace where podinfo should be deployed `kubectl create --context kind-zurich ns int`
21
-
2. Install podinfo with with the kustomization and apply the instance of the resource graph definition to claim a prefix and create the MetalLB IPAddressPool `kubectl apply --context kind-zurich -f docs/examples/example1-getting-started/simple_prefixclaim.yaml`
22
-
3. check if the frontend service got an external ip address assigned `kubectl get --context pxc,px -w`
20
+
1. Apply the manifest defining the prefix claim `kubectl apply --context kind-zurich -f docs/examples/example1-getting-started/dynamic-prefix-claim.yaml`
21
+
2. Check if the frontend service got an external ip address assigned `kubectl get --context pxc,px -w`
23
22
24
23

25
24
26
25
# 1.3 Claim a Prefix for a Podinfo Deployment and Create a MetalLB IPAddressPool
27
26
28
27
This example uses [kro] to map the claimed prefix to a MetalLB IPAddressPool. The required resource graph definitions and kro were installed with the set-up script.
29
28
30
-
1.create the namespace where podinfo should be deployed `kubectl create --context kind-zurich ns test`
31
-
2.Install podinfo with with the kustomization and apply the instance of the resource graph definition to claim a prefix and create the MetalLB IPAddressPool`kubectl apply --context kind-zurich -k docs/examples/example1-getting-started -n test`
29
+
1.Apply the manifests to create a deployment with a service and a metallb-ip-address-pool-netbox to create a metalLB IPAddressPool from the prefix claimed from NetBox `kubectl apply --context kind-zurich -f docs/examples/example1-getting-started/ip-address-pool.yaml`
30
+
2.Apply the manifests to createa deployment with a service that gets a ip assigned from the metalLB pool created in the prevoius step.`kubectl apply --context kind-zurich -k docs/examples/example1-getting-started/sample-deployment.yaml`
32
31
3. check if the frontend service got an external ip address assigned `kubectl get --context kind-zurich svc podinfo -n test`
This example shows how to claim multiple prefixes from different clusters and make them available as metalLB ip address pools.
4
+
5
+
1. Create ip address pools on the london cluster `kubectl apply --context kind-london -f docs/examples/example2-multicluster/london-pools.yaml`
6
+
2. Create ip address pool on the zurich cluster `kubectl create --context kind-zurich -f docs/examples/example2-multicluster/zurich-pools.yaml`
7
+
3. Look up the created prefix claims and metalLB ipaddresspools `kubectl get --context kind-london pxc,ipaddresspools -A` and `kubectl get --context kind-zurich pxc,ipaddresspools -A`
0 commit comments