AWS EKS Terraform module version v21.0.0 added support for the AWS Provider Version 6. Documentation – here>>>. The main changes in the AWS EKS module are the replacement of IRSA with EKS Pod Identity for the Karpenter sub-module: Native support for IAM roles for service accounts (IRSA) has been removed; EKS Pod Identity is now… Read More » The post Terraform: AWS EKS Terraform module update from version 20.x to version 21. first appeared on RTFM: Linux, DevOps, and system administration.| RTFM: Linux, DevOps, and system administration
Cause and solution for the “no available releases match the given constraints” error in Terraform| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
We have a VictoriaLogs Helm chart with a PVC size of 30 GB, which is no longer enough for us, and we need to increase it. But the problem is that .spec.volumeClaimTemplates[*].spec.resources.requests.storage in STS is immutable, that is, we can’t just change the size through values.yaml file, because it will lead to the error“Forbidden: updates… Read More » The post Kubernetes: PVC in StatefulSet, and the “Forbidden updates to statefulset spec” error first appeared on RTFM: Linux, ...| RTFM: Linux, DevOps, and system administration
I actually started to write about creating my own Kubernetes Operator, but decided to make a separate topic about what a Kubernetes CustomResourceDefinition is, and how creating a CRD works at the level of the Kubernetes API and the etcd. That is, to start with how Kubernetes actually works with resources, and what happens when… Read More » The post Kubernetes: Kubernetes API, API groups, CRDs, and the etcd first appeared on RTFM: Linux, DevOps, and system administration.| RTFM: Linux, DevOps, and system administration
Perhaps everyone has used operators in Kubernetes, for example, PostgreSQL operator, VictoriaMetrics Operator. But what’s going on under the hood? How and to what are CustomResourceDefinition (CRD) applied, and what is an “operator”? And finally, what is the difference between a Kubernetes Operator and a Kubernetes Controller? In the previous part – Kubernetes: Kubernetes APIs,… Read More » The post Kubernetes: what are the Kubernetes Operator and CustomResourceDefinition first app...| RTFM: Linux, DevOps, and system administration
How exactly do resources.requests and resources.limits in a Kubernetes manifest works “under the hood”, and how exactly will Linux allocate and limit resources for containers? So, in Kubernetes for Pods, we can set two main parameters for CPU and Memory – the spec.containers.resources.requests and spec.containers.resources.limits fields: resources.requests: affects how and where a Pod will be… Read More » The post Kubernetes: Pod resources.requests, resources.limits, and Linux cgroup...| RTFM: Linux, DevOps, and system administration
It’s difficult to describe in one post what thousands of books have been written about in a thousand pages, but today we’ll try to quickly review the basics of how hosts communicate on a network. First, let’s talk about the OSI and TCP/IP models, then about packet structure and connection establishment, and finally, we’ll… Read More » The post TCP/IP: OSI and TCP/IP models, TCP packets, Linux sockets and ports first appeared on RTFM: Linux, DevOps, and system administration.| RTFM: Linux, DevOps, and system administration
It’s not the first time I’ve encountered similar errors when upgrading VictoriaMetrics, so it’s time to note a solution. So, after upgrading the victoria-metrics-k8s-stack 0.55.0 => 0.56.0, errors appeared in the Operator logs: ... {"logger":"controller-runtime.source.EventHandler","msg":"if kind is a CRD, it should be installed before calling Start","kind":"VMAnomaly.operator.victoriametrics.com","error":"no matches for kind \"VMAnomaly\" in version \"operator.victoriametrics.com/v1\""...| RTFM: Linux, DevOps, and system administration
Even though the changes were announced in emails from Arch Linux, for some reason, many people have had problems with the latest update: in the Arch Linux subreddits on Reddit, people are complaining like “Everything is broken, what should I do now?” Let’s see how to complete the upgrade and what exactly has changed.… Read More » The post Arch Linux: linux-firmware-nvidia: /usr/lib/firmware/nvidia/ exists in filesystem first appeared on RTFM: Linux, DevOps, and system administration.| RTFM: Linux, DevOps, and system administration
503 errors between AWS Elastic Kubernetes Service and AWS Application LoadBalancer – three causes and three solutions| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
Example of transferring VictoriaMetrics metrics and VictoriaLogs logs between two Kubernetes clusters using vmctl and rsync| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
Introduction to Terraform import using AWS IAM User as an example, importing into a module, and some non-obvious aspects of working with imports| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
Two ways to find a directory from a Kubernetes Pod on its WorkerNode| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
An example of creating VictoriaMetrics Recording Rules for VMAlert from logs in VictoriaLogs, running in Kubernetes| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
An introduction to VictoriaLogs running in Kubernetes from the Helm Chart, its LogsQL syntax and examples, and installing Grafana VictoriaLogs data source| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...
Building a Grafana dashboard for AWS VPC Flow Logs and Kubernetes using VictoriaLogs. Migrating Grafana Loki and LogQL queries to VictoriaLogs and LogsQL| RTFM: Linux, DevOps, and system administration | DevOps-engineering, and syst...