custom-iptables
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
| Parameter | Description | Default |
|---|---|---|
image.repository | Image repository | gcr.io/google_containers/k8s-custom-iptables |
image.tag | Image Tag | 1.0 |
sleepInterval | Number of seconds for script loop to sleep between runs | 60 |
targets | IP 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcustom-iptables is pinned at v0.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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