Category Archives: Virtualization

In computing, virtualization refers to the act of creating a virtual version of something, including virtual computer hardware platforms, storage devices, and computer network resources.

Terraform: remote state with AWS S3, and state locking with DynamoDB
0 (0)

3 September 2023

We are preparing to transfer infrastructure management from AWS CDK to Terraform. I’ve already wrote about planning it in the Terraform: planning a new project with Dev/Prod environments post, but there I didn’t wrote about one very important option – creating a lock for state files. State file locking is used to avoid situations where… Read More: Terraform: remote state with AWS S3, and state locking with… »

Loading

VictoriaMetrics: VMAuth – Proxy, Authentication, and Authorization
0 (0)

27 August 2023

We continue to develop our monitoring stack. See the first part – VictoriaMetrics: creating a Kubernetes monitoring stack with its own Helm chart. What do we want to do next: give access to developers so that they can set Silence for alerts themselves in Alertmanager to avoid spamming Slack, see Prometheus: Alertmanager Web UI alerts Silence.… Read More: VictoriaMetrics: VMAuth – Proxy, Authentication, and Authorization0 (0) »

Loading

AWS: Getting started with Karpenter for autoscaling in EKS, and its installation with Helm
0 (0)

19 August 2023

On all my previous projects where Kubernetes was, for its WorkerNodes scaling I’ve used the Cluster Autoscaler (CAS) because actually there were no other options before. In general, CAS worked well, but in November 2020 AWS released its own solution for scaling nodes in EKS – the Karpenter, and if at first time reviews were… Read More: AWS: Getting started with Karpenter for autoscaling in EKS, and… »

Loading

Kubernetes: Pods and WorkerNodes – control the placement of the Pods on the Nodes
0 (0)

19 August 2023

Kubernetes allows very flexible control over how its Pods will be located on servers, i.e. WorkerNodes. This can be useful if you need to run a pod on a specific node configuration, for example – a WorkerNode must have a GPU, or an SSD instead of an HDD. Another example is when you need to… Read More: Kubernetes: Pods and WorkerNodes – control the placement of the… »

Loading

Helm: multiple deployment of the same chart with Chart’s dependency
0 (0)

19 August 2023

To improve the performance of Grafana Loki, it is necessary to install several almost identical instances of Memcached, see Grafana Loki: performance optimization with Recording Rules, caching, and parallel queries. The monitoring stack itself is deployed from one Helm chart, which dependencies – Promtail, Loki, etc – are added through the dependency field of the… Read More: Helm: multiple deployment of the same chart with Chart’s dependency0… »

Loading

Grafana Loki: performance optimization with Recording Rules, caching, and parallel queries
0 (0)

19 August 2023

So, we have Loki installed from the chart in simple-scale mode, see Grafana Loki: architecture and running in Kubernetes with AWS S3 storage and boltdb-shipper. Loki is runnings on an AWS Elastic Kubernetes Service cluster, installed with Loki Helm chart, AWS S3 is used as a long-term store, and BoltDB Shipper is used to work… Read More: Grafana Loki: performance optimization with Recording Rules, caching, and parallel… »

Loading

AWS: Grafana Loki, InterZone traffic in AWS, and Kubernetes nodeAffinity
0 (0)

19 August 2023

Traffic in AWS is generally quite an interesting and sometimes complicated thing, I once wrote about it in the AWS: Cost optimization – services expenses overview and traffic costs in AWS. Now, it’s time to return to this topic again. So, what’s the problem: in AWS Cost Explorer, I’ve noticed that we have an increase… Read More: AWS: Grafana Loki, InterZone traffic in AWS, and Kubernetes nodeAffinity0… »

Loading

VictoriaMetrics: deploying a Kubernetes monitoring stack
0 (0)

23 July 2023

Now we have VictoriaMetrics + Grafana on a regular EC2 instance, launched with Docker Compose, see the VictoriaMetrics: an overview and its use instead of Prometheus. It was kind of a Proof of Concept, and it’s time to launch it “in an adult way” – in Kubernetes and all the configurations stored in a GitHub… Read More: VictoriaMetrics: deploying a Kubernetes monitoring stack0 (0) »

Loading

AWS: CDK and Python – installing EBS CSI driver Add-On on EKS
0 (0)

23 July 2023

Let’s continue with AWS CDK and Python. I’m not writing because I like CDK, but because there are quite a few examples on the Internet for AWS CDK with Python, so let them at least be here. So, we have a cluster – AWS: CDK and Python – building an EKS cluster, and general impressions… Read More: AWS: CDK and Python – installing EBS CSI driver Add-On… »

Loading

AWS: Kubernetes – AWS Secrets Manager and Parameter Store integration
0 (0)

22 July 2023

Storing access data in Kubernetes Secrets has an important drawback, because they are only available within the Kubernetes cluster itself. To make them available to external services, we can use Hashicorp Vault and integrate it with Kubernetes using solutions such as vault-k8sor use services from AWS – Secrets Manager or Parameter Store. Integrating AWS Secrets Manager and Parameter Store… Read More: AWS: Kubernetes – AWS Secrets Manager and Parameter Store integration0… »

Loading