GKE cluster modules: add optional kube state metrics (#1682)

* `gke-cluster-standard`: add optional kube state metrics
* `gke-cluster-autopilot`: add optional kube state metrics

* FAST: add kube state metrics support for GKE
* blueprints/gke: add kube state metrics support

* Bump up the provider version to `v4.82.0`
This commit is contained in:
Oliver Frolovs
2023-09-15 12:18:45 +01:00
committed by GitHub
parent 0221198b2f
commit 6eb862a775
111 changed files with 546 additions and 353 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cluster-1.google_container_cluster.cluster:
monitoring_config:
- enable_components:
- DAEMONSET
- DEPLOYMENT
- HPA
- POD
- STATEFULSET
- STORAGE
- SYSTEM_COMPONENTS
managed_prometheus:
- enabled: true
counts:
google_container_cluster: 1

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.cluster-1.google_container_cluster.cluster:
monitoring_config:
- enable_components:
- DAEMONSET
- DEPLOYMENT
- HPA
- POD
- STATEFULSET
- STORAGE
- SYSTEM_COMPONENTS
managed_prometheus:
- enabled: true
counts:
google_container_cluster: 1