When creating an RDS by specifying an incorrect value for the "ParameterGroupFamily" parameter, a similar error may occur: Error creating DB Parameter Group: InvalidParameterValue: ParameterGroupFamily default.mariadb10.2 is not a valid parameter group family To see a list of all possible values for the "ParameterGroupFamily" parameter, you can use the following command:
By default, Docker Compose does not set any size limits for logs. For example, let’s set the limit to 10 MB and the maximum number of files for rotation – 10.
For quick testing of Nginx regular expressions, you can use a ready-made docker image. To do this, you need to clone the NGINX-Demos repository: Follow to the "nginx-regex-tester" directory: And launch the container using "docker-compose": And open the next page: http://localhost/regextester.php
At the time of writing, EKS Fargate does not support a driver log for recording to CloudWatch. The only option is to use Sidecar Let’s create a ConfigMap, in which we indicate the name of the EKS cluster, region and namespace: Next, let’s create a service account and a ConfigMap with a configuration file …
Continue reading "AWS – EKS Fargate – Fluentd CloudWatch"
Goal: There are 2 namespaces, they are "kube-system" and "default". It is necessary to run a cron task in the "kube-system" namespace, which will clear the executed jobs and pods in the "default" space. To do this, create a service account in the "kube-system" namespace, a role with the necessary rights in the …
Continue reading "Kubernetes – One role for multiple namespaces"
After installing CloudWatch Agent in the EKS cluster, its pods stuck in the "Pending" state Watching the describe pod Solution: The solution was found here. In this EKS cluster, a separate NodeGroup is allocated for the system pods with the instance type: t3.micro, and there is simply not enough capacity to launch the …
Continue reading "FIX ERROR – EKS: cloudwatch – 0/1 nodes are available: 1 Insufficient pods."
When trying to create a partition with the "fdisk" utility, 2 or more TB in size, the following message appears: The size of this disk is 2 TiB (2199023255552 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT). …
Continue reading "FIX ERROR – fdisk: DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading "Jenkins – Active Choice: GitHub – Commit"
Key "–environment" AWS Cli utility replaces all the variables, those that you specify as an argument. To change the value of only one variable without erasing the others, or without listing them all, you can use the following BASH script: aws_lambda_update_env.sh: This script requires jq utility The script reads all current variables, changes …
Continue reading "AWS Cli – Lambda: Update single variable value"
After we installed Docker on the Jenkins server and started it, when we try to build, we get the following error: Solution: Add the user "jenkins" to the "docker" group: After that, the user "jenkins" will be able to work with Docker if he connects via SSH, but with Jenkins job there will …
Continue reading "FIX ERROR – Jenkins: dial unix /var/run/docker.sock: connect: permission denied"