cloudsql-proxy-inject

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 13 Imported by: 0

README

CloudSQL Proxy Inject (cloudsql-proxy-inject)

Inject a CloudSQL Proxy sidecar into a Kubernetes deployment manifest.

Build

Linux
$ make build-linux
macos
$ make build-darwin

Usage

usage: cloudsql-proxy-inject --path=PATH --instance=INSTANCE --region=REGION --project=PROJECT --verbose=false[<flags>]

Flags:
  --help                  Show context-sensitive help (also try --help-long and --help-man).
  --path=PATH             Deployment file path where to inject clousql proxy (eg. ./my-deploy-manifest.yaml)
  --instance=INSTANCE     CloudSQL instance (eg. my-clousql-instance=tcp:5432)
  --region=REGION         GCP region (eg. europe-west1)
  --project=PROJECT       GCP project ID (eg. ricardo)
  --cpu-request="5m"      CPU request of the sidecar container
  --memory-request="8Mi"  Memory request of the sidecar container
  --cpu-limit="100m"      CPU limit of the sidecar container
  --memory-limit="128Mi"  Memory limit of the sidecar container
  --proxy-version="1.11"  CloudSQL proxy version
  --verbose=VERBOSE       Verbose mode (eg. false)
  --term-timeout          Delay CloudSQL proxy termination. Optional. Details: https://github.com/GoogleCloudPlatform/cloudsql-proxy 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL