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
> When developing locally add the `--dev` flag to `warcli cluster deploy` to enable dev mode with hot-reloading server.
33
+
34
+
### Using minikube
35
+
36
+
To run a local cluster using minikube:
37
+
38
+
```bash
39
+
warcli cluster setup-minikube
27
40
28
-
# (optional) if using a local minikube cluster, set it up
29
-
warcli cluster minikube-setup
41
+
warcli cluster deploy
42
+
```
43
+
44
+
### Other cluster types
30
45
46
+
If not using minikube (e.g. using Docker Desktop or a managed cluster), `warcli` commands will operate natively on the current Kubernetes context, so you can simply run:
47
+
48
+
```bash
31
49
warcli cluster deploy
32
50
```
33
51
34
-
This also automatically configures port forwarding to the Server in the cluster.
52
+
...to deploy warnet to your cluster.
53
+
54
+
`warcli deploy` also automatically configures port forwarding to the Server in the cluster.
55
+
56
+
## Stopping
35
57
36
58
To tear down the cluster:
37
59
38
60
```bash
39
61
warcli cluster teardown
62
+
```
40
63
41
-
# (optional) if using a local minikube cluster, remove the image
42
-
warcli cluster minikube-clean
43
-
64
+
## Log location
44
65
66
+
If the `$XDG_STATE_HOME` environment variable is set, the server will log to a file `$XDG_STATE_HOME/warnet/warnet.log`, otherwise it will use `$HOME/.warnet/warnet.log`.
0 commit comments