From 22a7acbaf6d9cf7b70fbd101082a9612575d7950 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 10 Sep 2021 22:03:28 +0800 Subject: [PATCH 1/4] Update README.md --- kubernetes/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index 26ab2f6a4..3057a5349 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -1,4 +1,7 @@ # Uptime-Kuma K8s Deployment + +⚠ Warning: K8s deployment is provided by contributors. I have no experience with K8s and I can't fix error in the future. I only test Docker and Node.js. Use at your own risk. + ## How does it work? Kustomize is a tool which builds a complete deployment file for all config elements. @@ -25,4 +28,4 @@ This ingressroute.yml is for the [nginx-ingress-controller](https://kubernetes.g - run ```kustomize build > apply.yml``` - run ```kubectl apply -f apply.yml``` -Now you should see some k8s magic and Uptime-Kuma should be available at the specified address. \ No newline at end of file +Now you should see some k8s magic and Uptime-Kuma should be available at the specified address. From 83fc844e8eaf59011eaabc8f617123c67416cc3b Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 10 Sep 2021 22:32:11 +0800 Subject: [PATCH 2/4] Update deployment.yml --- kubernetes/uptime-kuma/deployment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kubernetes/uptime-kuma/deployment.yml b/kubernetes/uptime-kuma/deployment.yml index a122509b0..b97ece210 100644 --- a/kubernetes/uptime-kuma/deployment.yml +++ b/kubernetes/uptime-kuma/deployment.yml @@ -30,6 +30,9 @@ spec: command: - node - extra/healthcheck.js + initialDelaySeconds: 180 + periodSeconds: 60 + timeoutSeconds: 30 readinessProbe: httpGet: path: / From e21a18a593436c74f95eb81e4fb4efecf2e3ccfe Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 11 Sep 2021 13:41:22 +0800 Subject: [PATCH 3/4] Update ask-for-help.md --- .github/ISSUE_TEMPLATE/ask-for-help.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.md b/.github/ISSUE_TEMPLATE/ask-for-help.md index a89d94218..f1ea1ac77 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.md +++ b/.github/ISSUE_TEMPLATE/ask-for-help.md @@ -12,6 +12,8 @@ Please search in Issues without filters: https://github.com/louislam/uptime-kuma **Info** Uptime Kuma Version: Using Docker?: Yes/No +Docker Version: +Node.js Version (Without Docker only): OS: Browser: From f8322de5dae3b666cd94d3e0acb080982115e567 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 11 Sep 2021 13:44:06 +0800 Subject: [PATCH 4/4] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index da89d154b..158b3e7e9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -25,10 +25,13 @@ A clear and concise description of what you expected to happen. **Info** -- Uptime Kuma Version: -- Using Docker?: Yes/No -- OS: -- Browser: +Uptime Kuma Version: +Using Docker?: Yes/No +Docker Version: +Node.js Version (Without Docker only): +OS: +Browser: + **Screenshots** If applicable, add screenshots to help explain your problem. @@ -36,3 +39,6 @@ If applicable, add screenshots to help explain your problem. **Error Log** It is easier for us to find out the problem. +Docker: "docker logs " +PM2: "~/.pm2/logs/" (e.g. /home/ubuntu/.pm2/logs) +