From 6f76fff77edb09fa7f4b8b1394b7ee5bf4b7ee58 Mon Sep 17 00:00:00 2001 From: Ulises Gascon Date: Thu, 4 May 2023 23:07:45 +0200 Subject: [PATCH 1/2] feat: added pod limits --- k8s/api-deployment.yml | 12 +++++++----- k8s/landing-deployment.yml | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/k8s/api-deployment.yml b/k8s/api-deployment.yml index a68e53a..aeeeb4b 100644 --- a/k8s/api-deployment.yml +++ b/k8s/api-deployment.yml @@ -26,11 +26,13 @@ spec: image: ulisesgascon/simple-api:latest ports: - containerPort: 3000 - # resources: - # requests: - # cpu: 500m - # limits: - # cpu: 500m + resources: + requests: + memory: "100Mi" + cpu: 100m + limits: + cpu: 200m + memory: "250Mi" livenessProbe: httpGet: path: /__/health diff --git a/k8s/landing-deployment.yml b/k8s/landing-deployment.yml index 0fa7de8..2da5f89 100644 --- a/k8s/landing-deployment.yml +++ b/k8s/landing-deployment.yml @@ -26,11 +26,13 @@ spec: image: ports: - containerPort: 80 - # resources: - # requests: - # cpu: 500m - # limits: - # cpu: 500m + resources: + requests: + memory: "100Mi" + cpu: 100m + limits: + cpu: 200m + memory: "250Mi" livenessProbe: httpGet: path: / From 6c12177765786368276c56ab135f8e7444b5f734 Mon Sep 17 00:00:00 2001 From: Ulises Gascon Date: Thu, 4 May 2023 23:14:20 +0200 Subject: [PATCH 2/2] feat: improve copy --- README.md | 3 +-- landing/src/index.html | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f7e399c..0ba3677 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,7 @@ ![logo](/art/demo_foo_logo.png) -**[demo.foo](https://demo.foo) offers a variety of free and open-source utilities for developers, such as fake APIs, conversion tools, and more.** - +**[demo.foo](https://demo.foo) offers a variety of free and open-source utilities for developers, such as test APIs, conversion tools, and more. ## Current Projects: diff --git a/landing/src/index.html b/landing/src/index.html index 716d9f6..b4e1248 100644 --- a/landing/src/index.html +++ b/landing/src/index.html @@ -65,13 +65,13 @@

What is api.demo.foo?

In today's fast-moving digital landscape, it is essential for developers to test and prototype their products before launching them in the market. The process can be both time-consuming and expensive, which is - why the use of fake APIs has become increasingly popular. To address - this need, we are proud to offer a free fake API for testing and + why the use of test APIs has become increasingly popular. To address + this need, we are proud to offer a free test API for testing and prototyping, designed to facilitate the app and software development process.

- Furthermore, our fake API's versatility makes it ideal for prototyping. + Furthermore, our test API's versatility makes it ideal for prototyping. With minimal effort, developers can create mock data for their products, making it possible to test and evaluate their prototypes without having to build a complete backend system. This not only saves valuable time