Intensive by Kubernetes: on the work of support

 3r3149. 3r3-31. 3r3133. On February 1-? Slurm-3 will be held, intensively by Kubernetes. Announcement and program here.
3r3-33132.  3r3149. 3r3133. Today I will tell you a little about the internal kitchen: how we help students cope with the practice and what comes of it. At the same time, future participants will understand what to expect from support.
3r3-33132.  3r3149. 3r3133. Intensive by Kubernetes: on the work of support 3r3-33132.  3r3149. 3r3133. I myself go through paid courses 2-3 times a year, always take options with practice, and very rarely finish it. For me, the situation looks as if I ordered a kilogram of steak in a restaurant: ...
+ 0 -

Top reports of JPoint 2018: Java /JVM and its performance, Kotlin, Spring, Docker

Top reports of JPoint 2018: Java /JVM and its performance, Kotlin, Spring, Docker 
3r3-31.
We have already posted videos of JPoint 2018 reports on YouTube and, specifically for the Java hub on Habré, we have made a traditional selection of the best of them according to conference visitors.
 
As usual, the top “junior” reports, in the end - with the highest rating. Of course, this does not mean that one report is much worse than another: if you change the calculation method, places can easily change. In reality, we changed it, now the “soft quorum” version of the rating is used, taking into account the number of participants present at the report. This approach has its drawbacks ...
+ 0 -

Comparing NPM vs Yarn speed

A long time ago, an analogue of npm appeared, Yarn is another client for managing npm packages, which was positioned as a super fast Facebook brand to replace npm.
 
 
If you are working on a large project, then the package recovery time is an important factor in the speed of development and the build project of ci.
 
 
It was decided to check whether to use Yarn as a replacement for Npm. since there are a lot of packages on weak build agents, recovery can take up to 2 minutes.
 
 
Comparing NPM vs Yarn speed
 
 
So, the test script is quite simple:
 
- Parallel launch of two[npm i и yarn inatall]restorations. from the same packages.json.
 
 
3r330. Co...[/npm]
+ 0 -

Advanced multi-stage build templates

 3r33338. 3r3-31. 3r3333317. Advanced multi-stage build templates
3r33333.  3r33338. 3r3333317. The multistage assembly feature in Dockerfile files allows you to create small images of containers with a higher level of caching and a smaller amount of protection. In this article, I’ll show several advanced templates — something more than copying files between build and execute steps. They allow you to maximize the effectiveness of the function. However, if you are a beginner in the area of ​​multi-stage assembly, then first, probably, it will not be superfluous to read r3r38. 3r3325 usage guide .
3r311.
3r33333.  3r33338.
Compatible versions ...
+ 0 -

Checking the LibrePCB project using PVS-Studio inside the Docker container

Checking the LibrePCB project using PVS-Studio inside the Docker container 3r38080. 3r3669.  
This is a classic article about how our team checked the open LibrePCB project with the help of the PVS-Studio static code analyzer. However, the article is interesting because the check was carried out inside the Docker container. If you are using containers, we hope that the article will demonstrate another simple way to integrate the analyzer into the development process. 3r3669.  
3r311.
3r3669.  
3r3654. LibrePCB
3r3669.  
LibrePCB - this is free software for designing electronic circuits and printed circuit boards. The program code is written in C ++, and Qt5 is used ...
+ 0 -

TeamCity 2018.2: GitHub Pull Requests support, secondary server, installation of plug-ins from repository, screenshots in tests

 3r3191. 3r3-31. 3r3176. Hi, Habr! Recently a new version of TeamCity - 2018.2 has been released! JetBrains CI /CD server gets better and more beautiful with each release, and this time is no exception. 3r3179. 3r3174.  3r3191. 3r3176. You can look at the full list of changes in the documentation 3r3164. , and here I will focus on the most juicy features of this release. 3r3179. 3r3174.  3r3191. 3r3176. TeamCity 2018.2: GitHub Pull Requests support, secondary server, installation of plug-ins from repository, screenshots in tests 3r3164. 3r3174.  3r3191.

Building GitHub Pull Requests

3r3174.  3r3191. 3r3176. TeamCity was able to work with pull-requests earlier, but in 2018.2 we added the ability to set up filter ...[/h]
+ 0 -

Performance checks and gradual degradation of distributed systems

 3r33466. 3r3-31. Performance checks and gradual degradation of distributed systems  3r33466.
As always, thanks Fred Hebert and Sargun Dhillon for having read the draft of this article and offered some invaluable advice. 3r311.
 3r33466.
In its 3r3r166. speed report 3r3449. 3r318. Tamar Berkovichi
from Box stressed the importance of performance checks during automatic database failover. In particular, she noted that monitoring the runtime of end-to-end queries, as a method for determining database health, is better than simple echo testing (pinging).
 3r33466.
switches traffic to another node, thereby eliminating the problem. We had to build in some security ...
+ 0 -

Docker Remote API with certificate authentication with revocation checking

Problem Description
 
For the needs of remote control of Docker, Docker can provide web API.
 
This API can either not require authentication at all (which is highly discouraged), or use certificate authentication.
 
The problem is that native certificate authentication does not provide for certificate revocation checking. And this can have serious consequences.
 
I want to tell how I solved this problem.
3r318.
 
Solution of the problem 3r3203.
 
First you need to say what to say, I will be about Docker for Windows. Maybe Linux is not so bad, but now is not about that.
 
What we have? We have ...
.NET / C# / DevOps
+ 0 -

Devops, JUnit5 and microservice testing: a subjective view of the Moscow “Heisenbag”

Devops, JUnit5 and microservice testing: a subjective view of the Moscow “Heisenbag” 3r33333.  
3r33333.  
On December 6-? the fifth Heisenbag conference took place in Moscow. 3r33333.  
Her slogan is “Testing. Not only for testers! ”, And for two years of regularly visiting Heisenbagov, I (formerly a Java developer, now a technical leader in a small company that had never worked in QA) managed to learn a lot about testing and implement a lot in our team. I want to share a subjective review of the reports I remembered this time. 3r33333.  
3r33333.  
Liquid Software ) 3r349. 3r33333.  
3r33333.  
Those who are engaged in Java and attend conferences of the JUGRU Group, Baruh ...
+ 0 -

Highly available and scalable Elasticsearch in Kubernetes

Highly available and scalable Elasticsearch in Kubernetes 3r3958.  
In Previous post we scaled the MongoDB replica set and met StatefulSet. We will now orchestrate Elasticsearch high-availability cluster (with other master nodes, data nodes, and client nodes) and use ES-HQ and Kibana. 3r33961. 3r3958.  
You will need:
3r3958.  
 
Basic idea of ​​Elasticsearch, its node types and their roles. 3r33780.  
A working Kubernetes cluster with at least three nodes (at least four cores, 4 GB). 3r33780.  
Ability to work with Kibana. here 3r33766. . 3r33961. 3r3958.  
3r33939..
.
+ 0 -