The status "Evicted" means that Pod was "evicted" from the node, as he lacked the resources. This can be observed if you display the following: In order to remove all pods in the status "Evicted", do the following:
To enable CORS in ingress, add the following: * – allows requests from anywhere, replace it with the domain you need
In order to change the owner of the copied files in the container, it is necessary to add the key "–chown" to the "COPY" command Example:
See the list of AMI Linux add-ons: Install from php7.2 extensions:
Example manifest for creating a configmap, deployment and service for RabbitMQ manifest.yml
Manifest example for creating deployment and service for PostgreSQL manifest.yml
pvc.yml: Create PVC: Check:
As it turned out, CodeBuild does not have a built-in incremental variable for the build number, as in Jenkins, for example. The solution was found on medium.com To add the build number you will need the following services: AWS SSM (Systems Manager Parameter Store) AWS Lambda AWS CloudWatch AWS IAM Create Parameter Store Go …
Continue reading "AWS – CodeBuild: Add an incremental build number"
In this example, we will consider creating a repository in CodeCommit and building a simple Docker image using CodeBuild and launching it in ECR. Create a repository in CodeCommit. My repository name is "artem-test" In order to work with the repository, make sure that your user has an SSH key loaded. If it is already …
Continue reading "AWS – CodeCommit and CodeBuild build Docker image and push it into ECR"
All actions will also be relevant for CentOS systems. In this example, a user will be added for access via SFTP using an SSH key to the web directory under Apache management. There is a default for Apache group "apache", if necessary, replace the desired one. All sites are on the dir: Add the …
Continue reading "Amazon Linux 2 AMI – SFTP access"