Skip to content

Instantly share code, notes, and snippets.

View pst's full-sized avatar
🐳

Philipp Strube pst

🐳
View GitHub Profile
@pst
pst / README.md
Last active June 9, 2021 19:12
Ingress cluster-service-module migration

Ingress cluster-service-module migration

Like for any Kubestack upgrade, update the version of your cluster module(s) and the image tag in the Dockerfiles. This is required to deprovision the previous Nginx ingress resources for all three providers. For AKS and GKE it additionally provides the reserved IP as an output of the cluster module. This output is used in the Nginx ingress cluster-servide-module's loadBalancerIP patch.

AKS

  1. Define the Kustomization provider as a required provider in versions.tf

terraform {

$ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.kustomization.test: Refreshing state...
kustomization_resource.test["~G_v1_Namespace|~X|test-istio"]: Refreshing state... [id=8faab14d-96ed-463c-8200-be295f55053b]
kustomization_resource.test["apiextensions.k8s.io_v1beta1_CustomResourceDefinition|~X|requestauthentications.security.istio.io"]: Refreshing state... [id=28feffa3-10a9-4b0d-927c-54f79d02f229]
kustomization_resource.test["apiextensions.k8s.io_v1beta1_CustomResourceDefinition|~X|destinationrules.networking.istio.io"]: Refreshing state... [id=d6935d3b-aabd-493c-a83d-20c8f434c3db]
kustomization_resource.test["apiextensions.k8s.io_v1beta1_CustomResourceDefinition|~X|rbacconfigs.rbac.istio.io"]: Refreshing state... [id=1d41838b-8779-4d88-8091-7e7ab863f1da]
FROM python:2.7
RUN echo 'debconf debconf/frontend select Noninteractive' \
| debconf-set-selections \
&& apt-get update -qq \
&& apt-get upgrade -y
ENV PYTHONUNBUFFERED 1
RUN mkdir /srv/www

Keybase proof

I hereby claim:

  • I am pst on github.
  • I am pst418 (https://keybase.io/pst418) on keybase.
  • I have a public key whose fingerprint is 3BF2 9B2D DDEF 20DC 44EC C738 5665 1349 79A1 FD04

To claim this, I am signing this object: