Commit Graph

239 Commits

Author SHA1 Message Date
Maurizio Noseda Pedraglio c359c13d4a removed unneeded import 2022-10-24 13:49:31 +02:00
Maurizio Noseda Pedraglio 0a878454aa dashboard fix 2022-10-21 18:48:53 +02:00
Maurizio Noseda Pedraglio 4b1138c5bb pr comments fixed 2022-10-21 18:44:53 +02:00
Maurizio Noseda Pedraglio cebc9360f8 fixes to dashboard and statc routes category metric name 2022-10-21 17:43:00 +02:00
Julio Castillo b194b51ef3
Merge branch 'master' into maunope/static_routes 2022-10-20 23:11:44 +02:00
Julio Castillo f8208670e2 Fix variable cf_version validation 2022-10-20 19:12:57 +02:00
Julio Castillo ea9227dedf Update README 2022-10-20 19:10:46 +02:00
Julio Castillo 2d7319c4e8 Fix cron description 2022-10-20 19:10:46 +02:00
Julio Castillo 21152c3c45 Improve net dashboard variables 2022-10-20 19:10:46 +02:00
Julio Castillo a988775c14 Do not modify in parameters in format_* functions 2022-10-20 18:56:54 +02:00
Aurélien Legrand 4d067fe2cd
Network Dashboard: CFv2 and performance improvements (#896)
* Improving Cloud Function v2 support for the Networking Dashboard.

* yapf formatting.

* Improving support for CFv2 and performance for asset inventory queries

* Update README.md

added v2 parameter do readme

* cleanip up main.py and improving performance by 20% in metrics.py by reusing the same client instance

* Making a condition clearer

* Update blueprints/cloud-operations/network-dashboard/cloud-function/metrics/subnets.py

Co-authored-by: David Gleich <gleichda@google.com>

* Update after PR from Maurizio on Firewall Policies and David's comments.

Co-authored-by: maunope <44614195+maunope@users.noreply.github.com>
Co-authored-by: David Gleich <gleichda@google.com>
2022-10-19 18:59:28 +02:00
Maurizio Noseda Pedraglio 3a687fd387 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into maunope/static_routes 2022-10-19 17:45:03 +02:00
Maurizio Noseda Pedraglio 94831780d5 Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-19 17:16:31 +02:00
Maurizio Noseda Pedraglio d2e38fb9d6 removed dependency 2022-10-19 17:15:54 +02:00
Aurélien Legrand 4d11251f17
Update README.md 2022-10-19 16:40:42 +02:00
Aurélien Legrand 23807615f4
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-19 14:56:52 +02:00
marcjwo 5ef93e2829
Marcwo/bqfactory (#884)
* adding the bq factory

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-18 17:07:15 +02:00
Luca Prete 0122f145ab
Minor fixes to PSC hybrid blueprint readmes 2022-10-17 10:40:11 +02:00
Natalia Strelkova edfbd7f1f0
Merge branch 'master' into nstrelkova-wordpress-password-fix 2022-10-16 22:02:58 +02:00
Giovanni Baratta ca1dc3659a
Add auto_delete and instance_redistribution_type to compute-vm and compute-mig modules. (#890)
* Add auto_delete parameter to compute-vm module

* Add instance_redistribution_type in compute-mig module
2022-10-16 21:19:46 +02:00
Luca Prete a8ddf5d1ba
Add PSC hybrid blueprint 2022-10-16 10:18:40 +02:00
Natalia Strelkova 4ac24b68be random password: let the cloudsql module generate it 2022-10-15 20:16:50 +00:00
Maurizio Noseda Pedraglio 2248639e8b fixed merge 2022-10-14 13:02:05 +02:00
Maurizio Noseda Pedraglio 801fe1c626 fixes to dashboard 2022-10-14 12:55:07 +02:00
Maurizio Noseda Pedraglio 658b34c9c0 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-14 12:34:48 +02:00
Maurizio Noseda Pedraglio de5bad7f19 corrected default value for static routes 2022-10-14 12:05:17 +02:00
Ludovico Magnocavallo 4fa1dc431d
Refactor net-vpc module for Terraform 1.3 (#880)
* module tests pass

* doc examples

* refactor blueprints

* fast stages

* fix comment typo

* fix module factory test
2022-10-14 11:02:33 +02:00
Somnath Shukla a12da693a3
added support 2nd generation cloud function (#872)
* added support 2nd generation cloud function

* changed function_version to a simple boolean v2
removed memory_2ndGen

* will use the var.v2 to add the invoker role

* removed the list uisng compact and formated the code

* formated the code and added conditional feature

* formated the code

* added formating

* resolved the merge conflict

* Update readme

* Create local function object

* added secret_volumes
and secret_environment_variables for CF V2

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-13 08:09:00 +02:00
lcaggio ce148d68f4 Update roles 2022-10-13 06:36:20 +02:00
Maurizio Noseda Pedraglio 1fb93e1b64 aligned timestamps for ppg data 2022-10-12 15:05:58 +02:00
Maurizio Noseda Pedraglio 61917690e5 added support for ppg static routes 2022-10-12 14:51:03 +02:00
Ludovico Magnocavallo e8056577ce
Refactor GKE nodepool and blueprints (#875)
* first shot, untested

* example tests working

* module tests

* work on gke blueprints

* multitenant fleet doc examples

* fix gke hub doc examples

* blueprint tests

* move master range to vpc config

* fast stage 3 gke test

* tfdoc

* bump provider versions

* and bump provider again to latest
2022-10-12 12:59:36 +02:00
Julio Castillo bb4aacd152
Update README.md 2022-10-11 15:25:27 +02:00
Julio Castillo 29b3d84b3f
Update README.md 2022-10-11 15:23:59 +02:00
Julio Castillo 9c2b850a0a
Update README.md 2022-10-11 15:22:46 +02:00
Julio Castillo 6abb7ae0bc
Update README.md 2022-10-11 15:21:30 +02:00
Julio Castillo d8f0f7040f Revert "Fix cloud shell links"
This reverts commit 75a6dab413.
2022-10-11 15:16:38 +02:00
Julio Castillo 75a6dab413 Fix cloud shell links 2022-10-11 14:53:15 +02:00
Natalia Strelkova d4a5354daf
fixes: docker tag command and link to Cloud Shell 2022-10-11 14:22:04 +02:00
Maurizio Noseda Pedraglio 311d50c183 added static routes per vpc tracking 2022-10-10 22:06:57 +02:00
Maurizio Noseda Pedraglio 3608b573fd updated dashbaord and readme 2022-10-10 17:45:08 +02:00
Maurizio Noseda Pedraglio 3b259a90bb Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-10 15:54:47 +02:00
Maurizio Noseda Pedraglio c52b623857 Added Firewall Policies Monitoring
Added buffering for writes (execution now 4x faster on my laptop)
Added aligned timestamps per monitored resource type
2022-10-10 15:53:14 +02:00
Maurizio Noseda Pedraglio 82f3daf917 Added Firewall Policies Monitoring, added buffered metric writes (CF now 4x faster on my laptop), switched to aligned timestamps (should avoid "sawtoothing") 2022-10-10 15:52:54 +02:00
Ludovico Magnocavallo f080794167
Merge branch 'master' into tmp_revert_to_1.3.1 2022-10-10 11:21:26 +02:00
Natalia Strelkova 5dbc61cb8c temporary revert to Terraform 1.3.1 to support Cloud Shell 2022-10-10 09:19:55 +00:00
maunope d5b42d5378
Maunope/network added firewall metrics (#856)
* support for project level VPC firewall metrics

* updated GCP networking dashboard (.json file)

Co-authored-by: Maurizio Noseda Pedraglio <mnoseda@google.com>, Aurélien Legrand <aurelien.legrand01@gmail.com>
2022-10-10 10:46:22 +02:00
Aurélien Legrand 17ee413a7e
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-10 10:12:07 +02:00
Ludovico Magnocavallo 16822e94ab
Refactor GKE module for Terraform 1.3 (#868)
* wip

* module and module tests

* doc examples

* gke-hub doc examples

* gke blueprints

* hub and spoke peering blueprint

* Rename some keys of some optional objects

* Fix readme

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-10 09:38:21 +02:00
maunope dffd5b4c3b
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-10 09:25:09 +02:00
Maurizio Noseda Pedraglio ac82a8ce7b solved pul comments and fixed grouping on firewalls utilization chart 2022-10-07 17:24:04 +02:00
Natalia Strelkova 54290fb18e
Merge branch 'master' into example-wordpress 2022-10-07 15:41:22 +02:00
Natalia Strelkova eb47e03d5d formatting 2022-10-07 13:31:15 +00:00
Natalia Strelkova 8eae3525b3 existing connector - variable 2022-10-07 13:29:55 +00:00
Maurizio Noseda Pedraglio 1f3cfe8e8e fixed dashboard comments 2022-10-07 15:18:13 +02:00
Natalia Strelkova 8a8a3fd76a firewall unnecessary 2022-10-07 13:13:15 +00:00
Ludovico Magnocavallo a0171b2c49
Bump terraform required version (#864)
* bump terraform required version

* fix test

* debug test

* debug test

* disable test

* fix CI file, bump terraform action version
2022-10-07 12:51:56 +02:00
maunope 6e128eeb4d
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-07 12:23:55 +02:00
Maurizio Noseda Pedraglio 2df2bbde64 Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-07 11:35:34 +02:00
Maurizio Noseda Pedraglio c0573ce596 fixed PR #856 comments 2022-10-07 11:34:00 +02:00
Ludovico Magnocavallo e66340c4db
Refactor compute-vm for Terraform 1.3 (#860)
* refactor compute-vm for Terraform 1.3

* bump Terraform version in CI tests config

* fix optional null handling (ht jccb)

* tfdoc

* update blueprints

* align fast

* align README examples
2022-10-07 10:53:53 +02:00
Ludovico Magnocavallo 00b3383d16
Merge branch 'master' into example-wordpress 2022-10-07 10:32:43 +02:00
Natalia Strelkova 2f8a03a801
style and a note on password change 2022-10-07 09:46:39 +02:00
Julio Castillo 894647ff9e Leverage new shared VPC project config defaults across the repo 2022-10-07 08:55:47 +02:00
Natalia Strelkova 07f89e0aa0 connector creation in a variable 2022-10-07 06:37:07 +00:00
Natalia Strelkova e9779e30ed locals moved to main 2022-10-07 06:28:05 +00:00
Natalia Strelkova c770abd88d files restructured, connector added separately 2022-10-06 14:25:30 +00:00
Natalia Strelkova aa3c6abcc2
explanation on accessing the installation 2022-10-06 13:43:31 +02:00
Natalia Strelkova bb436e47a8
Merge branch 'GoogleCloudPlatform:master' into example-wordpress 2022-10-06 11:33:19 +02:00
Natalia Strelkova b6dcde6745
Info on the VPC serverless connector 2022-10-06 11:32:27 +02:00
Natalia Strelkova c2056602e3 principals: rights list 2022-10-06 09:25:38 +00:00
Natalia Strelkova c72d3555a3 principals varibale description: users 2022-10-06 09:10:40 +00:00
Natalia Strelkova bea92728fb removed unnecessary README 2022-10-06 08:53:27 +00:00
Natalia Strelkova 0411dbbd51 ip_ranges var 2022-10-06 07:58:48 +00:00
maunope 8d39ded6d6
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-05 17:38:06 +02:00
Natalia Strelkova b11ae47738 passwords: either specified or random 2022-10-05 14:11:10 +00:00
Natalia Strelkova b5a5150bb8 docker image tag added 2022-10-05 14:09:48 +00:00
Maurizio Noseda Pedraglio 14da0eec29 removed obsolete code - compute api firewalls list 2022-10-05 12:27:35 +02:00
Maurizio Noseda Pedraglio bebe9ed110 removed hardcoded debug value 2022-10-05 11:13:53 +02:00
Taneli Leppä 4feb3514fd Added an example of a Nginx reverse proxy cluster using RMIGs. 2022-10-04 15:38:52 +02:00
Maurizio Noseda Pedraglio 7f2399bd70 Added charts to dashboard, fixed a merge glitch, updated readme, removed hardcoded parameters 2022-10-04 10:11:09 +02:00
Maurizio Noseda Pedraglio cdf53552d7 support for project level VPC firewall metrics 2022-10-03 15:48:46 +02:00
Maurizio Noseda Pedraglio ec54165a89 reverted stuff pushed by mistake 2022-09-30 11:55:11 +02:00
Maurizio Noseda Pedraglio 10e1a5e48a Merge branch 'updates-quota-monitoring-function' of https://github.com/maunope/cloud-foundation-fabric into updates-quota-monitoring-function 2022-09-30 11:15:53 +02:00
Maurizio Noseda Pedraglio 1c134a735b tracking of vpc firewalls, initial commit 2022-09-30 11:10:48 +02:00
maunope 9a67546cb9
Merge branch 'GoogleCloudPlatform:master' into updates-quota-monitoring-function 2022-09-30 11:08:49 +02:00
Maurizio Noseda Pedraglio eea4642cf2 applied tfdoc 2022-09-30 11:07:44 +02:00
Aurélien Legrand a709febfdb
Network dashboard: Subnet IP utilization update (#837)
* Adding IP utilization per subnet metrics and folder level support.

* Update README.md

* Removing unused imports

* yapf formatting

* removing unused imports

* removing hard coded prefix

* Update README.md

* Variable renaming

* variable renaming

* formatting

* Comments and yapf formatting

* in the proper blueprints folder this time

* Updated after comments from David.

Co-authored-by: Aurélien Legrand <legranda@google.com>
2022-09-30 10:51:16 +02:00
Maurizio Noseda Pedraglio 10811b3d31 fixed conditional creation and updated readme 2022-09-30 10:27:31 +02:00
Maurizio Noseda Pedraglio 8b7bf698d2 made alert creation optional 2022-09-30 09:55:38 +02:00
Maurizio Noseda Pedraglio 5e2763835f Main.py: removed some commented Lines
main.tf updated sample alert, no "catch all" alerts are possible since we use multiple metrics, switched to a single metric alert (cpus quota)
2022-09-29 19:38:42 +02:00
Maurizio Noseda Pedraglio 06d02c248a fixed typo as per ludo review 2022-09-29 19:37:08 +02:00
Maurizio Noseda Pedraglio 75972de1b6 fixed bulleted list 2022-09-29 19:29:12 +02:00
Maurizio Noseda Pedraglio a7c2de1d8f update readme for quota monitoring CF 2022-09-29 19:25:54 +02:00
Maurizio Noseda Pedraglio b15193f75f Merge branch 'updates-quota-monitoring-function' of https://github.com/maunope/cloud-foundation-fabric into updates-quota-monitoring-function 2022-09-29 17:55:23 +02:00
Maurizio Noseda Pedraglio 3781c077e5 address ludo review comments 2022-09-29 17:53:35 +02:00
maunope a2651f46f8
Merge branch 'master' into updates-quota-monitoring-function 2022-09-29 17:39:22 +02:00
Maurizio Noseda Pedraglio cebe08d1be Changed time series format: split time series for limit, usage and utilization. 2022-09-29 17:28:47 +02:00
lcaggio f7ef127149 first commit. 2022-09-28 15:14:36 +02:00
Julio Castillo ac835b6d50 Update terraform version 2022-09-28 11:28:05 +02:00
lcaggio 3a2b2d443b Remove env_variables in the default value. 2022-09-27 15:32:30 +02:00
lcaggio a2598991fc Implements review comments. 2022-09-27 12:44:54 +02:00
Natalia Strelkova 256b1b77f9
Merge branch 'master' into example-wordpress 2022-09-21 15:47:04 +02:00
Natalia Strelkova dbdaeda376 style in locals 2022-09-21 13:46:38 +00:00
Natalia Strelkova d95f5d948b more readability 2022-09-21 13:43:28 +00:00
Natalia Strelkova 0722f7d124 variables alphabetically 2022-09-21 13:38:52 +00:00
Natalia Strelkova 4379525718 typos and style corrections 2022-09-21 13:34:16 +00:00
lcaggio 78026a4d5a Improve composer config variable. 2022-09-21 15:00:52 +02:00
lcaggio 3937e46da9 Merge branch 'master' into lcaggio/composer-2 2022-09-20 17:26:47 +02:00
lcaggio ee309ecc06 Update firewall rules. 2022-09-20 16:57:35 +02:00
lcaggio 0704a0ad30 Fixes based on comments. 2022-09-20 12:26:57 +02:00
lcaggio a88447d10f Merge branch 'master' into lcaggio/composer-2 2022-09-20 11:49:20 +02:00
Natalia Strelkova 9c8969cc65 one block for code instead of three 2022-09-20 09:27:06 +00:00
lcaggio f28dc5cb04 Fix tests 2022-09-20 10:51:11 +02:00
lcaggio 6c42fa3504 Add articatregistry service 2022-09-20 10:35:06 +02:00
Natalia Strelkova 0b5b9c57d1 comments on separate lines 2022-09-20 07:55:06 +00:00
lcaggio df8bcc1bb2 Fix resource dependencies. 2022-09-19 12:00:42 +02:00
lcaggio 5968661e8d First commit 2022-09-19 10:34:46 +02:00
Natalia Strelkova c811269850
more info in the readme (org. policy and other) 2022-09-15 16:17:24 +02:00
Eva 2330d3e6f5 Merge branch 'example-wordpress' of https://github.com/skalolazka/cloud-foundation-fabric into example-wordpress
getting
2022-09-15 13:03:33 +00:00
Natalia Strelkova fa68ed4ce1 moving Wordpress to the right folder 2022-09-15 12:17:45 +00:00
Ludovico Magnocavallo ec87f4abea typo 2022-09-14 23:39:09 +02:00
Ludovico Magnocavallo 9400eed2bf
Add documentation example test for pf (#813)
* Add documentation example test for pf

* skip tmpdir for examples
2022-09-14 14:34:30 +02:00
Julio Castillo 7e9173d35d Create fully recursive e2e test runner 2022-09-12 13:58:11 +02:00
Ludovico Magnocavallo aea24f24f8 fix blueprint tests 2022-09-12 11:54:18 +02:00
Ludovico Magnocavallo 8026eef3b7 remove stale link in blueprints readme 2022-09-12 11:06:01 +02:00
Ludovico Magnocavallo a2849cf4a0 remove stale foundation blueprints links 2022-09-12 10:33:04 +02:00
Julio Castillo 96edc4b58f Move gke multi cluster mesh example to gke folder 2022-09-12 10:26:33 +02:00
Julio Castillo 96257871a2 Move binautz to gke folder 2022-09-12 10:21:56 +02:00
Julio Castillo 91c569268e Update readmes 2022-09-12 10:15:47 +02:00
Julio Castillo 20d5ebac40 Remove foundations blueprints in favor of FAST 2022-09-12 10:11:35 +02:00
Julio Castillo 014c2c7d10 Add readme to serverless blueprints folder 2022-09-12 10:09:56 +02:00
Julio Castillo faf6c48a80 Add gke description 2022-09-12 10:03:27 +02:00
Julio Castillo 61c45501ab Link shared vpc gke blueprint in gke folder 2022-09-12 10:00:38 +02:00
Julio Castillo 72da12e377 Rename gke-serverless to gke and add test for fast gke stage 2022-09-12 09:56:25 +02:00
Julio Castillo 0ee32be2fa More updates 2 2022-09-09 16:40:37 +02:00
Julio Castillo da2f601c9a More updates 2022-09-09 16:39:01 +02:00
Julio Castillo 269894e92b Update all internal links examples -> blueprints 2022-09-09 16:39:01 +02:00
Julio Castillo a248602827 Rename examples folder to blueprints 2022-09-09 16:38:43 +02:00