Skip to main content

Posts

Showing posts from June, 2021

Getting to know Kubernetes core principles and how to create a Kubernetes Cluster on Google Cloud

Introduction In this post you are going to learn the core principles of Kubernetes and how to create a k8s cluster in Google Cloud Project Creation and Confiuration The first thing you need to do on GCP in order to create a Kubernetes cluster is to create a project so you can later be able to add services to it. So, go to your Google Cloud Console and create a new project now if you haven´t done it yet. With our project created we need to enable the Kubernetes Engine API for the project so we can start using the gcloud client to configure and create our cluster. So, those are the steps we will need to cover after our project creation: 1. Enable Kubernetes Engine API in the Google Cloud Console 2. Install gcloud client 3. Install kubectl client 4. Logging to GCP 5. Setting a Project ID 6. Creating a Cluster 7. Creating a Pod 8. Creating a Service 9. Increase replica count 1. Enable Kubernetes Engine API in the Google Cloud Console Go to th

Meet NoSQL.js an in-memory database through REST API.

If you need an in-memory database through REST API that can load and aggregate external data into a single api with support for persistence to a json file, a middleware hook ready to log api requests while also updating your relational database, you might find this post interesting. We all know database operations are costly and is always a good idea to have some sort of cache of it near our frontend application for faster access and operations and is also much better to have to interact with it through a rest api without the need to interact with all that drivers and connections stuffs. What problem does i think it solve? This post is going to be a long one. I am going to show and talk about my open source project of an in-memory rest database made in NodeJS with no addition of external libraries so ever, just raw NodeJS to handle all API´s requests, that can be used for cache as a service, mock, database aggregator for a rest service and can even update your database with out-o