For a quick test of horizontal autoscaling of an NginX deployment, we need the following ingredients: a metrics server installation to be able to measure the POD's CPU an nginx deployment with a CPU reservation an auto scaler configuration a…
Metricbeat on Kubernetes – Kubernetes Series (11)
Three ways of installing Metricbeat (a performance monitoring solution) on Kubernetes are compared: native vs. helm with set options vs helm with values options. Metricbeat helps us monitoring performance indicators like CPU, Memory, Disk and many more on your Kubernetes nodes. We will show that (and why) installing Metricbeat via helm based on values file is the quickest way of installing Metricbeat. You just need to copy the Metricbeat chart's values file, adapt it to your needs and run a helm command in order to roll out the Metricbeat agent to all nodes of your Kubernetes cluster.
Angular 6 Docker Example
In this Angular Docker Example, we will take an existing Angular 6 application and run it in a Docker container. We will show, how to create a Docker image in a modern two-stage process. We then will spin up the application…
Mesos and Marathon REST API via cURL — A Hello World Example
In this hello-world style blog post, we will learn how to create load balanced Docker services in an open source DC/OS & Mesos environment. For that, we will perform Mesos and Marathon REST API calls using simple cURL commands. First, we will…
Testing the Hetzner Cloud API via cURL — IaaS Automation
In this blog post, we will be testing the Hetzner Cloud API. As a "Hello World" example, we will learn how to add an API key to a project and use the API key to do the following: add an…
Properly move a Website to a new Domain with minimized SEO Losses
Are you planning to move your website to a new domain? Be prepared to lose a large portion of your traffic. In this blog post, we will talk about how to properly move a website to a new domain and how…
GIT remove large binary Files
In this blog post, I will show how to completely remove large files from a GIT repository and its GIT history. I have found many examples on the net, but it was still a challenge to reduce the size of…
Getting Started with DC/OS on AWS
In the step-by-step tutorial Getting Started with DC/OS on Vagrant, we have learned how to install a MesosPhere DC/OS data center operating system locally. This time, we will install a DC/OS system on AWS Cloud: existing AWS CloudFormation templates will help us create…
Angular Universal Docker Example (Angular 4 Universal CLI)
In this previous blog post, I have shown how to dockerize an Angular CLI application using NginX. However, the shown method has worked only for classical, client-side rendered Angular projects. In the current post, we will show an Angular Universal…
Angular Universal CLI – Step-by-Step Example with REST Client
This time we will learn how to create a small Angular Universal CLI project that is using the WordPress REST service to retrieve and display the title and content of a WordPress blog post. Angular Universal CLI combines the Universal…
Behavior-Driven Angular – Part 2: Inserting REST Data as „innerHTML“ into a Web Application
Today, we will extend the behavior-driven development example of the previous blog post and add the blog content to the document. Like last time, we will retrieve the HTML content from the WordPress API. Sounds easy, right? We will see that…
Angular 4 Docker Example – for Angular CLI projects
Check out a new Angular 4 Docker Example that has also been tested with Angular 6 here. In this Hello-World-like tutorial, we will show how to run Angular 4 applications that have been created with Angular CLI in a Docker container.…
Adding Swap to CentOS
I describe how to add swap to CentOS and why using dd instead of fallocate for this. Why? In my case, I wanted to take the opportunity of an AWS promotion, which limits the DRAM to 1 GB. The CentOS…
Resolving the VirtualBox code E_FAIL Problem caused by Hyper-V
Shoot! The Microsoft update this morning has caused trouble with my VirtualBox installation. Again! This is the second or third time I had to search for my blog post that is describing the resolution in an appendix. Since the number…
Behavior-Driven Angular – part 1: Consuming a RESTful Web Service with Angular 4
In this step-by-step tutorial, we will follow a behavior-driven development approach to create an Angular 4 application from Angular CLI. The hello-world-like application will consume the WordPress REST API and it will display a blog post title. We will create…
Angular end to end Testing
- Angular e2e Protractor Tests on Systems without GUI applied to static and dynamic Web Pages - In this blog post, we will show how to perform end-to-end (e2e) tests with Angular 4: first, we will apply Protractor end to end…
JHipster: Exploring and Improving the Spring Boot REST API
In our last blog post, we have created a simple blog application using JHipster, which is a Yeoman based code generator for Angular and Spring Boot. This time, we will explore and improve the Spring Boot REST API that is generated…
Hello Java Hipster: Angular 4 and Spring Boot
In this blog post, Java Hipster will help us creating a mini blog application based on Angular 4 and Spring Boot. Angular is a popular framework for creating reactive single page applications, while Spring Boot is a robust java-based backend framework…
Angular 4: Automatic Table of Contents – Part 2: Adding Links
In this short blog post, we will learn how to enrich the table of contents (we had added in the previous blog post) with links to the corresponding headline. The end result will look similar to the following picture and…
Angular 4: Automatic Table of Contents
In this step by step tutorial, we will go through the process of creating a two-level automatic Table of Contents by adding Angular Typescript/javascript code. We will perform following steps: We will discuss alternative solutions. We will start an Angular…