Forwarded from CatOps
YouTube
TFLint - A pluggable Terraform linter
Video timeline:
0:00 - Hi!
12:50 - Automate importing into Terraform (https://github.com/apparentlymart/terrafy)
20:00 - "The true and false result expressions must have consistent types. The given expressions are object and object, respectively."
46:10 …
0:00 - Hi!
12:50 - Automate importing into Terraform (https://github.com/apparentlymart/terrafy)
20:00 - "The true and false result expressions must have consistent types. The given expressions are object and object, respectively."
46:10 …
Forwarded from Sysadmin Tools 🇺🇦
Новая статья в блоге — про Kubernetes-операторы для PostgreSQL вообще и наш опыт с решением от Zalando в частности: https://habr.com/ru/company/flant/blog/520616/
Хабр
Краткий обзор операторов PostgreSQL для Kubernetes, наш выбор и опыт
Всё чаще от клиентов поступают такие запросы: «Хотим как Amazon RDS, но дешевле»; «Хотим как RDS, но везде, в любой инфраструктуре». Чтобы реализовать подобное...
Forwarded from Записки админа
🧩 Делаем инкрементальные бекапы с помощью BTRFS - Incremental backups with Btrfs snapshots.
#напочитать #btrfs
#напочитать #btrfs
Forwarded from DevOps&SRE Library
Securing K8s Ingress Traffic with HashiCorp Vault PKIaaS and JetStack Cert-Manager
https://medium.com/hashicorp-engineering/securing-k8s-ingress-traffic-with-hashicorp-vault-pkiaas-and-jetstack-cert-manager-cb46195742ca
https://medium.com/hashicorp-engineering/securing-k8s-ingress-traffic-with-hashicorp-vault-pkiaas-and-jetstack-cert-manager-cb46195742ca
Forwarded from DevOps&SRE Library
helm-docs
The helm-docs tool generates automatic documentation from helm charts into a markdown file. The resulting file contains metadata about the chart and a table with all of your charts' values, their defaults, and an optional description parsed from comments.https://github.com/norwoodj/helm-docs
Forwarded from DevOps&SRE Library
Говорят тут где-то должны появиться комменты. Но я чет хз как их включить :)
Forwarded from Sysadmin Tools 🇺🇦
Автоскейлинг приложений Kubernetes при помощи Prometheus и KEDA
RU EN
#prometheus #monitoring #k8s #kubernetes #devops
RU EN
#prometheus #monitoring #k8s #kubernetes #devops
Vector - High-performance, vendor-neutral observability pipelines.
Аналог Logstash написанный на Rust, с 10и кратным приростом производительности.
https://github.com/timberio/vector
Аналог Logstash написанный на Rust, с 10и кратным приростом производительности.
https://github.com/timberio/vector
GitHub
GitHub - vectordotdev/vector: A high-performance observability data pipeline.
A high-performance observability data pipeline. Contribute to vectordotdev/vector development by creating an account on GitHub.
Интересный стек - Telegraf, InfluxDB + Grafana для сбора, хранения и визуализации метрик.
Telegraf - это такой себе аналог collectd, тоже умеет в плагины, и может мониторить не только стандартные вещи (cpu, mem. disk) но и всякие API calls, DB queries, и SNMP.
Интересный момент тут - SNMP, так-как с его помощью можно собирать дату именно с сетевых устройств.
Ну и вот статья с простеньким примером. Ставят дедовским методом через apt-get, но не суть. Само собой Docker images для стека есть.
Ну и для Kube есть тоже готовые решения:
https://github.com/influxdata/telegraf-operator
https://lkhill.com/telegraf-influx-grafana-network-stats/
Telegraf - это такой себе аналог collectd, тоже умеет в плагины, и может мониторить не только стандартные вещи (cpu, mem. disk) но и всякие API calls, DB queries, и SNMP.
Интересный момент тут - SNMP, так-как с его помощью можно собирать дату именно с сетевых устройств.
Ну и вот статья с простеньким примером. Ставят дедовским методом через apt-get, но не суть. Само собой Docker images для стека есть.
Ну и для Kube есть тоже готовые решения:
https://github.com/influxdata/telegraf-operator
https://lkhill.com/telegraf-influx-grafana-network-stats/
GitHub
GitHub - influxdata/telegraf-operator: telegraf-operator helps monitor application on Kubernetes with Telegraf
telegraf-operator helps monitor application on Kubernetes with Telegraf - GitHub - influxdata/telegraf-operator: telegraf-operator helps monitor application on Kubernetes with Telegraf
terraform-docs - A utility to generate documentation from Terraform modules in various output formats.
Отличная штука для генерации документации к Terraform коду. Можно запихивать в git hooks или Makefile.
Например вот так:
https://github.com/terraform-docs/terraform-docs
Отличная штука для генерации документации к Terraform коду. Можно запихивать в git hooks или Makefile.
Например вот так:
# Generate README.mdИ да, пример взят в одном из тестовых заданий, которое делали кандидаты на позицию Senior DevOps Engineer, что я постил раньше.
## modules
for module in $(find terraform/modules -mindepth 1 -maxdepth 1 -type d); do
if eval "${TERRAFORM_DOCS_BIN} markdown table --sort-by-required --hide providers --hide requirements ${module} >'${module}/README.md'"; then
eval "${MARKDOWNFMT_BIN} -w ${module}/README.md"
git add "${module}/README.md"
fi
done
https://github.com/terraform-docs/terraform-docs
GitHub
GitHub - terraform-docs/terraform-docs: Generate documentation from Terraform modules in various output formats
Generate documentation from Terraform modules in various output formats - terraform-docs/terraform-docs
Forwarded from Инфобомба
͏͏США впаяли "Путину мира хакеров" Евгению Никулину семёру. ВЧК говорят, что в России его тоже расследуют. О краже Webmoney. Если живёте в РФ и занимаетесь кибератаками по важнючим целям, почти всегда есть контакт с госами. ЦИБ ФСБ, другие центры ФСБ, ГРУ, часто Сбер и прочие. И вот поехали вы такой отдыхать в Европу или Тай. А там принимают по ордеру из Штатов, как Никулина в Чехии. Вероятность спастись крайне мала. Просите госов возбудить дело против вас в России. Генпрокурор должен отправить ордер в место вашего ареста. Чтобы выдали оттуда на суд домой, а не в США. Так Тимофей Мусатов с Игорем Ашмановым вытащили из кипрской тюрьмы хакера Дмитрия Зубаху. Правда, в ряде стран уже поняли, что такие дела - фикция. И перестали отдавать русских хакеров в Россию. Мораль: планируйте отдых с умом👆
Telegram
ВЧК-ОГПУ
Посадили на 7 лет за киберпреступления. Суд США приговорил Евгения Никулина к семи года и четырем месяцам тюрьмы (осталось провести в заключении чуть более двух лет, после чего его ждет депортация в Россию). В общей сложности Никулину были предъявлены обвинения…
duf - Disk Usage/Free Utility (Linux, BSD & macOS)
Features
• User-friendly, colorful output
• Adjusts to your terminal's width
• Sort the results according to your needs
• Groups & filters devices
• Can conveniently output JSON
https://github.com/muesli/duf
Features
• User-friendly, colorful output
• Adjusts to your terminal's width
• Sort the results according to your needs
• Groups & filters devices
• Can conveniently output JSON
https://github.com/muesli/duf
GitHub
GitHub - muesli/duf: Disk Usage/Free Utility - a better 'df' alternative
Disk Usage/Free Utility - a better 'df' alternative - muesli/duf
Forwarded from DevOps&SRE Library
gitleaks
Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks aims to be the easy-to-use, all-in-one solution for finding secrets, past or present, in your code.https://github.com/zricethezav/gitleaks
Forwarded from Записки админа
KEDA - Kubernetes-based Event Driven Autoscaling
KEDA allows for fine-grained autoscaling (including to/from zero) for event driven Kubernetes workloads. KEDA serves as a Kubernetes Metrics Server and allows users to define autoscaling rules using a dedicated Kubernetes custom resource definition.
KEDA can run on both the cloud and the edge, integrates natively with Kubernetes components such as the Horizontal Pod Autoscaler, and has no external dependencies.
We are a Cloud Native Computing Foundation (CNCF) sandbox project.
https://github.com/kedacore/keda
KEDA allows for fine-grained autoscaling (including to/from zero) for event driven Kubernetes workloads. KEDA serves as a Kubernetes Metrics Server and allows users to define autoscaling rules using a dedicated Kubernetes custom resource definition.
KEDA can run on both the cloud and the edge, integrates natively with Kubernetes components such as the Horizontal Pod Autoscaler, and has no external dependencies.
We are a Cloud Native Computing Foundation (CNCF) sandbox project.
https://github.com/kedacore/keda
GitHub
GitHub - kedacore/keda: KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container…
KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes - GitHub - kedacore/keda: KEDA is a Kubernetes-based Event Dr...