Advanced Search
Search Results
305 total results found
Wait for connection if not available, timeout 600 seconds
- hosts: vivumlab gather_facts: no pre_tasks: - name: Wait for connection if not available, timeout 600 seconds wait_for_connection: timeout: 600 delay: 0 when: vlab_connection_wait == true tasks: - name: Restart serv...
Basics of autoscaling nodes and pods in Kubernetes
Hosting Kubernetes with a provider like Google Cloud Platform or Amazon Web services offloads a lot of management for Kubernetes administrators. One of the major benefits of hosted Kubernetes is automatic scalability, which almost all cloud platforms offer. In...
Установка crossplane
Запуск проекта helm repo add crossplane-stable https://charts.crossplane.io/stable helm repo update helm install crossplane --namespace crossplane-system crossplane-stable/crossplane Запуск проекта с нестанартной конфигурацией. Если для запуска проекта необх...
Подключение crossplane к yandex
Установка провайдера Создаем ключ для доступа в yandex и помещаем его в кубер yc iam service-account create --name crossplane yc resource-manager folder add-access-binding <folder_id> --service-account-name crossplane --role editor yc iam service-account get c...
Deploying a service using ansible and systemd
You may be a sole developer or member of a small development team with no dedicated ops people. You will probably have a handful of small-ish services, perhaps a few cronjobs and a couple of VPSs to run them on. Or you may have one or more servers at home and ...
Удаление ноды через cron
В крон помещаем запись вида: */5 * * * * /root/deletenode.sh Каждые пять минут запускаем скрип /root/deletenode.sh следующего содержания: #!/bin/bash LOGGERTAG=nodeDeletion kubectl --kubeconfig /etc/kubernetes/admin.conf get nodes | grep NotReady | awk '{pri...
Настройка безотказного K8s
Независимо от того, пользуетесь ли вы k8s недолго, или вы все еще проверяете его, это говорит, что вы уже имели дело с ним ранее. Но что же такое настройка безотказного k8s кластера? Что такое события k8s? Приходилось ли решать проблемы k8s при его использова...
Cluster Autoscaler: как он работает и решение частых проблем
Что такое Cluster Autosc Kubernetes представляет несколько механизмов для масштабирования нагрузки. Три главные механизмы это : VPA, HPA, CA. CA автоматически подбирает количество нод в кластере под требования. Когда число подов, которые находятся в очереди на...
Kubernetes Rolling Update Configuration
Deployment controllers are a type of Pod controller in Kubernetes. They provide fine-grained control over how its pods are configured, how updates are performed, how many pods should run, and when pods should be terminated. There are many resources available f...
Building a WebRTC video and audio Broadcaster in Golang using ION-SFU, and media devices
Gabriel Tanne Gabriel Tanner Building a WebRTC video and audio Broadcaster in Golang using ION-SFU, and media devices Table of Contents In this tutorial, you will build a video broadcasting application that reads the camera in Golang and sends it to the ION-SF...
Новая страница
Структура NeuralNet NeuralNet {} FirstRun() Train() Predict() LoadModel() WriteModel() Псевдокод Загружаем модель Делаем выбор ячейки Формируем матрицу для предсказания Предсказываем следующий шаг Если модель пустая и результат пустой выбираем поле с...
HOW TO SET UP SEVEN SEGMENT DISPLAYS ON THE ARDUINO
Seven segment displays are used in common household appliances like microwave ovens, washing machines, and air conditioners. They’re a simple and effective way to display numerical information like sensor readings, time, or quantities. In this tutorial, we’ll ...
GTK3 app
package main import ( "log" "github.com/gotk3/gotk3/gtk" ) func main() { gtk.Init(nil) //новое окно win, err := gtk.WindowNew(gtk.WINDOW_TOPLEVEL) if err != nil { log.Fatal("Unable to create window:", err) } win.SetTitle("MP3 Player") win.Connec...
Обзор микроконтроллера ESP8266
Template
Things Use bash. Using zsh or fish or any other, will make it hard for others to understand / collaborate. Among all shells, bash strikes a good balance between portability and DX. Just make the first line be #!/usr/bin/env bash, even if you don’t give executa...
Как взаимодествовать с OLED дисплеем через ESP32?
В этой инструкции, мы изучим как взаимодействовать с OLED дисплеем через ESP32 плату разработки. Графический OLED дисплей используемый в проекте основан на SSD1306 OLED драйвере IC и взаимодействует через SPI. Его можно испопльзовать для отображения текста, к...
How to use MQTT in Golang
Golang is a statically strongly typed, compiled, concurrent, and garbage-collecting programming language developed by Google. Go is expressive, clean, and efficient. Its concurrency mechanism makes it easy to write programs that maximize the use of multicore a...
2 способа направить трафик Ingress между пространствами Kubernetes
The tech industry of full of workarounds, you are probably using or relying on some workaround. And there is no problem with that per se. But most important is that when you do a workaround you should be aware of that and change it to the standard way if it'...
Haskell-based Infrastructure
In my previous post I focused on the build and development tools. This post will conclude my series on Capital Match by focusing on the last stage of the rocket: How we build and manage our development and production infrastructure. As already emphasized in th...
Энкодер
Схема подключения Код #define CLK 2 // Указываем к какому выводу CLK энкодер подключен к Arduino #define DT 3 // Указываем к какому выводу DT энкодер подключен к Arduino #define SW 4 //...