Docker Multi-Stage Builds

Docker Multi-Stage BuildsWe use docker images to have same application with its dependencies on any kind environment. Having compile time and runtime dependencies is the nature of a specific developer’s life. For example, in previous article, we had Golang dependency to build our Golang REST API. We need to design our dependencies carefully to eliminate … Continue reading Docker Multi-Stage Builds

Micro Docker Images for Go Applications

Micro Docker Image for Go ApplicationWe are able to run an application in seconds with Docker nowadays just by grabbing specific image within several official / custom docker images and that’s it. However, this easiness, using ready images for your application, may let us to have docker images with a size hundreds of megabytes ! In … Continue reading Micro Docker Images for Go Applications

Deploy Auto-Scalable Node.js Application on Kubernetes Cluster — Part 2

In previous article, we have setup kubernetes cluster by using minikube and applied some kubectl command to deploy sample Node.js application to kubernetes cluster. In this article, we will configure our application in a way that it will be auto-scaled according to cpu load. Fasten your belts ! Horizontal Pod Autoscaler Kubernetes helps us to scale … Continue reading Deploy Auto-Scalable Node.js Application on Kubernetes Cluster — Part 2

Deploy Auto-Scalable Node.js Application on Kubernetes Cluster — Part 1

We are facing crazy technologies everyday, and we — as developers — need to decide on ones that are more production ready. During this decision period, there are several parameters we use to convince our selves. Being able to simulate some production environment behaviours on developer machine is a must if I will say it is crazy. In this … Continue reading Deploy Auto-Scalable Node.js Application on Kubernetes Cluster — Part 1

Ultimate IoT with Docker, Jenkins, and Raspberry Pi — Installation

Jenkins Raspberry Pi DeploymentDocker is very popular nowadays and lots of companies try to use containerization technologies on different kind of platforms. Raspberry Pi has its own place on this containerization world in a special way. In this tutorial, I will mention about how to deploy contanierized Node.js application into Raspberry Pi 3 by using … Continue reading Ultimate IoT with Docker, Jenkins, and Raspberry Pi — Installation

The Hitchhiker’s Guide to Rancher — Installation

What is Rancher ? We are in cloud age right now, and there are several company provides cloud solutions. Beside this, containerisation technologies are now very simple to use Docker, but for production ready systems we need to use orchestration systems. Both cloud systems and orchestration systems has standards for all providers, you need to be … Continue reading The Hitchhiker’s Guide to Rancher — Installation

Zero Down Time Microservices

In GDG Devfest Istanbul, I have talked about Zero Down Time Microservices. The main concept was Microservices with Node.js dispatched by another Node.js application with service discovery backed by MongoDB. All the requests dispatched by dispatcher will be synchronized to Elasticsearch. By doing this, all the logs will be analyzed on Kibana and will be … Continue reading Zero Down Time Microservices

Don’t Try to Unit Test Controller Request Validation

Don’t try to unit test controller request validation, because MockMvc is a container-less spring platform that means exception resolver will not be activated during controller unit test. MethodArgumentNotValidException will not be resolved and you will get an empty response body with desired status(400 Bad Request) on your response inside unit test section. The best way … Continue reading Don’t Try to Unit Test Controller Request Validation