Understanding Kubernetes Architecture
Era Deployments
In the picture above you can see the current deployment era.
Introduction Learn Kubernetes
Requirements
- Colima
- Docker
- Kubernetes
- Minikube
Understanding Kubernetes or K8s
What we more often call containterize + orchestration
09 Configuring HTTP Router, HTTP Server and Database Connection
At this stage we will create the main
function of the project that we have created. In the main
function we will add several function initializations which are used to initialize all the resources
needed by the project such as database connections, handler initialization, usecases and repositories that we have previously created.
08 Adding a Request Validator Using Golang Playground
At this stage we will add validation for each request sent to the API Application on our Services for example on add, change and delete requests. The validation we use is package github.com/go-playground/validator.
07 Creating a Handler as a Data Delivery Layer
At this stage we will continue the project that we have created by creating a Delivery Layer. This layer as explained earlier is a layer that connects user requests with the logic layer.
06 Creating Usecases as Data Logic
This time we will continue the project of making this RESTFul API by creating a Usecase function. Previously it was discussed that this Usecase Layer will contain logic data or data processing which is used some logic needed in a process.
05 Creating a Repository as Access Data
This time we will create an Article Repository that needs to communicate to the MySQL database. We have a table in MySQL previously explained, then we will create functions that will be used for API specification needs. Here are the functions that we will like this
04 Implementing Clean Architecture on Project
At this stage we will try to implement Clean Architecture, where this concept according to Uncle Bob has 4 layers, namely
03 Creating a Database on MySQL Golang
At this stage we will try to create a database on MySQL in preparation for creating the table that we will also use later to create an API with the data in the database. Previously, if you didn’t have MySQL on a computer or laptop, prepare to install MySQL and the Database Editor first, you can use DBeaver, MySQL Workbench or what you usually use for database management.
Creating a Thumbnail Image Generator Using Pipeline Pattern
We also use Generate Image using Golang to make it easier for editors so they don’t need to edit using other applications so that we can easily put the desired image. Now santekno will try to create a Thumbnail Image generator that already exists in this tutorial. Suppose we want to make this thumbnail image more concise than the original image. Then we need to convert it into a lighter file with a small size. What if there are many images, then if we use the usual Golang sequencial, it will be long when we execute it. So, we will try to compare how the process of generating this Thumbnail image with sequential golang using concurrent Pipeline Patter.
Creating a Web Crawler using Golang
Web Crawlers are often used to retrieve something on a website so that we get the content we need. This is usually used for content needs. In this case we will try to use Golang to create a simple Web Crawler and will retrieve some content such as URLs on a website page.
02 Membuat API Specification menggunakan OpenAPI
At this stage we will try to create all the API Specifications related to the API that we will create so we need complete documentation using OpenAPI. If you haven’t installed OpenAPI in the repository, try reading the previous article first.