-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
467 additions
and
34 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
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,47 @@ | ||
{ | ||
"0.1.1-22.04": { | ||
"end-of-life": "2025-11-27T00:00:00Z", | ||
"stable": { | ||
"target": "1" | ||
}, | ||
"candidate": { | ||
"target": "0.1.1-22.04_stable" | ||
}, | ||
"beta": { | ||
"target": "0.1.1-22.04_candidate" | ||
}, | ||
"edge": { | ||
"target": "0.1.1-22.04_beta" | ||
} | ||
}, | ||
"0.1-22.04": { | ||
"end-of-life": "2025-11-27T00:00:00Z", | ||
"stable": { | ||
"target": "1" | ||
}, | ||
"candidate": { | ||
"target": "0.1-22.04_stable" | ||
}, | ||
"beta": { | ||
"target": "0.1-22.04_candidate" | ||
}, | ||
"edge": { | ||
"target": "0.1-22.04_beta" | ||
} | ||
}, | ||
"0-22.04": { | ||
"end-of-life": "2025-11-27T00:00:00Z", | ||
"stable": { | ||
"target": "1" | ||
}, | ||
"candidate": { | ||
"target": "0-22.04_stable" | ||
}, | ||
"beta": { | ||
"target": "0-22.04_candidate" | ||
}, | ||
"edge": { | ||
"target": "0-22.04_beta" | ||
} | ||
} | ||
} |
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,5 @@ | ||
notify: | ||
emails: | ||
- [email protected] | ||
mattermost-channels: | ||
- 1ayd5kim67bbing34i3h1x9uac |
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,43 @@ | ||
version: 1 | ||
# --- OVERVIEW INFORMATION --- | ||
application: metrics-proxy | ||
description: > | ||
Metrics Proxy is a lightweight proxy designed to expose a unified metrics endpoint for multiple Kubernetes pods. | ||
The proxy watches for pods in a Kubernetes cluster and listens on a configurable port, | ||
where it exposes aggregated metrics on a configurable endpoint. | ||
Read more on the [project repo](https://github.com/canonical/metrics-k8s-proxy). | ||
# --- USAGE INFORMATION --- | ||
docker: | ||
parameters: | ||
- -p 15090:15090 | ||
access: Access aggregated metrics at `http://localhost:15090`. | ||
|
||
parameters: | ||
- type: -e | ||
value: 'TZ=UTC' | ||
description: Timezone setting for the container. | ||
- type: -p | ||
value: '15090:15090' | ||
description: Port mapping for accessing the metrics-proxy aggregated metrics endpoint. | ||
- type: -e | ||
value: 'POD_LABEL_SELECTOR="foo=bar"' | ||
description: Specify labels to filter Kubernetes pods for metrics aggregation. | ||
- type: -e | ||
value: 'PORT="15090"' | ||
description: The port on which the metrics-proxy listens for scrape requests. | ||
- type: -e | ||
value: 'SCRAPE_TIMEOUT="9s"' | ||
description: Configures the timeout duration for scraping metrics from the pods. | ||
|
||
debug: | ||
text: | | ||
### Debugging | ||
To debug the container: | ||
```bash | ||
docker exec -it metrics-proxy-container pebble logs -f metrics-proxy | ||
``` | ||
To get an interactive shell: | ||
```bash | ||
docker exec -it metrics-proxy-container /bin/bash | ||
``` |
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,18 @@ | ||
version: 1 | ||
upload: | ||
- source: canonical/metrics-proxy-rock | ||
commit: 66763a5703df2e3175b87c0da69b29103da47169 | ||
directory: "0.1.1" | ||
release: | ||
0.1.1-22.04: | ||
end-of-life: "2025-11-27T00:00:00Z" | ||
risks: | ||
- stable | ||
0.1-22.04: | ||
end-of-life: "2025-11-27T00:00:00Z" | ||
risks: | ||
- stable | ||
0-22.04: | ||
end-of-life: "2025-11-27T00:00:00Z" | ||
risks: | ||
- stable |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
{ | ||
"3.8-20.04": { | ||
"edge": { | ||
"target": "43" | ||
"target": "54" | ||
}, | ||
"end-of-life": "2025-03-31T00:00:00Z", | ||
"stable": { | ||
"target": "43" | ||
"target": "54" | ||
}, | ||
"candidate": { | ||
"target": "43" | ||
"target": "54" | ||
}, | ||
"beta": { | ||
"target": "43" | ||
"target": "54" | ||
} | ||
}, | ||
"3.12-24.04": { | ||
"end-of-life": "2029-03-31T00:00:00Z", | ||
"edge": { | ||
"target": "48" | ||
"target": "56" | ||
}, | ||
"stable": { | ||
"target": "48" | ||
"target": "56" | ||
}, | ||
"candidate": { | ||
"target": "48" | ||
"target": "56" | ||
}, | ||
"beta": { | ||
"target": "48" | ||
"target": "56" | ||
} | ||
}, | ||
"3.10-22.04": { | ||
"end-of-life": "2027-03-31T00:00:00Z", | ||
"stable": { | ||
"target": "38" | ||
"target": "55" | ||
}, | ||
"candidate": { | ||
"target": "38" | ||
"target": "55" | ||
}, | ||
"beta": { | ||
"target": "38" | ||
"target": "55" | ||
}, | ||
"edge": { | ||
"target": "38" | ||
"target": "55" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
version: 1 | ||
|
||
upload: | ||
- source: "canonical/rocks-toolbox" | ||
commit: 17916dd5de270e61a6a3fd3f4661a6413a50fd6f | ||
directory: mock_rock/1.0 | ||
release: | ||
1.0-22.04: | ||
end-of-life: "2020-05-01T00:00:00Z" | ||
risks: | ||
- candidate | ||
- edge | ||
- beta | ||
- source: "canonical/rocks-toolbox" | ||
commit: 17916dd5de270e61a6a3fd3f4661a6413a50fd6f | ||
directory: mock_rock/1.1 | ||
release: | ||
1.1-22.04: | ||
end-of-life: "2000-05-01T00:00:00Z" | ||
risks: | ||
- candidate | ||
- edge | ||
- beta | ||
1-22.04: | ||
end-of-life: "2000-05-01T00:00:00Z" | ||
risks: | ||
- candidate | ||
- edge | ||
- beta | ||
- source: "canonical/rocks-toolbox" | ||
commit: 17916dd5de270e61a6a3fd3f4661a6413a50fd6f | ||
directory: mock_rock/1.2 | ||
release: | ||
1.2-22.04: | ||
end-of-life: "2000-05-01T00:00:00Z" | ||
risks: | ||
- beta |
Oops, something went wrong.