Create new cluster:
kind create cluster {name} kind load docker-image {image} --name {cluster_name} See if image is uploaded
$ kubectl get nodes $ docker exec -it {node_name} bash $ crictl images If ImagePullBackOff still persists and its a custom image, check if imagePullPolicy is IfNotPresent instead of Always.
$ kind delete cluster --name {name} ...
When upgrading to Terraform 0.14 directly from versions under Terraform 0.13, one the errors that you will see are related to the Terraform providers.
Error: Invalid legacy provider address This configuration or its associated state refers to the unqualified provider "aws". You must complete the Terraform 0.13 upgrade process before upgrading to later versions. This specifc example show the error for the aws provider.
Before run with Terraform 0.14, if you run the code again with, at least once, Terraform 0....
Docker Entrypoint vs CMD
Docker has a default entrypoint which is /bin/sh -c but does not have a default command. ENTRYPOINT and --entrypoint were introduced to allow to override /bin/sh -c.
CMD specify a default command that executes when the container is starting.
Taking docker run -i -t ubuntu bash as example, with the entrypoint /bin/sh -c, the command is the actual thing that gets executed: docker run -i -t ubuntu <cmd>. C
If we run docker run -i -t ubuntu, it will start bash shell and that’s because the Ubuntu Dockerfile has CMD ["bash"]...
AWS RDS migration with Bucardo
After struggling with migrate data from one AWS RDS database into another with Bucardo, with multiple different errors during the way, I decided to create my own guide.
This tutorial was tested with an AWS EC2 with Ubuntu 18.04 and two AWS RDS Aurora PostgreSQL 10.11 (one with data, other with a clean installation).
What is Bucardo Bucardo is an asynchronous PostgreSQL replication system, allowing for both multi-master and multi-slave operations....