Commit Graph

68 Commits

Author SHA1 Message Date
Tom Alexander
f91d6774ca Add a schema for source location. 2025-05-05 22:49:06 -04:00
Tom Alexander
c6f417f323 fixup! Add a simple python script to stream logs from google cloud. 2025-05-05 22:47:52 -04:00
Tom Alexander
52571da12e Add a simple python script to stream logs from google cloud. 2025-05-05 20:31:25 -04:00
Tom Alexander
31d4b4b81c Add some useful promql queries. 2025-05-05 19:20:01 -04:00
Tom Alexander
17f3184187 Remove unused import. 2025-02-01 14:34:02 -05:00
Tom Alexander
14c6eaaa7b Wait for docker container to start, draw horizontal lines, use 0-based start time for containers instead of real wall time, and add a graph title. 2024-10-18 17:22:54 -04:00
Tom Alexander
561bfa40ab Wait for docker containers to exist before starting recording.
This enables us to capture the full life of the container since the script can now be kicked off before the container is launched.
2024-10-18 08:32:02 -04:00
Tom Alexander
927c14d238 Add a script that graphs memory usage of docker containers over time. 2024-10-17 19:41:33 -04:00
Tom Alexander
b49a2ed965 Add some google cloud logging queries. 2024-10-04 22:19:30 -04:00
Tom Alexander
7167e3fa32 Switch to new way to specify cpu usage. 2021-07-24 23:10:52 -04:00
Tom Alexander
3654b13a66 Merge branch 'autoscaling' 2021-07-24 23:00:30 -04:00
Tom Alexander
c1d18e0fe5 Scaling based on CPU usage. 2021-07-24 22:36:48 -04:00
Tom Alexander
fc7e54ea8a Always pull image. 2021-07-24 22:25:40 -04:00
Tom Alexander
9222476444 Expose it as a service. 2021-07-24 22:20:42 -04:00
Tom Alexander
35f3265659 Add auto scale deployment. 2021-07-24 21:48:24 -04:00
Tom Alexander
6f2ee8f880 Make GCP project a variable also. 2021-07-24 21:31:51 -04:00
Tom Alexander
2a225de2f9 Create an echo service docker image. 2021-07-24 21:23:40 -04:00
Tom Alexander
09c7cc8d03 Randomize temp storage bucket. 2021-07-22 22:02:08 -04:00
Tom Alexander
ed106036dd Merge branch 'cf_to_bq' 2021-07-21 01:48:29 -04:00
Tom Alexander
b0092be5d6 Add support for a second function to log directly to bigquery. 2021-07-21 01:35:45 -04:00
Tom Alexander
23a0d041ba Merge branch 'cloudfunc' 2021-07-20 23:37:42 -04:00
Tom Alexander
7bf8370650 Push events to pubsub. 2021-07-20 23:26:14 -04:00
Tom Alexander
f457cf2a6c Put on a limit of max instances. 2021-07-20 23:03:01 -04:00
Tom Alexander
d90b267848 Add example curl. 2021-07-20 22:38:16 -04:00
Tom Alexander
75f760695b Ignore built zips. 2021-07-20 22:34:07 -04:00
Tom Alexander
7fa8ffee88 Allow external connections. 2021-07-20 22:31:20 -04:00
Tom Alexander
e3b6049f60 Initial setup of a cloud function. 2021-07-20 22:24:32 -04:00
Tom Alexander
b0bc1c1520 Add a field for the time partitioning. 2021-07-20 01:55:02 -04:00
Tom Alexander
0596d2f359 Merge branch 'bq' 2021-07-20 01:18:26 -04:00
Tom Alexander
5241df2d94 Add bigquery table. 2021-07-20 01:16:38 -04:00
Tom Alexander
e88ba72449 Add dataflow job. 2021-07-20 01:16:38 -04:00
Tom Alexander
879ea6cc60 Add pubsub topic and subscription. 2021-07-20 01:16:36 -04:00
Tom Alexander
63799618da Merge branch 'workload_identity' 2021-07-20 01:14:55 -04:00
Tom Alexander
c3e5b70a84 Add require_tls param to cloudsql module. 2021-07-18 22:58:09 -04:00
Tom Alexander
b087d1eed9 Output a connection URL for cloudsql. 2021-07-18 21:47:20 -04:00
Tom Alexander
dfb5191868 Add cloudsql ip address output. 2021-07-18 21:26:21 -04:00
Tom Alexander
fd63ea2c43 Generate a postgresql certificate. 2021-07-18 21:19:08 -04:00
Tom Alexander
8a7fa68a6e Add IAM auth and set postgres user password. 2021-07-18 20:49:50 -04:00
Tom Alexander
78b497783b Add a cloudsql username output from the workload identity module. 2021-07-18 18:45:27 -04:00
Tom Alexander
5945ad86a8 Add the sqladmin google project service. 2021-07-18 18:33:30 -04:00
Tom Alexander
349d40c8f6 Add binding. 2021-07-18 18:27:42 -04:00
Tom Alexander
94b6a187e0 Add an output for the generated service account. 2021-07-18 18:27:42 -04:00
Tom Alexander
e17e2f24a7 Create the google service account. 2021-07-18 18:27:42 -04:00
Tom Alexander
06b787ef97 Start a module for creating a workload identity service account. 2021-07-18 18:27:42 -04:00
Tom Alexander
bae77832d2 Add machine type variable to GKE. 2021-07-18 18:27:24 -04:00
Tom Alexander
858d8ad35a Require ssl for cloudsql. 2021-07-18 16:37:40 -04:00
Tom Alexander
6e99a33921 Merge branch 'modularize' 2021-07-13 22:20:09 -04:00
Tom Alexander
40f4a8c398 Fix ip exhaustion by increasing services ip address range. 2021-07-13 22:14:40 -04:00
Tom Alexander
2cf9f93de6 Add in secondary range, but not working due to wrong network. 2021-07-13 22:13:48 -04:00
Tom Alexander
b92396d321 Switch to using an explicit net/subnet. 2021-07-13 22:13:47 -04:00