Forwarded from oleg_log (Oleg Kovalov)
Лол это круто https://twitter.com/electroboomguy/status/1409218712633167872?s=28
(чуть громко может быть, спасибо @bortlog)
(чуть громко может быть, спасибо @bortlog)
Twitter
Mehdi Sadaghdar
How Network Nodes Communicate
Forwarded from k8s (in)security (D1g1)
Есть легендарный пост на
Некоторое время назад на канале мы публиковали похожий материал "What happens when ... Kubernetes edition!", где описывается что происходит при создании
- "How It Works — kubectl exec" (Docker shim)
- "How does 'kubectl exec' work?" (CRI-O)
Если вы как и наша команда хотите не просто использовать
GitHub: "What happens when you type google.com into your browser's address box and press enter?" (и подобные), объясняющий что же там за магия творится .Некоторое время назад на канале мы публиковали похожий материал "What happens when ... Kubernetes edition!", где описывается что происходит при создании
Pods, через команду:kubectl run nginx --image=nginx --replicas=3
В продолжении данной темы мы рекомендуем обратить свое внимание на статьи про то, что происходит, когда используется kubectl exec (не малозначимая команда для ИБ):- "How It Works — kubectl exec" (Docker shim)
- "How does 'kubectl exec' work?" (CRI-O)
Если вы как и наша команда хотите не просто использовать
k8s, но и понимать его, понимать как он работает, то это определенно MUST READ!GitHub
GitHub - alex/what-happens-when: An attempt to answer the age old interview question "What happens when you type google.com into…
An attempt to answer the age old interview question "What happens when you type google.com into your browser and press enter?" - alex/what-happens-when
Forwarded from oleg_log (Oleg Kovalov)
Нравится. Буквально неделю назад подобное потребовалось, надо было усерднее гуглить.
https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/
https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/
mitelman.engineering
Python Best Practices for a New Project in 2021
Intro The goal of this tutorial is to describe Python development ecosystem. It can be helpful for someone coming to Python from another programming language.
They say that you should stick to algorithms and data structures, that you can learn a new language…
They say that you should stick to algorithms and data structures, that you can learn a new language…
Forwarded from Полезняшки от "Разбора Полетов"
Cheat Sheet on Curl Latency Metrics: how to benchmark server latency with curl
https://speedtestdemon.com/a-guide-to-curls-performance-metrics-how-to-analyze-a-speed-test-result/
https://speedtestdemon.com/a-guide-to-curls-performance-metrics-how-to-analyze-a-speed-test-result/
Speed Test Demon
Cheat Sheet on Curl Performance Metrics: how to benchmark server latency with curl
The ultimate guide and cheat sheet on what each curl latency metric means. Especially time_pretransfer which is extremely unclear.
Mitogen for Ansible is a completely redesigned UNIX connection layer and module runtime for Ansible. Requiring minimal configuration changes, it updates Ansible’s slow and wasteful shell-centric implementation with pure-Python equivalents, invoked via highly efficient remote procedure calls to persistent interpreters tunnelled over SSH. No changes are required to target hosts.
The extension is considered stable and real-world use is encouraged.
https://vimeo.com/283272293
https://mitogen.networkgenomics.com/ansible_detailed.html
#ansible #mitogen
The extension is considered stable and real-world use is encouraged.
https://vimeo.com/283272293
https://mitogen.networkgenomics.com/ansible_detailed.html
#ansible #mitogen
Vimeo
Mitogen for Ansible demonstration
This demonstrates Ansible running a subset of the Mitogen integration tests via SSH to the local machine concurrent to an equivalent run using Mitogen for Ansible. https://mitogen.readthedocs.io/en/stable/ansible.html
Forwarded from Sysadmin Tools 🇺🇦
Monitoring as Code на базе VictoriaMetrics и Grafana
https://habr.com/ru/post/568090/
#grafana #victoriametrics #prometehus #iaac #monitoring
https://habr.com/ru/post/568090/
#grafana #victoriametrics #prometehus #iaac #monitoring
Хабр
Monitoring as Code на базе VictoriaMetrics и Grafana
Приветствую всех любителей Infrastructure as Code. Как я уже писал в предыдущей статье , я люблю заниматься автоматизацией инфраструктуры. Сегодня представляю вашему вниманию вариант построения GitOps...
Old but good
#systemd
systemd for Administrators
- I. Verifying Bootup
- II. Which Service Owns Which Processes?
- III. How Do I Convert A SysV Init Script Into A systemd Service File?
- IV. Killing Services
- V. The Three Levels of "Off"
- VI. Changing Roots
- VII. The Blame Game
- VIII. The New Configuration Files
- IX. On /etc/sysconfig and /etc/default
- X. Instantiated Services
- XI. Converting inetd Services
- XII. Securing Your Services
- XIII. Log and Service Status
- XIV. The Self-Explanatory Boot
- XV. Watchdogs
- XVI. Gettys on Serial Consoles (and Elsewhere)
- XVII. Using the Journal
- XVIII. Managing Resources
- XIX. Detecting Virtualization
- XX. Socket Activated Internet Services and OS Containers
#systemd
systemd for Administrators
- I. Verifying Bootup
- II. Which Service Owns Which Processes?
- III. How Do I Convert A SysV Init Script Into A systemd Service File?
- IV. Killing Services
- V. The Three Levels of "Off"
- VI. Changing Roots
- VII. The Blame Game
- VIII. The New Configuration Files
- IX. On /etc/sysconfig and /etc/default
- X. Instantiated Services
- XI. Converting inetd Services
- XII. Securing Your Services
- XIII. Log and Service Status
- XIV. The Self-Explanatory Boot
- XV. Watchdogs
- XVI. Gettys on Serial Consoles (and Elsewhere)
- XVII. Using the Journal
- XVIII. Managing Resources
- XIX. Detecting Virtualization
- XX. Socket Activated Internet Services and OS Containers
0pointer.de
systemd for Administrators, Part 1
Posts and writings by Lennart Poettering
Ресурсы в Kubernetes
#k8s #kubernetes #resources #memory #cpu
- Часть 1: Память (Memory)
- Часть 2: Процессор (CPU)
#k8s #kubernetes #resources #memory #cpu
- Часть 1: Память (Memory)
- Часть 2: Процессор (CPU)
ealebed.github.io
Ресурсы в Kubernetes. Часть 1: Память (Memory)
Чтобы Kubernetes смог максимально эффективно использовать доступную инфраструктуру и корректно выделить ресурсы, необходимые для работы вашего приложения, вам следует указать требования в ресурсам каждого контейнера. В данный момент есть возможность задавать…
Kubernetes Single Sign On - A detailed guide
In this series of posts we cover how to setup a comprehensive group based single sign on system for Kubernetes including the kubectl cli, any web application with ingress, a docker registry and gitea. We'll cover most of the common SSO models so adapting what's here to other applications such as Gitlab, Kibana, Grafana etc is simple.
The full solution uses Keycloak backed by OpenLDAP. OpenLDAP is required for the Gitea component, but can be skipped for the other components, including OIDC based SSO for kubectl.
https://www.talkingquickly.co.uk/kubernetes-sso-a-detailed-guide
#k8s #kubernetes #SSO
In this series of posts we cover how to setup a comprehensive group based single sign on system for Kubernetes including the kubectl cli, any web application with ingress, a docker registry and gitea. We'll cover most of the common SSO models so adapting what's here to other applications such as Gitlab, Kibana, Grafana etc is simple.
The full solution uses Keycloak backed by OpenLDAP. OpenLDAP is required for the Gitea component, but can be skipped for the other components, including OIDC based SSO for kubectl.
https://www.talkingquickly.co.uk/kubernetes-sso-a-detailed-guide
#k8s #kubernetes #SSO
www.talkingquickly.co.uk
Kubernetes Single Sign On - A detailed guide
Blog by Ben Dixon, Ruby on Rails Developer, about rails, kubernetes, docker, climbing and startups
Forwarded from ITTales :(){ :|:& };:
Хабр
Устранение неполадок в Kubernetes: в каком направлении двигаться, если что-то идет не так
Источник Команда Kubernetes as a Service в Mail.ru Cloud Solutions перевела статью, в которой автор помогает найти причины ошибок в Kubernetes, если вы совсем не понимаете, куда нужно смотреть....