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: .readme/partials/main.md.j2
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ A CSI provider intended to provide an abstract way to expose a single Pod to the
8
8
9
9
You can install the operator using [stackablectl or helm](https://docs.stackable.tech/home/stable/{{operator_docs_slug}}/getting_started/installation).
10
10
11
+
## Building
12
+
13
+
As a user you do not need to build the operator yourself, but for development purposes you can read the [build instructions](./BUILDING.md) to learn how to build the operator.
It is developed against the latest stable Rust release, and we currently don't support any older versions.
6
6
7
-
The Listener Operator is a https://github.com/container-storage-interface/spec/blob/master/spec.md[Container Storage Interface (CSI)] provider plugin
8
-
for the local Kubelet, which means that it should only be executed inside a Kubernetes `Pod`. Currently, the following ways are supported to build the Listener Operator:
7
+
The Listener operator is a [Container Storage Interface (CSI)](https://github.com/container-storage-interface/spec/blob/master/spec.md) provider plugin
8
+
for the local Kubelet, which means that it should only be executed inside a Kubernetes Pod. Currently, the following ways are supported to build the Listener operator:
9
9
10
10
*`docker build`
11
-
* https://nixos.org/[Nix]
11
+
*[Nix](https://nixos.org/)
12
12
13
13
The `docker build` command is currently the primary deployment target, and the official images are built
14
14
using it. However, Nix has much faster incremental build and deployment times, making it ideal for local development.
15
15
16
-
==Docker
16
+
##Docker
17
17
18
18
To build and deploy to the active Kind cluster, run:
You may need to add `extra-experimental-features = nix-command` to `/etc/nix/nix.conf`, or add `--experimental-features nix-command` to the Nix commands.
73
71
74
-
You can also use https://tilt.dev/[Tilt] to automatically rebuild and redeploy when files are changed:
72
+
You can also use [Tilt](https://tilt.dev/) to automatically rebuild and redeploy when files are changed:
75
73
76
-
[source,console]
77
-
----
74
+
```shell
78
75
$ nix run -f . tilt up
79
-
----
76
+
```
80
77
81
-
== K3d
78
+
##K3d
82
79
83
-
The Listener Operator, as with most CSI providers, requires the Kubernetes node's root folder to be mounted as `rshared`. K3d does not do this by default,
80
+
The Listener operator, as with most CSI providers, requires the Kubernetes node's root folder to be mounted as `rshared`. K3d does not do this by default,
84
81
but can be prodded into doing this by running `mount --make-rshared /` in each node container.
85
82
86
83
To do this for each running K3d node, run the following script:
87
84
88
-
[source,console]
89
-
----
85
+
```shell
90
86
foriin$(k3d node list -o json | jq -r .[].name);do
91
87
docker exec -it $i mount --make-rshared /
92
88
done
93
-
----
89
+
```
94
90
95
-
NOTE: This is _not_ persistent, and must be re-executed every time the cluster (or a node in it) is restarted.
91
+
> [!IMPORTANT]
92
+
> This is _not_ persistent, and must be re-executed every time the cluster (or a node in it) is restarted.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@ It is part of the Stackable Data Platform, a curated selection of the best open
18
18
19
19
You can install the operator using [stackablectl or helm](https://docs.stackable.tech/home/stable/listener-operator/getting_started/installation).
20
20
21
+
## Building
22
+
23
+
As a user you do not need to build the operator yourself, but for development purposes you can read the [build instructions](./BUILDING.md) to learn how to build the operator.
24
+
21
25
## Documentation
22
26
23
27
The stable documentation for this operator can be found [here](https://docs.stackable.tech/home/stable/listener-operator).
0 commit comments