Skip to content

wojtekk/kubectl-aws-rds-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

kubectl aws-rds-proxy

Start socat with proxy in Kubernetes and forward local port to AWS RDS Cluster or Instance.

Installation

Pre-requirements

Using krew

kubectl krew index add wojtekk https://github.com/wojtekk/krew-index
kubectl krew install net-forward
kubectl krew install wojtekk/aws-rds-proxy

Using Curl

curl -LO https://github.com/wojtek/aws-rds-proxy/raw/master/kubectl-aws_rds_proxy
chmod +x ./kubectl-aws_rds_proxy
sudo mv ./kubectl-aws_rds_proxy /usr/local/bin/kubectl-aws_rds_proxy

Usage

Usage:
  kubectl aws-rds-proxy local_port:rds_db_identifier

Options
  --namespace   Kubectl Namespace
  --debug       Print debug information
  --help        Display help
  --version     Print version

Example

kubectl aws-rds-proxy 33061:my-rds-cluster-name
kubectl aws-rds-proxy 33062:my-rds-instance-name

About

Proxy to AWS RDS Cluster or Instance via Kubernetes

Topics

Resources

License

Stars

Watchers

Forks

Languages