cloud-sql-proxy
tanka
cloud-sql-proxy | tanka | |
---|---|---|
4 | 25 | |
1,231 | 2,240 | |
1.1% | 2.3% | |
9.2 | 8.3 | |
1 day ago | 8 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cloud-sql-proxy
- How do I connect a local Docker container to a Cloud SQL instance?
-
Cloud SQL with Private IP vs Public IP (Cloud SQL Auth Proxy only)?
Yep I managed to get it working with a Public IP DB (with no IPs allowed) + this tunnel-like thing https://github.com/GoogleCloudPlatform/cloud-sql-proxy
-
Tell HN: CloudSQL cause random 5xx, GCP DevRel shutdowns feedback
Where XXXX is the the IP address of our machine and YYYY is the IP address of CloudSql. Upon Google searching, we discovered this thread of other people experiencing this same issue with GCP CloudSQl.
https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/343
-
Google Kubernetes clusters config checker tool
I wish they would reuse the pattern of Cloud SQL where you can get temporary access without manually handling the Authorized Networks setting. The Cloud SQL API lets you exchange your API access token for a short lived TLS client certificate. This is done client side by things like [cloudsql-proxy](https://github.com/GoogleCloudPlatform/cloudsql-proxy) and [the cloud-sql-jdbc-socket-factory java library](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket...). This way, I can access my Cloud SQL instance from my IDE, even though my list of authorized networks is empty.
I feel like the gke-gcloud-auth-plugin cloud do something very similar.
tanka
-
Why the fuck are we templating YAML? (2019)
I would recommend implementing a similar API to Grafana Tanka: https://tanka.dev
When you "synthesise", the returned value should be an array or an object.
1. If it's an object, check if it has an `apiVersion` and `kind` key. If it does, yield that as a kubernetes object and do not recurse.
-
What Is Wrong with TOML?
Maybe you'd like jsonnet: https://jsonnet.org/
I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).
Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/
A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet
-
Show HN: Keep β GitHub Actions for your monitoring tools
- validation is often impractical (at least identifying exactly where the error isβ¦ Iβm looking at you Helm!)
Unrelated to OP, but you can leverage Tanka to extend helm charts with functionality not provided by upstream.
https://tanka.dev/
-
Alternatives to Helm?
Although jsonette might be considered more complex Tanka is a great alternative for k8s config management.
- Helm makes it overly complex, or is it just me?
-
The YAML Document from Hell
At Grafana Labs we're using jsonnet at scale, while being a powerful functional language it is also excellent for rendering JSON/YAML config. We have developed Tanka[0] to work with Kubernetes, for other purposes I can recommend this course[1] (authored by me).
[0] https://tanka.dev/
[1] https://jsonnet-libs.github.io/jsonnet-training-course/
-
Should i migrate from Kustomize to Helm?
If you're hitting the limits of Kustomize, maybe look at Tanka as well.
-
Is it possible to wrap Kustomize yaml with jinja2?
Yes, try Tanka.
-
Using Docker β Compose in Development and Production
yes. basically. and this is a path that multiple people are trying to solve. e.g. AWS CDK8s, https://tanka.dev/, etc
Compose would be awesome.
-
Google Kubernetes clusters config checker tool
http://tanka.dev
(Note I work for Grafana Labs who fund Tanka and use it for all production config)
What are some alternatives?
cloudsql-proxy - A utility for connecting securely to your Cloud SQL instances [Moved to: https://github.com/GoogleCloudPlatform/cloud-sql-proxy]
helm-charts - Prometheus community Helm charts
popeye - π A Kubernetes cluster resource sanitizer
kustomize - Customization of kubernetes YAML configurations
cloud-sql-jdbc-socket-factory - A collection of Java libraries for connecting securely to Cloud SQL
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
cloud-sql-jdbc-socket
ytt - YAML templating tool that works on YAML structure instead of text
ksonnet - A CLI-supported framework that streamlines writing and deployment of Kubernetes configurations to multiple clusters.
kpt - Automate Kubernetes Configuration Editing
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages π
kubecfg - A tool for managing complex enterprise Kubernetes environments as code.