https://github.com/boltops-tools/glb
https://github.com/boltops-tools/glb
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boltops-tools/glb
- Owner: boltops-tools
- License: other
- Created: 2023-01-21T17:21:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T23:31:20.000Z (about 3 years ago)
- Last Synced: 2025-02-19T07:47:57.293Z (over 1 year ago)
- Language: Ruby
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Glb
Create and delete Google Load Balancer components.
Pros:
* The tool wraps gcloud commands. This helps those who are familiar with gcloud commands and are referencing google cloud docs.
Cons/Limitations:
* The tool assumes that the source of truth is the configuration. It does not detect and will update and overwrite any manual changes that does not match the configuration.
* This is notably different from terraform which will perform a diff calculation, which can provide a diff in the plan.
* The `gcloud compute [RESOURCE] update` will not run if there are no attributes in the command, else `gcloud` reports an error.
## Usage
Commands:
glb plan APP
glb up APP
glb down APP
glb show APP
APP is your app name. IE: demo
## Docs
* [External Load Balancer (Global)](docs/external.md)
* [Internal Load Balancer (Region)](docs/internal.md)
## Resources
The tool creates these resources:
* firewall rule
* health check
* backend service
* url map
* target http proxy
* forwarding rule
If SSL is enabled it'll also create a
* target https proxy (associated with the same url map)
* forwarding rule (associated with the target https proxy)
The same url map is used because that's what shows up as a Load Balancer in the Google console.
## Installation
gem install glb