gke-cluster-autopilot: add monitoring configuration (#1646)

* gke-cluster-autopilot: add monitoring configuration block (monitoring_config)
This commit is contained in:
Oliver Frolovs
2023-09-04 16:43:59 +01:00
committed by GitHub
parent 42ebbccad9
commit 9f23d504ec
4 changed files with 94 additions and 9 deletions

View File

@@ -0,0 +1,27 @@
# 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:
- APISERVER
- CONTROLLER_MANAGER
- SCHEDULER
- SYSTEM_COMPONENTS
managed_prometheus:
- enabled: true
counts:
google_container_cluster: 1