Due to recent refactoring, I figured out that I need to move some Terraform state items from one S3 path to another. And then to merge configurations with other stuff at the destination directory. Terraform can move state items around, but this feature doesn’t work with remote states. Here is one way of doing it. Example Use Case First, let’s consider the following situation, this is configuration directory tree output: . ├── db │   └── test │   ├── main.tf (s3 key: aws/db/test/terraform.tfstate) │   └── rds.tf ├── test │   ├── main.tf (s3 key: aws/test/terraform.tfstate) │   ├── sqs.tf You want to merge db/test state items into aws/test/terraform.tfstateRead More →

More than one year ago CoreOS introduced AWS ALB (Application Load Balancer) support for Kubernetes. This project was born out of Ticketmaster’s tight relationship with CoreOS. It was in an alpha state for a long time, so I waited for some beta/stable release to put my hands on it. The project is donated to Kubernetes SIG-AWS on June 1, 2018, and now there is a lot more activity. A few months ago the first stable version got released. Let’s try the ALB ingress and see how it compares to Nginx ingress or more advanced Contour ingress that I wrote about in some previous posts. HowRead More →

Summary What is a kubectl plugin? How to install plugins with krew? My favorite plugins kubectl whoami kubectl access-matrix kubectl neat kubectl tree kubectl node-shell What is a kubectl plugin? The Kubernetes CLI special interest group added a built-in plugin system to kubectl that allows anyone to add new sub-commands. This does not require editing kubectl’s source code or recompiling it. Any executable file in your PATH that starts with kubectl- can be called with the kubectl command. To try this out, let’s write a very basic plugin called kubectl-hello. Make this script executable and add it to your PATH: That’s it! You can nowRead More →

Summary Host your own runners Rewrite your Dockerfile to make the most of the docker cache Reuse the docker cache from a former build Re-think how your jobs use the cache Allow a single pipeline per ref and make jobs interruptible Automatically rerun jobs that failed on known issuesRead More →

Authors: Nuno do Carmo Docker Captain and WSL Corsair; Ihor Dvoretskyi, Developer Advocate, Cloud Native Computing Foundation Introduction New to Windows 10 and WSL2, or new to Docker and Kubernetes? Welcome to this blog post where we will install from scratch Kubernetes in Docker KinD and Minikube. Why Kubernetes on Windows? For the last few years, Kubernetes became a de-facto standard platform for running containerized services and applications in distributed environments. While a wide variety of distributions and installers exist to deploy Kubernetes in the cloud environments (public, private or hybrid), or within the bare metal environments, there is still a need to deploy andRead More →

Authors: Kubernetes 1.18 Release Team We’re pleased to announce the delivery of Kubernetes 1.18, our first release of 2020! Kubernetes 1.18 consists of 38 enhancements: 15 enhancements are moving to stable, 11 enhancements in beta, and 12 enhancements in alpha. Kubernetes 1.18 is a “fit and finish” release. Significant work has gone into improving beta and stable features to ensure users have a better experience. An equal effort has gone into adding new developments and exciting new features that promise to enhance the user experience even more. Having almost as many enhancements in alpha, beta, and stable is a great achievement. It shows the tremendousRead More →