M
M
Vladimir
А должен быть слегка подсушенный, пол дня хотя бы
Artem
чуваки, расскажите плиз как мне сделать автоматическое добавление алармов в coudwatch для созданных новых очередей в sqs
M
Artem
ну меня интересует как это построить, не руками же создавать эти алерты. Мне на каждую очередь надо сделать по триггеру, о слишком большом количестве сообщений в ней
Artem
я думал это сделать через cloudwatch events, но чет так и не сообразил как
Anonymous
Уважаемые. У меня одного сейчас azure pipelines виснет? Публичный пулл
Виктор
Всем привет. Есть ли нормальные российские ssl-регистраторы?
Виктор
Я только начал входить в мир программирования, сорян за глупые вопросы
M
используй lets'ecnrypt
M
зачем тебе российские ssl-регистраторы?
M
я увидел статью в треде nginx
M
надо пережевать для начала
Виктор
тз такое, =(
M
ну reg.ru
M
чо
M
nic.ru
M
оба днища кстати
Виктор
они у alphassl ведь берут?
Yuriy
Виктор
Yuriy
агась=(
Криптопро с их центром вам в руки тогда
M
ну так было год назад точно
Navern
уверен и рег.ру и ник.ру просто посредники в заказе сертов
Navern
Странное требование
Igorь
Ребят, кто сталкивался с такой проблемой раннера?
Входные данные:
1) Kubernetes, privileged = true
2) хочется сборку в dind
3) Темплейт сборки:
.build-template: &build-template
stage: build
image: docker:19.03.1
services:
- docker:19.03.1-dind
before_script:
- export DOCKER_HOST="tcp://localhost:2376"
- export DOCKER_TLS_CERTDIR=""
- docker info
Выдает ERROR: Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?. Делалось по докам: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-disabled
George
George
мы покупали вполне себе зарубежный серт в вполне себе российской фирме
George
https://www.leaderssl.ru/
Виктор
зачем?
Блокировка в муниципальном цоде
George
и что?
George
George
ща
George
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://localhost:2375
Build Docker Images:
stage: build
image: docker:stable
services:
- name: docker:18.09.6-dind
entrypoint:
- /bin/sh
command:
- -c
- update-ca-certificates && dockerd-entrypoint.sh
tags:
- k8s-testlab
script:
...
George
энтрипойнт можешь не переопределять - это наша внутренняя кухня
Igorь
Igorь
localhost:2375
George
у тебя ПОД ТОТ ЖЕ в котором сборка
George
🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️
M
Igorь
Aleksey
Девопсы на канале есть? Скажите как считается steal time?
Tadeusz
гыг, CPU?
George
Tadeusz
https://scoutapm.com/blog/understanding-cpu-steal-time-when-should-you-be-worried
Pavel
он спрашивает, как считается
Aleksey
Pavel
и это интересный вопрос
Tadeusz
>What if steal time is well above zero?
а все началось с этого?
Tadeusz
Aleksey
Tadeusz
In a virtual environment, CPU cycles are shared across virtual machines on the server. If your VM displays a high %st in top (steal time), this means CPU cycles are being taken away from your VM to serve other purposes. You may be using more than your share of CPU resources or the physical server may be over-sold. Move the VM to another physical server. If steal time remains high, try giving the VM more CPU resources.
Aleksey
Всё началось с того что виртуальный проц должен иметь виртуальный монотонный счётчик времени. И я не понимаю как без него посчитать сколько украли. У меня есть нездоровое подозрение что оно не считается а задаётся гипервизором
Aleksey
George
George
если ДА, то ты можешь посчитать настоящее время и его дельту от кажущегося
Aleksey
George
если нет и гипервизор эмулирует, то я даже хз
Aleksey
Он должен возвратить виртуальное
Pavel
https://elixir.bootlin.com/linux/latest/source/kernel/sched/cputime.c
Pavel
проста гипервизор отдает
Aleksey
George
вопрос в том, что можно запатчить гипервизор так, что он будет нас обманывать?
Aleksey
Вообще началось с того что я не видел там значения отличные от нуля. Даже когда соседи ацки шумные
Aleksey
Видимо я что-то не включил в вмваре?
Pavel
про варю не знаю, в kvm всякое видал. Как своём, так и амазоновском
Pavel
Спасибо. С телефона так себе гуглится
MSR_KVM_STEAL_TIME: 0x4b564d03
data: 64-byte alignment physical address of a memory area which must be
in guest RAM, plus an enable bit in bit 0. This memory is expected to
hold a copy of the following structure:
struct kvm_steal_time {
__u64 steal;
__u32 version;
__u32 flags;
__u8 preempted;
__u8 u8_pad[3];
__u32 pad[11];
}
whose data will be filled in by the hypervisor periodically. Only one
write, or registration, is needed for each VCPU. The interval between
updates of this structure is arbitrary and implementation-dependent.
The hypervisor may update this structure at any time it sees fit until
anything with bit0 == 0 is written to it. Guest is required to make sure
this structure is initialized to zero.
Fields have the following meanings:
version: a sequence counter. In other words, guest has to check
this field before and after grabbing time information and make
sure they are both equal and even. An odd version indicates an
in-progress update.
flags: At this point, always zero. May be used to indicate
changes in this structure in the future.
steal: the amount of time in which this vCPU did not run, in
nanoseconds. Time during which the vcpu is idle, will not be
reported as steal time.
preempted: indicate the vCPU who owns this struct is running or
not. Non-zero values mean the vCPU has been preempted. Zero
means the vCPU is not preempted. NOTE, it is always zero if the
the hypervisor doesn't support this field.
Pavel
NOTE, it is always zero if the the hypervisor doesn't support this field. ЫЫЫЫЫЫЫ, а варя сапортед? ))))
George
ОРУ
Tadeusz
омг
amdmax
Anonymous
Господа. Как из azure pipilines безболезненно склонить другую репу.