custom-iptables

by joaquinito2051

Helm chartv0.2.1App 1.0

A Helm chart to install custom iptables rules based on https://github.com/bowei/k8s-custom-iptables/blob/master/run.sh

About this chart

Custom IPTables Rules

In order to connect to memorystore in GKE, you need to add some custom iptables rules to route traffic.

A chart to install custom iptables

Referenced in GKE docuementation

Values

ParameterDescriptionDefault
image.repositoryImage repositorygcr.io/google_containers/k8s-custom-iptables
image.tagImage Tag1.0
sleepIntervalNumber of seconds for script loop to sleep between runs60
targetsIP Range(s) of MemoryStore Instance"203.0.113.0/24 198.51.100.0/24"

Deploy custom-iptables with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has custom-iptables on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcustom-iptables is pinned at v0.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply