From a69b9942ea6064e42f35c0b198b6c363bf71709e Mon Sep 17 00:00:00 2001
From: Paolo Brasolin <paolo.brasolin@eurac.edu>
Date: Mon, 28 Feb 2022 18:34:39 +0100
Subject: [PATCH] docs: #be notes on k8s deployment

---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index d805d02..14cdac5 100644
--- a/README.md
+++ b/README.md
@@ -36,3 +36,12 @@ Also, remember to
     This operation permits the ui to call the backend at `http://localhost:8080/oetzi_words/` instead of to the relative path.
 
 The webapp will be abailable at `http://localhost:1234`.
+
+## Deployment
+
+```bash
+# Please validate before deploying (note the cluster is 1.10.11 but 1.11.0 is the nearest one that works):
+kustomize build backend/k8s/overlays/ENV/ | kubeval --kubernetes-version 1.11.0
+# We're on an old version and there's no -k flag:
+kustomize build backend/k8s/overlays/ENV/ | kubectl apply -f -
+```
-- 
GitLab