Use this overlay to fix the configuration for the Contour package when deploying Tanzu Application Platform on top of TKGI.
The default package configuration does not work with TKGI, since it requires IPv6 networking for nodes (TKGI is IPv4 only).
Using this overlay the configuration is updated to use IPv4 only.
You have two options to apply this overlay.
This option is the easiest way to deploy these overlays, by editing an existing TAP package deployed in your cluster.
First of all, you should deploy overlays to your cluster:
kubectl apply -f overlay-contour.yaml -f overlay-contour-fix-ipv6.yaml
Run this command to edit the TAP package:
kubectl annotate -n tap-install pkgi tap "ext.packaging.carvel.dev/ytt-paths-from-secret-name.0=overlay-contour"
The TAP package should start reconciling after running this command.
Using this option makes your installation more reliable, since the overlay is part of your installation.
Make sure you deploy the Contour overlay to your cluster (or include this file as part of your deployment):
kubectl apply -f overlay-contour-fix-ipv6.yaml
Edit your TAP configuration (tap-values.yaml
) by adding this section:
package_overlays:
- name: contour
secrets:
- name: overlay-fix-contour-ipv6
From now on, the next time you install or upgrade your TAP installation, the Contour overlay will be applied.
You can now enjoy using TAP on top of your TKGI cluster.
Hope it helps!
Thanks for the write-up. It really helps!
I tried option 2 when installing TAP 1.9.0 on a TKGi v1.19.0 cluster today and hit the below error.
It seems now 2 deployments contour/envoy will be matched. So to fix the issue I changed the
overlay.subset()
by adding deployment name as shown below.