aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--git/git-init.md1
-rw-r--r--k8s/admin-prerequisite-tools.md25
-rw-r--r--k8s/convert-compose-to-k8s.md6
3 files changed, 31 insertions, 1 deletions
diff --git a/git/git-init.md b/git/git-init.md
index f90457c..620ce31 100644
--- a/git/git-init.md
+++ b/git/git-init.md
@@ -18,7 +18,6 @@ mkdir /var/www/git/<repository-name>.git
cd /var/www/git/<repository-name>.git
git init --bare
echo "<Short description of the repo>" > description
-
```
3. Client-side push
diff --git a/k8s/admin-prerequisite-tools.md b/k8s/admin-prerequisite-tools.md
new file mode 100644
index 0000000..9f224f4
--- /dev/null
+++ b/k8s/admin-prerequisite-tools.md
@@ -0,0 +1,25 @@
+# Admin prerequisite tools to administer the k3s cluster
+
+# tools
+
+- `kubectl`
+- `argocd` CLI
+- network access to the k3s master on port 6443
+ - `nc -zv 192.168.1.140 6443`
+
+# commands to pass
+
+```sh
+# On your PC, copy kubeconfig from k3s master
+scp username@<k3s-master-ip>:/etc/rancher/k3s/k3s.yaml ~/.kube/config
+
+# if sudo is needed :
+ssh username@<k3s-master-ip> 'sudo cat /etc/rancher/k3s/k3s.yaml' > ~/.kube/config
+
+# Edit the file to change the server IP to your master's IP
+# Change "server: https://127.0.0.1:6443" to "server: https://<k3s-master-ip>:6443"
+vim ~/.kube/config
+
+# Test it works
+kubectl get nodes
+```
diff --git a/k8s/convert-compose-to-k8s.md b/k8s/convert-compose-to-k8s.md
new file mode 100644
index 0000000..f6658fa
--- /dev/null
+++ b/k8s/convert-compose-to-k8s.md
@@ -0,0 +1,6 @@
+# Convert Docker Compose to Kubernetes
+
+A tool called Kompose can be used to convert Docker Compose to Kubernetes
+
+Website : https://kompose.io/
+Documentation : https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/
'>Update README.mdClyhtsuriva1-1/+2 2021-05-19Update README.mdClyhtsuriva1-8/+7 2021-05-19Update README.mdrelease/3.2.1Clyhtsuriva1-6/+21 2021-05-19Big updaterelease/3.2Clyhtsuriva55-235/+193 Restructuring the packages and adding a Constants.kt for the api URL. Also adding gson in Singletons.kt 2021-05-19Update README.mdClyhtsuriva1-1/+5 2021-05-14Update README.mdClyhtsuriva1-1/+3 2021-05-14Update README.mdClyhtsuriva1-0/+23 2021-05-14Update README.md and adding logo onto the main screenrelease/3.1Clyhtsuriva2-10/+13 2021-05-14Singletons on all pages : OKClyhtsuriva6-125/+81 2021-05-14Singletons : DetailTopManga : OKClyhtsuriva2-21/+49 2021-05-14Addedd Singletons for TopManga.Clyhtsuriva3-23/+43