Tag Archives: Docker

Kubernetes: find a directory with a mounted volume in a Pod on its host
0 (0)

18 May 2025

We have an AWS Elastic Kubernetes Service with the VictoriaMetrics stack deployed (see VictoriaMetrics: deploying a Kubernetes monitoring stack). I need to migrate the data from the old VMSingle Pod to the new one on the new cluster, and to do this, I need to find VMSingle’s data on an EC2. Note: regarding the migration… Read More: Kubernetes: find a directory with a mounted volume in a… »

Loading

Nexus: Configuring Docker proxy repository, and ContainerD in Kubernetes
0 (0)

17 May 2025

I wrote about launching Nexus in the Nexus: launch in Kubernetes, and PyPI caching repository configuration post, now I want to add Docker image caching to PyPI, especially since Docker Hub introduces new limits from April 1, 2025 – see Docker Hub usage and limits. We’ll do it as usual: first run manually locally on… Read More: Nexus: Configuring Docker proxy repository, and ContainerD in Kubernetes0 (0) »

Loading

GitHub Actions: running the Actions Runner Controller in Kubernetes
0 (0)

16 October 2024

We use GitHub Actions for deployments, and eventually came to the point where we wanted to run its Runners on our own Kubernetes cluster because: self-hosted GitHub Runners are cheaper – in fact, you pay only for the servers that run the jobs we need to run SQL migrations on AWS RDS in AWS VPC… Read More: GitHub Actions: running the Actions Runner Controller in Kubernetes0 (0) »

Loading

Kubernetes: containers, and the “lost” SIGTERM signals
0 (0)

23 June 2024

We have an API service with Gunicorn in Kubernetes that periodically returns 502, 503, 504 errors. I started debugging it, and found a weird thing: there were no messages in the logs about the received SIGTERM, so I first went to deal with Kubernetes – why doesn’t it send it? The Issue So, here’s what… Read More: Kubernetes: containers, and the “lost” SIGTERM signals0 (0) »

Loading

AWS: security – Instance Metadata Service v1 vs IMDS v2, Kubernetes Pod and Docker containers
0 (0)

24 April 2023

Instance metadata (IMDS – Instance Metadata Service) – data about an EC2 instance, such as information about AMI, IP, hostname, etc. You can also add User Data to Instance Metadata to store some parameters, which can then be retrieved inside the instance. See Instance metadata and user data and Instance metadata categories. From the beginning of the IMDS,… Read More: AWS: security – Instance Metadata Service v1 vs IMDS v2,… »

Loading

Jenkins: running workers in Kubernetes and Docker images build
0 (0)

27 February 2021

We have a Jenkins instance that is running jobs in Docker containers on its host. Eventually, we’ve faced with an issue when the current AWS Ec2 instance t2.2xlarge (8 CPU, 32 RAM) during peak workload periods was too overloaded – not enough CPU time, not enough memory. So, the first solution could be to proceed… Read More: Jenkins: running workers in Kubernetes and Docker images build0 (0) »

Loading

Kubernetes: NGINX/PHP-FPM graceful shutdown and 502 errors
0 (0)

25 February 2021

We have a PHP application running with Kubernetes in pods with two dedicated containers – NGINX и PHP-FPM. The problem is that during downscaling clients get 502 errors. E.g. when a pod is stopping, its containers can not correctly close existing connections. So, in this post, we will take a closer look at the pods’… Read More: Kubernetes: NGINX/PHP-FPM graceful shutdown and 502 errors0 (0) »

Loading

Neo4j: graph database – run with Docker and Cypher QL examples
0 (0)

28 July 2020

In contrast to the RDMS (Relational Database Management System), where data objects are the main part, in a Graph Database, the relations between such data objects are playing the main role and are represented as dedicated objects which gives better performance especially when you have a lot of small data pieces tied to each other.… Read More: Neo4j: graph database – run with Docker and Cypher QL… »

Loading

Docker: configure tzdata and timezone during build
0 (0)

17 May 2020

During a Docker image build – it stops asking to configure the tzdata. Dockerfile at this moment is the next: FROM ubuntu:18.04 RUN apt update && apt install -y python-pip python-dev ssh python-boto3 RUN pip install ansible==2.4.3.0 Let’s reproduce – run the build: [simterm] admin@jenkins-production:~$ docker build -t proj/proj-ansible:1.1 . Sending build context to Docker… Read More: Docker: configure tzdata and timezone during build0 (0) »

Loading

Helm: helm-secrets – sensitive data encryption with AWS KMS and use it with Jenkins
0 (0)

16 May 2020

So, as a follow-up to the Helm: Kubernetes package manager – an overview, getting started post – let’s discuss about sensitive data in our Helm charts. What I want is to store a chart files in a repository, but even if such a repo will be a private Github repo – I still don’t want… Read More: Helm: helm-secrets – sensitive data encryption with AWS KMS and… »

Loading