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.

AWS Elastic Kubernetes Service: a cluster creation automation, part 1 – CloudFormation
0 (0)

24 April 2020

The task is: create automation to roll out an AWS Elastic Kubernetes Service cluster from scratch. Will use: Ansible: to automate CloudFormation stack creation and to execute eksctl with necessary parameters CloudFormation with NestedStacks: to create an infrastructure – VPC, subnets, SecurityGroups, IAM-roles, etc eksctl: to create a cluster itself using resources created by CloudFormation… Read More: AWS Elastic Kubernetes Service: a cluster creation automation, part 1… »

Loading

AWS Elastic Kubernetes Service: running ALB Ingress controller
0 (0)

21 April 2020

AWS ALB Ingress Controller for Kubernetes – is a Kubernetes controller which actually controls AWS Application Load Balancers (ALB) in an AWS account when an Ingress resource with the kubernetes.io/ingress.class: alb annotation is created in a Kubernetes cluster. This Ingress resource in its turn describes an ALB Listeners configuration with SSL termination or traffic routing… Read More: AWS Elastic Kubernetes Service: running ALB Ingress controller0 (0) »

Loading

Kubernetes: part 5 — RBAC authorization with a Role and RoleBinding example
0 (0)

26 March 2020

The next task is to add a new user who will have access to check pods state and watch logs – any other operations must be prohibited. AWS EKS uses AWS IAM for authentification in a Kubernetes cluster (check the Kubernetes: part 4 – AWS EKS authentification, aws-iam-authenticator and AWS IAM post for details), bot… Read More: Kubernetes: part 5 — RBAC authorization with a Role and… »

Loading

AWS: CloudFormation – Nested Stacks and stacks parameters Import/Export
0 (0)

29 February 2020

Nested Stacks in AWS CloudFormation are stacks, created from another, a “parent”, stack using AWS::CloudFormation::Stack. The main idea behind the Nested Stacks is to avoid writing superfluous code and to make templates reusable. Instead, a template is created only once, stored in an S3 bucket, and during stacks creation – you just refer to it.… Read More: AWS: CloudFormation – Nested Stacks and stacks parameters Import/Export0 (0) »

Loading

Linux: PHP-FPM, Docker, STDOUT and STDERR – no an application’s error logs
0 (0)

24 February 2020

We have a Docker image with NGINX, PHP-FPM, and Supervisor. In the same image, we have our PHP application included, which outputs its errors to the /dev/stderr as per its php.ini file: … [global] error_log=/dev/stderr … The problem is, that if run kubectl logs –  there will be no error output from the application. So,… Read More: Linux: PHP-FPM, Docker, STDOUT and STDERR – no an application’s… »

Loading

Kubernetes: running metrics-server in AWS EKS for a Kubernetes Pod AutoScaler
0 (0)

15 February 2020

Assuming, we already have an AWS EKS cluster with worker nodes. In this post – we will connect to a newly created cluster, will create a test deployment with an HPA – Kubernetes Horizontal Pod AutoScaler and will try to get information about resources usage using kubectl top. Kubernetes cluster Create a test cluster using… Read More: Kubernetes: running metrics-server in AWS EKS for a Kubernetes Pod… »

Loading

Kubernetes: ConfigMaps and Secrets on a Gorush server example
0 (0)

14 February 2020

We have a Gorush server from the Kubernetes: running a push-server with Gorush behind an AWS LoadBalancer post, and I’d like to ad an ability to configure it via a Github repository and run it with a different set of settings – for Staging and Production environments. Let’s use Kubernetes ConfigMap to store a config-file… Read More: Kubernetes: ConfigMaps and Secrets on a Gorush server example0 (0) »

Loading

Kubernetes: ConfigMap and Secrets – data auto-reload in pods
0 (0)

13 February 2020

W have a ConfigMap for our Gorush service (see the Kubernetes: running a push-server with Gorush behind an AWS LoadBalancer post). The issue is that if change a value in this ConfigMap or Secrets -it will not be applied to already running pods. There are various solitons like mount data as volumes and re-attach those… Read More: Kubernetes: ConfigMap and Secrets – data auto-reload in pods0 (0) »

Loading

Debian: php7.3-curl : Depends: libcurl3 (>= 7.44.0) but it is not installable
0 (0)

23 January 2020

We have a Jenkins job that runs a Docker container to build a PHP-application based on the Yii framework. Suddenly during the build, we got an error: … Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required… Read More: Debian: php7.3-curl : Depends: libcurl3 (>= 7.44.0) but it is… »

Loading

Nextcloud: running in Docker Compose on Debian with Let’s Encrypt SSL
0 (0)

30 November 2019

I while ago I’d tested the Nextcloud, see the NextCloud: installing server on Debian behind NGINX with PHP-FPM and client on Arch Linux post. In general, it looks good, so it’s time to try to run in a production environment and finally migrate from Dropbox to it. Today, let’s spin up a Nextcloud instance using… Read More: Nextcloud: running in Docker Compose on Debian with Let’s Encrypt… »

Loading