An open API service indexing awesome lists of open source software.

https://github.com/opszero/terraform-kubernetes-socat


https://github.com/opszero/terraform-kubernetes-socat

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# socat

Access internal resources through Kubernetes port-forwarding

```
module "rds-forwarder" {
source = "github.com/opszero/terraform-kubernetes-socat"

name = "rds-forwarder"
destination_host = "opszero.askldjasdkl.us-east-1.rds.amazonaws.com"
destination_port = 5432
container_port = 5432
}

```

On the command line:

```
kubectl port-forward deployments/rds-forwader 5431:5432
```

This will then route requests to:

```
psql -h 0.0.0.0 -p 5431 -U username -W databasename

```
## Providers

| Name | Version |
|------|---------|
| [kubernetes](#provider\_kubernetes) | n/a |
## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [container\_port](#input\_container\_port) | Port to listen to on the container | `any` | n/a | yes |
| [destination\_host](#input\_destination\_host) | Host name to route requests to. | `string` | n/a | yes |
| [destination\_port](#input\_destination\_port) | Port to listen to on the container | `any` | n/a | yes |
| [name](#input\_name) | Name of the deployment | `string` | n/a | yes |
## Resources

| Name | Type |
|------|------|
| [kubernetes_deployment_v1.socat](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/deployment_v1) | resource |
## Outputs

No outputs.
# 🚀 Built by opsZero!

[opsZero](https://opszero.com) provides software and consulting for Cloud + AI. With our decade plus of experience scaling some of the world’s most innovative companies we have developed deep expertise in Kubernetes, DevOps, FinOps, and Compliance.

Our software and consulting solutions enable organizations to:

- migrate workloads to the Cloud
- setup compliance frameworks including SOC2, HIPAA, PCI-DSS, ITAR, FedRamp, CMMC, and more.
- FinOps solutions to reduce the cost of running Cloud workloads
- Kubernetes optimized for web scale and AI workloads
- finding underutilized Cloud resources
- setting up custom AI training and delivery
- building data integrations and scrapers
- modernizing onto modern ARM based processors

We do this with a high-touch support model where you:

- Get access to us on Slack, Microsoft Teams or Email
- Get 24/7 coverage of your infrastructure
- Get an accelerated migration to Kubernetes

Please [schedule a call](https://calendly.com/opszero-llc/discovery) if you need support.




AWS Advanced Tier
AWS DevOps Competency
AWS EKS Delivery
AWS Public Sector