Infrastructure as Code is slowly rising and for good.
Nowadays, addressing Infrastructure orchestration with the popular manual approach is not acceptable any longer. While the shift to the Cloud brings an extensive toolbox, complexity exponentially increases and a management solution should be put in place.
Back in the days, Operations and Infrastructure management has always been a hidden area where the domain was completely scoped to few experts or teams.
Could this “challenge” be addressed from the Development point of view?
Of course. And there are a lot of solutions which face it. Terraform is one of them.
For development purposes, it would be great to have a Kubernetes Production Cluster locally, and with this article, I am going through the basic setup in order to start using a good one.
There are few open-source solutions to achieve the task of deploying Production-Ready Kubernetes clusters, but I selected Kubespray.
It comes with Ansible playbooks (deploy, upgrade, utils and extras) and with plenty of tests.
What is supposed to be already installed:
Let’s clone the official repo:
Afterward, moving into the cloned repo, we can start the installation of the tools…
In VueJS there are few ways to compose components and reuse logic. In this article, I would like to demonstrate a way to boost composition in Vuejs (2.* and 3.*).
I really like the recent proposals regarding the Composition API, but I think that can be part of a broader view.
Below, you can find a component implementing a general use case (a simple data fetching from a remote endpoint and displaying the different transitions and data), though most of the logic is always duplicated along with the template, data, and other variables when the same logic is applied to…
Who are Elite Performers according to the DevOps DORA Assessment and what are their secrets?
According to the research, Elite Performers have been compared to the rest of identified performers and they can be identified for having:
The complete report could be accessed at the following link.
These numbers look awesome but what…
Today, Kubernetes is an amazing orchestrator while Tekton is one of the most recent solutions to native CI/CD in-cluster and, IMHO, this combination is spectacular.
In my career, I have been progressively embracing DevOps practices over the years, working with different tools and applying different approaches.
Then, suddenly I checked Tekton Pipelines and, boom, it addresses all the issues I was having in the past (I may name dozens of them), from duplication in the pipelines to tasks’ dependencies.
These few lines are not going to focus on what is Tekton but how it can be used to achieve Continuous…
In this article, I would like to demonstrate how a simple library might help us to enhance our code, logic, algorithms with something safer, more resilient and more predictable: Sanctuary!
This library is relying on Functional Programming, Fantasy Land…
I am a huge fan of TDD (Test Driven Development) and I really suggest everyone practice it or, at least, give it a try with some kata or small exercise.
Today, with the latest UI frameworks supported by related testing libraries, TDD is way easier than before and it actually helps a lot defining, catch and test possible components’ scenarios.
I clearly saw the benefits of these practices while testing React components with Enzyme (at really early stages of those libraries). If components are easy to test (and layout scenarios), you are on a good path.
In my career, I…
Recently, I have been embracing Clojure and ClojureScript since it’s fascinating a lot to me, so I consider myself at the beginning of a really long path.
I have tried to assemble a Front End stack that is appealing to me and I struggled to find examples on testing component rendering through UI (I find it a really good practice — and strongly suggest it), and given the fact I am a TDD/BDD fan, I decided to give it a try on my own.
At the moment I am writing this article, there are many ways to solve a specific problem.
With this article, I’d like to give you an inspiration that might change the current approach you are using in your applications.
RxJS might be associated with something like really complex to implement, test and maintain.
What if I would tell you that it’s actually really easy to integrate, implement and test even in a generic (small, medium, big) VueJS application?
At this point, I assume you are familiar with basic Typescript approaches and how to use the language in a Vue application. In case you’d like to have a look at a basic TS example, I suggest to check this repo out: https://github.com/Microsoft/TypeScript-Vue-Starter
According to the official documentation, Vuex is defined this way:
Vuex is a state management…