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
Copy file name to clipboardExpand all lines: docs/examples/example1-getting-started/README-ex1.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ Before prefixes and ip addresses can be claimed with the NetBox operator, a pref
11
11
# 1.1 Claim a Prefix
12
12
13
13
1. Apply the manifest defining the prefix claim `kubectl apply --context kind-zurich -f docs/examples/example1-getting-started/simple_prefixclaim.yaml`
14
-
2. Check that the prefix claim CR got a prefix addigned `kubectl get --context kind-zurich pxc,px -w`
14
+
2. Check that the prefix claim CR got a prefix addigned `watch -n 1 kubectl get --context kind-zurich pxc,px`
15
15
16
16

17
17
18
18
# 1.2 Dynamically Claim a Prefix with a Parent Prefix Selector
19
19
20
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`
21
+
2. Check that the prefix claim CR got a prefix addigned `watch -n 1 kubectl get --context kind-zurich pxc,px`
22
22
23
23

24
24
@@ -29,7 +29,8 @@ This example uses [kro] to map the claimed prefix to a MetalLB IPAddressPool. Th
29
29
1. Apply the kro resource graph definition, defining the mapping from the prefix claim to the metalLB ip address pool `kubectl apply -f docs/examples/set-up/metallb-ip-address-pool-netbox.yaml`
30
30
2. 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`
31
31
3. 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
-
4. check if the frontend service got an external ip address assigned `kubectl get --context kind-zurich svc my-nginx -n nginx`
32
+
4. check if the prefixclaim and ipaddresspool got created `watch -n 1 kubectl get --context kind-zurich pxc,ipaddresspools my-nginx -A`
33
+
5. check if the service got an external ip address assigned `watch -n 1 kubectl get --context kind-zurich svc my-nginx -n nginx`
Copy file name to clipboardExpand all lines: docs/examples/example2-multicluster/README-ex2.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@ This example shows how to claim multiple prefixes from different clusters and ma
4
4
5
5
1. Create ip address pools on the london cluster `kubectl apply --context kind-london -f docs/examples/example2-multicluster/london-pools.yaml`
6
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`
7
+
3. Look up the created prefix claims and metalLB ipaddresspools `watch -n 1 kubectl get --context kind-london pxc,ipaddresspools -A` and `watch -n 1 kubectl get --context kind-zurich pxc,ipaddresspools -A`
kind load docker-image netbox-operator:build-local --name zurich # fixes an issue with podman where the image is not correctly tagged after the first kind load docker-image
0 commit comments