title: Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° ÑÐ¸ÑÑÐµÐ¼Ñ Ð¼Ð°ÑÑÑÐ°Ð±Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÑÐµÐ¿Ð»Ð¸Ðº Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¹ Ñ ÑÐµÐ»ÑÑ ÑÐ²ÐµÐ»Ð¸ÑÐµÐ½Ð¸Ñ Ð¾ÑÐºÐ°Ð·Ð¾ÑÑÑÐ¾Ð¹ÑÐ¸Ð²Ð¾ÑÑÐ¸ ÑÐ·Ð»Ð¾Ð² ÐºÐ»Ð°ÑÑÐµÑÐ° Kubernetes
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Developing a system for scaling application replicas to improve the fault tolerance of Kubernetes cluster nodes
Creators: name: ÐÐ°ÐºÑÐ¸Ð¼ÑÑÐº, ÐÐ°Ð»ÐµÐ½ÑÐ¸Ð½
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2020
Subjects: ÑÐ¸ÑÑÐµÐ¼Ñ Ð¾ÑÐºÐµÑÑÑÐ°ÑÐ¸Ð¸
kubernetes
prometheus
horizontal pod autoscaler
ÑÐ¸ÑÑÐµÐ¼Ñ Ð¼Ð°ÑÑÑÐ°Ð±ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð´ÑÐ»ÐµÐ¹
Ð¾Ð±ÑÐ°Ð±Ð¾ÑÐºÐ° ÑÐµÐ³ÑÐ»ÑÑÐ½ÑÑ Ð½Ð°Ð³ÑÑÐ·Ð¾Ðº
container orchestrators
hpa
autoscaler systems
regular loads

description: ÐÐ°ÐºÐ°Ð»Ð°Ð²ÑÑÐºÐ°Ñ Ð´Ð¸Ð¿Ð»Ð¾Ð¼Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¿Ð¾ÑÐ²ÑÑÐµÐ½Ð° Ð¿Ð¾Ð¸ÑÐºÑ Ð¿Ð¾Ð´ÑÐ¾Ð´Ð° ÑÐ²ÐµÐ»Ð¸ÑÐµÐ½Ð¸Ñ Ð¾ÑÐºÐ°Ð·Ð¾ÑÑÑÐ¾Ð¹ÑÐ¸Ð²Ð¾ÑÑÐ¸ ÐºÐ»Ð°ÑÑÐµÑÐ° ÑÐ¸ÑÑÐµÐ¼Ñ Ð¾ÑÐºÐµÑÑÑÐ°ÑÐ¸Ð¸ ÐºÐ¾Ð½ÑÐµÐ¹Ð½ÐµÑÐ¾Ð² Kubernetes. ÐÑÐ¾Ð²ÐµÐ´ÐµÐ½ Ð¾Ð±Ð·Ð¾Ñ ÑÐ¸ÑÑÐµÐ¼Ñ Ð³Ð¾ÑÐ¸Ð·Ð¾Ð½ÑÐ°Ð»ÑÐ½Ð¾Ð³Ð¾ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ð³Ð¾ Ð¼Ð°ÑÑÑÐ°Ð±Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð´ÑÐ»ÐµÐ¹ Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ¸ÑÑÐµÐ¼Ñ â horizontal pod autoscaler, Ð½Ð° Ð¾ÑÐ½Ð¾Ð²Ðµ ÐºÐ¾ÑÐ¾ÑÐ¾Ð³Ð¾ Ð±ÑÐ»Ð¸ Ð²ÑÑÐ²Ð»ÐµÐ½Ñ Ð½ÐµÐ´Ð¾ÑÑÐ°ÑÐºÐ¸ Ð² ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸ Ð°Ð»Ð³Ð¾ÑÐ¸ÑÐ¼Ð° ÑÐ°Ð±Ð¾ÑÑ Ð¸ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ.
Ð ÑÐ°Ð¼ÐºÐ°Ñ Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÑ Ð½Ð° Ð¾ÑÐ½Ð¾Ð²Ðµ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð½ÑÑ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ¾Ð² Ð±ÑÐ»Ð¸ Ð¿ÑÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ñ Ð´Ð²Ð°, Ð´Ð¾Ð¿Ð¾Ð»Ð½ÑÑÑÐ¸Ñ Ð´ÑÑÐ³ Ð´ÑÑÐ³Ð°, Ð¿Ð¾Ð´ÑÐ¾Ð´Ð° ÑÑÑÑÐ°Ð½ÐµÐ½Ð¸Ñ Ð¾Ð±Ð½Ð°ÑÑÐ¶ÐµÐ½Ð½ÑÑ Ð½ÐµÐ´Ð¾ÑÑÐ°ÑÐºÐ¾Ð². ÐÐ°Ð½Ð½ÑÐµ Ð¼ÐµÑÐ°Ð½Ð¸Ð·Ð¼Ñ Ð±ÑÐ»Ð¸ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ñ Ð² Ð²Ð¸Ð´Ðµ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ð»ÐµÑÐ¾Ð² ÑÐ¸ÑÑÐµÐ¼Ñ Kubernetes Ð¸ Ð¿ÑÐ¾ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ñ Ð½Ð° ÑÐµÐ¾ÑÐµÑÐ¸ÑÐµÑÐºÐ¸ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½ÑÑ Ð´Ð°Ð½Ð½ÑÑ. ÐÐ°Ð»ÐµÐµ Ð½Ð° Ð¾ÑÐ½Ð¾Ð²Ðµ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð½ÑÑ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ¾Ð² Ð±ÑÐ»Ð° Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð° Ð¾ÑÐµÐ½ÐºÐ° ÑÑÑÐµÐºÑÐ¸Ð²Ð½Ð¾ÑÑÐ¸ ÑÐ°Ð±Ð¾ÑÑ Ð´Ð°Ð½Ð½ÑÑ ÑÐ¸ÑÑÐµÐ¼.
Ð Ð¸ÑÐ¾Ð³Ðµ Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÑ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¾ Ð´Ð²Ð° ÐºÐ¾ÑÑÐµÐºÑÐ½Ð¾ ÑÐ°Ð±Ð¾ÑÐ°ÑÑÐ¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ð»ÐµÑÐ°, Ð¿ÑÐ¸ Ð¿Ð¾Ð¼Ð¾ÑÐ¸ ÐºÐ¾ÑÐ¾ÑÑÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ ÑÐ»ÑÑÑÐµÐ½Ð¸Ðµ ÑÐ°Ð±Ð¾ÑÑ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ð¹ ÑÐ¸ÑÑÐµÐ¼Ñ Ð³Ð¾ÑÐ¸Ð·Ð¾Ð½ÑÐ°Ð»ÑÐ½Ð¾Ð³Ð¾ Ð¼Ð°ÑÑÑÐ°Ð±Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÑÐµÐ¿Ð»Ð¸Ðº Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¹ Ð² Kubernetes, Ñ ÑÐµÐ»ÑÑ Ð¾Ð±ÐµÑÐ¿ÐµÑÐµÐ½Ð¸Ñ Ð²ÑÑÐ¾ÐºÐ¾Ð³Ð¾ Ð¿Ð¾ÐºÐ°Ð·Ð°ÑÐµÐ»Ñ Ð¾ÑÐºÐ°Ð·Ð¾ÑÑÑÐ¾Ð¹ÑÐ¸Ð²Ð¾ÑÑÐ¸ ÑÐ·Ð»Ð¾Ð² ÑÐ°Ð·Ð²ÐµÑÐ½ÑÑÐ¾Ð³Ð¾ ÐºÐ»Ð°ÑÑÐµÑÐ°.
description: The bachelor's thesis is dedicated to finding an approach to increase the fault tolerance of the Kubernetes cluster. All systems using for horizontal automatic scaling was analyzed. The weaknesses of the Horizontal Pod Autoscaler was detected based on the review of algorithm and architecture details of this system.
A part of this effort, two complementary approaches to eliminate the discovered weaknesses were proposed. These mechanisms were implemented as controllers of the Kubernetes system and tested on theoretically developed data.
Further, based on the obtained results, an assessment was made of the effectiveness of these systems.
As a result of this work, two correctly working controllers were obtained, which improve the horizontal automatic scaling system of application replicas in Kubernetes, in order to ensure a high fault tolerance rate of nodes at deployed cluster.