K8s-config-connector: Logging and Monitoring resources

Created on 16 Apr 2020  路  18Comments  路  Source: GoogleCloudPlatform/k8s-config-connector

KCC does not support any logging or monitoring related resources at the moment for GCP.
https://cloud.google.com/config-connector/docs/reference/resources

We would like to see some basic resources like log metric and alerting policies which can be created using KCC.

resource request

Most helpful comment

Hey @tonybenchsci, yep monitoring dashboards is also in our backlog. We're currently targeting late Q1 to early Q2 for it.

All 18 comments

Hi @gobins, when you say "log metric" and "alerting policies", am I correct to understand that you're requesting support for the following GCP resources?

Yes that is correct. Those are some examples, we would like to use Stackdriver for logging and monitoring. And would like to drive the creation of those resources through KCC.

Gotcha.

Those are some examples

Does this mean there are logging/monitoring-related resources you'd like to see supported other than the two I listed? If so, would you happen to know which ones?

For reference, you can find the list of REST resources corresponding to logging/monitoring-related GCP resources here and Terraform implementations of some (or likely all) of these resources here (on the left navigation bar, click "Filter" and enter "Stackdriver")

Hi @gobins, I'd just like to follow up on this. Would support for the two resources I mentioned above (google_logging_metric and google_monitoring_alert_policy) be sufficient for you, or are there other resources you'd like supported as well?

Also can you shed some light on how urgent this request is for you?

Yes those two resource would be sufficient for now. At this point the request is not urgent.

Great, thanks for clarifying!

Hi @gobins, we've just added support for the MonitoringAlertPolicy resource in KCC v1.30.0.

Will update this thread once we have support for LoggingMetric.

Hey @tonybenchsci, yep monitoring dashboards is also in our backlog. We're currently targeting late Q1 to early Q2 for it.

Indeed, having the equivalent of google_monitoring_dashboard with Terraform would be really great.

Just curious @jcanseco, are google_monitoring_custom_service and google_monitoring_slo planned too?

It would be very useful to set Monitoring dashboard, SLI and SLO via Config Connector while deploying my app/container in Kubernetes.

@jcanseco Thanks, just checking in on logging resource support. I see that we can now use LoggingSinks (great!), we do have a pretty strong need for logging Metrics though; currently relying on manual Deployment Manager for LoggingMetrics

Hi @tonybenchsci and @mathieu-benoit, those resources are in your backlog, we will let you know when you have more information.

Will this also provided the access for Strackdriver metrics in KCC as well?

Hey @irvifa, could you please clarify what you mean? If you're looking for something like google_logging_metric, then yes, that is currently on our backlog.

@jcanseco yes I am, I鈥檓 also would like to know if it鈥檚 possible to use this requested feature to create alerting in stackdriver as well

Great, thanks for confirming.

On the second point, we do support a MonitoringAlertPolicy resource today. Can you please see if that's the one you're looking for?

@jcanseco great, I'll try to use it and find if it fits my need 馃憤

Was this page helpful?
0 / 5 - 0 ratings