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
|`make deploy-grafana-secret`|`GRAFANA_PASSWORD`, `KUBECONFIG_CONTEXT`| Create the `grafana-admin-secret` in the `monitoring` namespace (prerequisite for `make deploy-monitoring`). |
This is equivalent to running all individual targets in order and is the recommended entry point for a fresh cluster.
74
94
75
95
---
76
96
77
97
## Lima VM (local testing)
78
98
79
-
Requires the [`infra`](https://github.com/KevinDeBenedetti/infra) parent repo, which embeds this repo as a submodule and adds Lima targets in `makefiles/99-lima.mk`.
99
+
Lima targets are bundled directly in k3s-lab (`makefiles/99-lima.mk`) — no parent repo or submodule required.
When this repo is embedded as a git submodule in a parent infra repo:
153
+
k3s-lab can be consumed from a **private repo** containing only your personal configuration (`.env`, app manifests). No clone or submodule needed — makefiles are fetched on-demand via curl.
134
154
135
-
```makefile
136
-
K3S_LAB := $(ROOT_DIR)/k3s-lab
155
+
Set these variables in your consumer Makefile:
137
156
138
-
include$(K3S_LAB)/makefiles/30-k3s.mk
139
-
include$(K3S_LAB)/makefiles/40-kubeconfig.mk
140
-
include$(K3S_LAB)/makefiles/50-deploy.mk
141
-
include$(K3S_LAB)/makefiles/60-status.mk
142
-
include$(K3S_LAB)/makefiles/70-ssh.mk
157
+
```makefile
158
+
K3S_LAB := # empty → remote mode (curl from GitHub)
0 commit comments