@@ -75,6 +75,7 @@ include make/golang.mk
75
75
include make/image.mk
76
76
include make/wasm.mk
77
77
include make/ci.mk
78
+ include make/deploy.mk
78
79
include make/proto.mk
79
80
80
81
# ==============================================================================
@@ -165,6 +166,34 @@ wasm.image:
165
166
wasm.image.push :
166
167
@$(MAKE ) go.wasm.image.push
167
168
169
+ # ==============================================================================
170
+ # # deploy: Deploy Layotto to Kubernetes
171
+ # ==============================================================================
172
+ .PHONY : deploy
173
+ deploy :
174
+ @$(MAKE ) deploy.k8s
175
+
176
+ # ==============================================================================
177
+ # # deploy.standalone: Deploy Layotto to Kubernetes in Standalone Mode
178
+ # ==============================================================================
179
+ .PHONY : deploy.standalone
180
+ deploy.standalone :
181
+ @$(MAKE ) deploy.k8s.standalone
182
+
183
+ # ==============================================================================
184
+ # # undeploy: Remove Layotto in Kubernetes
185
+ # ==============================================================================
186
+ .PHONY : undeploy
187
+ undeploy :
188
+ @$(MAKE ) undeploy.k8s
189
+
190
+ # ==============================================================================
191
+ # # undeploy.standalone: Remove Layotto in Kubernetes in Standalone Mode
192
+ # ==============================================================================
193
+ .PHONY : undeploy.standalone
194
+ undeploy.standalone :
195
+ @$(MAKE ) undeploy.k8s.standalone
196
+
168
197
# ==============================================================================
169
198
# # check: Run all go checks of code sources.
170
199
# ==============================================================================
@@ -291,6 +320,9 @@ ARGS:
291
320
This option is available when using: make build.multiarch/image.multiarch/push.multiarch
292
321
Example: make image.multiarch IMAGES="layotto" PLATFORMS="linux_amd64 linux_arm64"
293
322
Supported Platforms: linux_amd64 linux_arm64 darwin_amd64 darwin_arm64
323
+ NAMESPACE The namepace to deploy. Default is `default`.
324
+ This option is available when using: make deploy/deploy.standalone/undeploy/undeploy.standalone
325
+ Example: make deploy NAMESPACE="layotto"
294
326
endef
295
327
export USAGE_OPTIONS
296
328
0 commit comments