@DevOps News & Tutorials
@devopsblogposts
659
subscribers
35
photos
451
links
News and topics from the DevOps world. Feel free to share your devops blog posts, stories and opinions.
Download Telegram
Join
@DevOps News & Tutorials
659 subscribers
@DevOps News & Tutorials
https://devcoops.com/docker-unauthorized-authentication-required/
DevCoops
Docker: unauthorized: authentication required
It’s all fun and games to build and run Docker images on your local machine, but when it comes to pushing to a remote registry, the authentication itself is a pain to dealt with. And here I am with yet another error: unauthorized: authentication required.
@DevOps News & Tutorials
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-metrics-overview
Docs
Overview of Azure Monitor with Prometheus - Azure Monitor
Get an overview of Azure Monitor with Prometheus, which provides Prometheus-compatible interfaces called Azure Monitor workspaces for storing and retrieving metric data.
@DevOps News & Tutorials
https://devcoops.com/postgresql-101-replicas/
DevCoops
PostgreSQL 101: replications
In PostgreSQL, choosing a replication strategy is a big deal, depending on what you want to achieve. This can be anything from High Availability, Backup and Disaster, mullti-master and few others. Hence, there are few types of replication including: asynchronous…
@DevOps News & Tutorials
https://devcoops.com/vcs-centralized-vs-distributed/
DevCoops
VCS: Centralized vs Distributed
The Version Control System (VCS) presents a core component from the DevOps cycle. Tracking anything from application codes, infrastructure, policies, and what not is part of the best practices such as IaC (infrastructure as code) and GitOps. Simply put, treat…
@DevOps News & Tutorials
https://medium.com/smsjunk/handling-1-million-requests-per-minute-with-golang-f70ac505fcaa
Medium
Handling 1 Million Requests per Minute with Golang
I have been working in the anti-spam, anti-virus and anti-malware industry for over 15 years at a few different companies, and now I know…
@DevOps News & Tutorials
https://devcoops.com/install-iptables-on-amazon-linux-2/
DevCoops
Install Iptables on Amazon Linux 2
Seemingly installing iptables on Amazon Linux 2 might not be useful if you consider aws security rules. However iptables allows managing more complex scenarios, like port forwarding, input-output forward on a server level. So, let’s install iptables on Amazon…
@DevOps News & Tutorials
https://devcoops.com/mysql-configure-innodb-buffer-pool-size/
DevCoops
MySQL: configure innodb_buffer_pool_size
Running out of memory on small MySQL instances (less than 1GB) hosting WordPress sites was a common thing for me, for a while. Even creating swap disk didn’t help as the MySQL service was crashing mostly because of OOM (out of memory). Not sure what the error…
@DevOps News & Tutorials
https://devcoops.com/pull-go-modules-from-private-repositories/
DevCoops
Pull Go modules from private repositories
One of the first struggles with Go, was when I wanted to have a private repo for the app. Apparently, if you run go get, Go uses Git to pull the specific versions of your dependency packages. As with any private repo, you need to be authenticated. This is…
@DevOps News & Tutorials
https://devcoops.com/pass-api-key-header-in-curl/
DevCoops
How to Pass Api Key Header in Curl
Most of the API proxy services like AWS Gateway API are used to secure some requests with a level of authentication. To achieve that you can use either Bearer tokens or API Keys. Here I’m going to show you how to pass an API key with an HTTP header using…
@DevOps News & Tutorials
https://devcoops.com/iac-vs-gitops-how-they-differ/
@DevOps News & Tutorials
https://www.paolomainardi.com/posts/docker-performance-macos/
Paolo Mainardi
Docker on MacOS is slow and how to fix it
Note 05/01/2024: Hello there, you can find an update version of this article here, with the latest findings, improvements and new tools. Thanks to the DALL·E 2, we finally have a very nice graphic representation of the feelings of a Docker container inside…
@DevOps News & Tutorials
https://devcoops.com/how-to-get-jenkins-environment-variables/
DevCoops
How to get Jenkins environment variables
If you are playing with Jenkins, one of the first things that you might be asking yourself is how to get the default Jenkins environment variables. It’s simple and easy, so let’s jump to the Solution part.
@DevOps News & Tutorials
https://developers.cloudflare.com/dns/manage-dns-records/reference/record-attributes/
Cloudflare Docs
DNS record comments and tags · Cloudflare DNS docs
Attributes and metadata for DNS records.
@DevOps News & Tutorials
https://devcoops.com/postgresql-db-larger-than-the-sum-of-table-sizes/
DevCoops
PostgreSQL DB size larger than the sum of table sizes
Another issue to get off my chest. A few weeks back, I was struggling to find why the production PostgreSQL DB size was significantly larger than the sum of table sizes. I was bamboozled. However, it turns out I was running the “wrong” SQL query the whole…
@DevOps News & Tutorials
https://devcoops.com/how-to-create-a-docker-image-from-a-running-container/
DevCoops
How to create a Docker image from a running container
If you find yourself connecting to a Docker container, so you could investigate an issue, update a .conf file, or whatever other reason, you are doing an anti-pattern. However, if you really want to create a “snapshot” out of a running Docker container, you…
@DevOps News & Tutorials
https://devcoops.com/resolve-warning-the-requested-image-platform-linux-amd64-does-not-match-the-detected-host-platform-linux-arm64-v8/
DevCoops
Resolve: “WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)”
As I was trying to get my Python Docker Compose stack up and running on my MacBook Pro, I’ve noticed the following message: Warning: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform…
@DevOps News & Tutorials
https://devcoops.com/client-loop-send-disconnect-broken-pipe/
DevCoops
Client_loop: send disconnect: Broken pipe
Usually, you will get this kind of error client_loop: send disconnect: Broken pipe if you keep your ssh connection open more than the timeout limit. Let’s see how can we potentially fix it.
@DevOps News & Tutorials
https://devcoops.com/postgresql-101-pg-table-size-vs-pg-relation-size-vs-pg-indexes-size-vspg-total-relation-size/
DevCoops
PostgreSQL 101: pg_table_size vs pg_relation_size vs pg_indexes_size vs pg_total_relation_size
Another good nugget to share as I was trying to find out which production DB table was bloated and why. The size was in GB, and it was ridiculous, something around 50GB. You can find the queryies here → Show database and table size in PostgreSQL.
@DevOps News & Tutorials
https://medium.com/microsoftazure/could-we-use-ssh-keys-generated-for-sftp-users-to-access-blob-storage-in-paired-region-via-sftp-8d2174f4e698
Medium
Could we use SSH keys generated for SFTP users to access Blob storage in paired region via SFTP after storage failover?
The original entry is in Japanese, published on December 28, 2022.
@DevOps News & Tutorials
https://devcoops.com/10-vim-commands-to-start-with/
DevCoops
10 Vim commands to start with
Vim (VI IMproved), as a common text editor based on Vi, since the early 90s cause headaches to every beginner and junior Ops engineer out there, whatever is a DevOps, SysOps, Cloud Administrator, etc. Here are few commands which I believe could use well as…
@DevOps News & Tutorials
https://medium.com/microsoftazure/kubernetes-github-and-devops-putting-it-all-together-to-increase-confidence-in-pull-request-3797e8fea3f7
Medium
Kubernetes, GitHub, and DevOps: Putting it all together to increase confidence in PR reviews.
Test pull request code in the context of the broader application running in AKS with Azure Dev Spaces and Azure Pipelines.