-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Testing pending changes * Adding drop regex to all ccp targets * Adding deployment files * Update sidecar image * Fix missing _ * Remove CCP health endpoint * Apply feedback from PR * Align with ccp charts in rp * Remove change from testing * Remove change from testing * Replace with standalone config --------- Co-authored-by: Nina Segares <[email protected]>
- Loading branch information
Showing
14 changed files
with
354 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...collector/configmapparser/default-prom-configs/controlplane_prometheuscollectorhealth.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
otelcollector/deploy/addon-chart/ccp-metrics-plugin/Chart-template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: v2 | ||
name: ${HELM_CHART_NAME} | ||
description: A Helm chart for collecting Prometheus metrics in Kubernetes clusters and ingesting to Azure Metrics Account(s) | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: ${IMAGE_TAG} | ||
|
||
# This is the version number of the application being deployed (basically, imagetag for the image built/compatible with this chart semver above). This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "${IMAGE_TAG}" |
33 changes: 33 additions & 0 deletions
33
otelcollector/deploy/addon-chart/ccp-metrics-plugin/templates/ama-metrics-clusterRole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: ama-metrics-ccp-reader | ||
rules: | ||
- apiGroups: [""] | ||
resources: | ||
[ | ||
"pods", | ||
"nodes", | ||
"nodes/stats", | ||
"nodes/metrics", | ||
"nodes/proxy", | ||
"namespaces", | ||
"services", | ||
"endpoints", | ||
"ingress" | ||
] | ||
verbs: ["list", "get", "watch"] | ||
- apiGroups: | ||
- networking.k8s.io | ||
resources: | ||
- ingresses | ||
verbs: ["list", "get", "watch"] | ||
- apiGroups: [""] | ||
resources: ["secrets"] | ||
resourceNames: ["aad-msi-auth-token"] | ||
verbs: ["get", "watch"] | ||
- nonResourceURLs: ["/metrics"] | ||
verbs: ["get"] | ||
- apiGroups: ["clusterconfig.azure.com"] | ||
resources: ["azureclusteridentityrequests", "azureclusteridentityrequests/status"] | ||
verbs: ["get", "update", "list", "create"] |
12 changes: 12 additions & 0 deletions
12
...ector/deploy/addon-chart/ccp-metrics-plugin/templates/ama-metrics-clusterRoleBinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: ama-metrics-clusterrolebinding | ||
subjects: | ||
- kind: ServiceAccount | ||
name: ama-metrics-serviceaccount | ||
namespace: {{ .Values.global.commonGlobals.Customer.Namespace }} | ||
roleRef: | ||
kind: ClusterRole | ||
name: ama-metrics-ccp-reader | ||
apiGroup: rbac.authorization.k8s.io |
Oops, something went wrong.