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
To run this controller in a test cluster deployed with [`kne`](https://github.com/openconfig/kne) and [`kind`](https://kind.sigs.k8s.io/) follow the steps outlined in the [KNE repository](https://github.com/openconfig/kne/tree/main/docs).
56
56
57
-
Once the kne+kind cluster is created, a [demo topology with two SR Linux nodes](https://github.com/openconfig/kne/blob/db5fe5be01a1b6b65bd79e740e2c819c5aeb50b0/examples/srlinux/2node-srl-with-config.pbtxt)may be deployed as follows:
57
+
Once the kne+kind cluster is created and the `srl-controller` is installed onto it, a [demo topology with two SR Linux nodes](https://github.com/openconfig/kne/blob/db5fe5be01a1b6b65bd79e740e2c819c5aeb50b0/examples/srlinux/2node-srl-with-config.pbtxt)can be deployed as follows:
@@ -73,12 +73,17 @@ To connect with SSH to the `r1` node, use `ssh [email protected]` command.
73
73
74
74
### Loading images to kind cluster
75
75
76
-
[Public SR Linux container image](https://github.com/nokia/srlinux-container-image) will be pulled by kind automatically, if Internet access is present. Images which are not available publicy can be uploaded to kind manually:
76
+
[Public SR Linux container image](https://github.com/nokia/srlinux-container-image) will be pulled by kind automatically if Internet access is present. Images which are not available publicy can be uploaded to kind manually:
Developers should deploy the controller onto a cluster from the source code. Ensure that the `srl-controller` is [uninstalled](#uninstall) from the cluster before proceeding.
141
+
142
+
Install the Srlinux CRDs onto the cluster
143
+
144
+
```
145
+
make install
146
+
```
147
+
148
+
To build and run the controller from the source code:
149
+
150
+
```
151
+
make run
152
+
```
153
+
154
+
Controller's log printed to stdout/stderr. It is possible to deploy topologies with `kne create` now.
155
+
156
+
Make changes to the controller code-base, and re-run `make run` to see the changes in effect.
0 commit comments