VSCODE DEVCONTAINER AND GIT SIGNING
Intro
I have long been a fan of VScode DevContainer extention.
The idea is really simple. To make sure you have a clean, reusable dev enviroment, for each of your projects, you spin it up in a container, with all the dependencies you need.
Simple right ?
Problem
Setting up a new laptop, I descided that I needed to be better at creating enviroments, that I can reuse across different systems etc. So I started setting up a simple Devcontainer env.
TANZU BASIC VIDEOS
Intro
I often get the question “How can I deploy Tanzu Kubernetes on vSphere” when I meet new customers. The question often comes from the vSphere admins, that want to know, how to deliver this “new” type of service, to their users.
So I set out to create a couple of basic videos, showing just that.
WHEN KUBERNETES IS NOT THE RIGHT CHOICE
Intro
I’m a big fan of Kubernetes. I use it a lot at work (maybe not a big suprice - Hint: Tanzu) and I have also been running it at home.
- On a RPI cluster
- As VM’s in a ESXi host
- As a single physical box
- And even as VM’s hosted in Oracles cloud.
Most of the reason has been to learn, but it has also been about the way you deploy, manage and update applications on Kubernetes. There are so many tools out there, build to make it easy to update your application, by just by comitting some changes to a git repository.
BUILD, PUBLISH AND HOST YOUR DOCKER IMAGES ON GITHUB REGISTRY
Intro
The other day, I replied to a tweet from @ChrisShort where he mentioned seing that Github Container registry, was being used more and more.
I replied since I have been using it ever since [Docker Hub(https://hub.docker.com)] started with their rate limiting, and I was hit by it, in my small demo enviroment. My search for a replacement, lead me to Github Container Registry.
DOUBLE REVERSE PROXY
Intro
For a small project I was doing, I had to set up a Caddy reverse proxy, after a Cloudflare reverse proxy.
Everything had to be with TLS etc, and it turned out to be a bit harder than expected. So here is how I did it, so you don’t have to struggle.
KUBERNETES WITH CONTINUOUS DELIVERY INCLUDED
Intro
One of the features I have been looking most forward to, in Tanzu Mission Control (TMC) is the ability to deploy a new Kubernetes (K8S) cluster and enable Continuous Delivery, as part of the deployment.
What that means, is that the cluster, will fetch a config, from a Git repository, after deployment, and allow configurations to be handled, thru that.
STATIC FILES IN BUILDPACKS
Intro
I spend quite some time the other day, trubleshooting how to preserve static files, when using Buildpacks. So I thought it was a good idea to document it here, in case other’s have the same problem.
The problem
When you are using Buildpacks, in Tanzu Application Platform (TAP), like I am.
AUTO GENERATING TLS CERTIFICATES FOR TANZU APPLICATION PLATFORM (TAP) WORKLOADS
Intro
As part of learning and using Tanzu Application Platform (TAP), I looked into auto generating TLS certificates, for the Workloads I provision.
The full documentation for what I describe in this blog post, can be found here. This blog post, describes how I did it, with with the set of components, that I use.
REMOTE ACCESS TO POD, WITHOUT OPENING FIREWALL, ON TANZU COMMUNITY EDITION
Intro
In this blog post, i’m gonna show you, how you can use Cloudflare to access an internal pod, running on your own machine, to the outside world. All without opening any firewall ports, and with a valid certificate, and access control. And did I mention, it’s all for free.
I will be doing all on the Tanzu Community edition. It will work on any Kubernetes distibution, Docker container etc. But when we got a cool free product, why not show it there :-)
TANZU APPLICATION PLATFORM ACCELERATOR WITH YTT
Intro
Tanzu Appliation Platform (TAP) has the concept of accelerators.
Accelerators contain complete and runnable application code and deployment configurations, and can be used by developers to create new projects that follow enterprise standards, as stated in the documentation.
While learning TAP, I quickly saw, that a good way for me, would be to use the Carvel project YTT, to create my templates.