* Enhanced this blueprint to add a second producer, and modularized the producer.
* Fixed terraform formatting
* Updating README.md with tfdoc
* Fixed test case conditions & module variable passing
* var definitions
* skeleton, untested
* fix errors, test with existing cluster
* test vpc creation, todo notes
* initial variables for AR and image
* initial variables for AR and image
* Add support for remote repositories to artifact-registry
* Add support for virtual repositories to artifact-registry
* Add support for extra config options to artifact-registry
* artifact registry module: add validation and precondition, fix tests
* ar module id/name
* registry
* service accoutn and roles
* fetch pods, remove image prefix
* small changes
* use additive IAM at project level
* use additive IAM at project level
* configmaps
* manifests
* fix statefulset manifest
* service manifest
* fix configmap mode
* add todo
* job (broken)
* job
* wait on manifest, endpoints datasource
* fix job
* Fix local
* sa
* Update README.md
* Restructure gke bp
* refactor tree and infra variables
* no create test
* simplify cluster SA
* test cluster and vpc creation
* project creation fixes
* use iam_members variable
* nits
* readme with examples
* readme with examples
* outputs
* variables, provider configuration
* variables, manifests
* start cluster job
* fix redis cluster creation
Co-authored-by: Julio Castillo <juliocc@users.noreply.github.com>
* Revert changes in autopilot cluster
* Default templates path, use namespace for node names
* Update readmes
* Fix IAM bindings
* Make STABLE the default release channel
* Use Cloud DNS as default DNS provider
* Allow optional Cloud NAT creation
* Allow backup agent and proxy only subnet
* Work around terraform not short-circuiting logical operators
* Rename create variables to be more consistent with other blueprints
* Add basic features
* Update variable names
* Initial kafka JS
* Move providers to a new file
* Kafka / Strimzi
* First possibily working version for MySQL (with a lot of todo's left)
* Explicitly use proxy repo + some other fixes
* Strimzi draft
* Refactor variables, use CluterIP as pointer for mysql-router for bootstraping
* Validate number of replicas, autoscale required number of running nodes to n/2+1
* Use seaprate service for bootstrap, do not recreate all resources on change of replicas count as the config is preserved in PV
* Test dual chart kafka
* Update chart for kafka
* Expose basic kafka configuration options
* Remove unused manifest
* Added batch blueprint
* Added README
* switch to kubectl_manifest
* Add README and support for static IP address
* Move namespace creation to helm
* Interpolate kafka variables
* Rename kafka-strimzi to kafka
* Added TUTORIAL for cloudshell for batch blueprint
* deleted tutorial
* Remove commented replace trigger
* Move to helm chart
* WIP of Cloud Shell tutorial for MySQL
* Rename folders
* Fix rename
* Update paths
* Unify styles
* Update paths
* Add Readme links
* Update mysql tutorial
* Fix path according to self-link
* Use relative path to cwd
* Fix service_account variable location
* Fix tfvars creation
* Restore some fixes for helm deployment
* Add cluster deletion_prevention
* Fixes for tutorial
* Update cluster docs
* Fixes to batch tutorial
* Bare bones readme for batch
* Update batch readme
* README fixes
* Fix README title for redis
* Fix Typos
* Make it easy to pass variables from autopilot-cluster to other modules
* Add connectivity test and bastion host
* updates to readme, and gpu fix
* Add versions.tf and README updates
* Fix typo
* Kafka and Redis README updates
* Update versions.tf
* Fixes
* Add boilerplate
* Fix linting
* Move mysql to separate branch
* Update cloud shell links
* Fix broken link
---------
Co-authored-by: Ludo <ludomagno@google.com>
Co-authored-by: Daniel Marzini <44803752+danielmarzini@users.noreply.github.com>
Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
Co-authored-by: Miren Esnaola <mirene@google.com>
* implement optionals in gke-hub module
* simplify gke hub module call in mc mesh blueprint
* simplify gke hub module call and variables in multitenant blueprint
* gke hub inventory
* provide cluster and fleet examples in stage
Can't provide just one size (like `web_server` or `triggerrer`) because
of no defaults are taken:
module.composer.google_composer_environment.env: Modifying... [id=***]
╷
│ Error: googleapi: Error 400: Found 6 problems:
│ 1) You have to specify Scheduler CPUs not lower than 0.5.
│ 2) You have to specify number of schedulers larger than 0.
│ 3) You have to specify Web Server CPUs not lower than 0.5.
│ 4) You have to specify Worker CPUs not lower than 0.5.
│ 5) You have to specify minimum number of workers larger than 0.
│ 6) Triggerer memory must be between 1.00GB and 6.50GB for given vCpu
So provide the defaults as set workloads_config == null
This blueprint creates a networking playground showing a number of different VPC connectivity options:
Hub and spoke via HA VPN
Hub and spoke via VPC peering
Interconnecting two networks via a network virtual appliance (aka NVA)
On top of that, this blueprint implements Policy Based Routing (aka PBR) to show how to force all traffic within a VPC to be funneled through an internal network passthrough load balancer, to implement an Intrusion Prevention System (IPS). PBR is enabled in the hub VPC, matching all traffic originating from within that VPC.
* Update shared vpc config for project factory and project module for more granular Shared VPC configuration
---------
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
* fist test
* dev complete
* update tf with permissions, enabled APIs and discovery root management
* updated readme
* moved projects discovery to a separate method
* reviewed Mauri's changes
* add missing lines from last change
* - fixed discovery page size to 100
- removed last_asset_page_reached var from discover_projects
- added cast to list for projects var in _main, to make the script work both using CLI and pub/sub
* fixed discovery_root default value to work when no value is passed
* fixed tfdoc
* fixed tftest resources #
---------
Co-authored-by: Ludo <ludomagno@google.com>
* improve project factory example
* light refactor of project modules shared vpc internals and docs
* add support for subnet-level grants on host project