-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Victor Login <batazor@evrone.com>
- Loading branch information
Showing
15 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ metadata: | |
spec: | ||
targets: | ||
- ./systems/shortlink.yaml | ||
- ./systems/kubernetes.yaml |
21 changes: 21 additions & 0 deletions
21
internal/services/backstage/shortlink-org/components/k8s-opencost.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,21 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Component | ||
metadata: | ||
name: OpenCost | ||
description: Open source cost monitoring for cloud native environments | ||
links: | ||
- url: https://www.opencost.io/ | ||
title: Website | ||
icon: link | ||
tags: | ||
- kubernetes | ||
- prometheus | ||
annotations: | ||
'backstage.io/kubernetes-namespace': opencost | ||
'backstage.io/kubernetes-label-selector': 'app.kubernetes.io/name=opencost' | ||
backstage.io/techdocs-ref: 'dir:opencost' | ||
spec: | ||
type: service | ||
lifecycle: experimental | ||
owner: shortlink-org | ||
system: kubernetes |
20 changes: 20 additions & 0 deletions
20
internal/services/backstage/shortlink-org/components/opencost/docs/README.md
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,20 @@ | ||
# Open source cost monitoring for cloud native environments | ||
|
||
OpenCost is a vendor-neutral open source project for measuring and allocating | ||
infrastructure and container costs in real time. Built by Kubernetes experts and | ||
supported by Kubernetes practitioners, OpenCost shines a light into the black | ||
box of Kubernetes spend. | ||
|
||
|
||
### Goal | ||
|
||
> OpenCost is a tool or monitoring the cost of Kubernetes. | ||
In a world of horizontal pod autoscalers and autoscaling node groups | ||
it is important to be able to monitor and perhaps even regulate spend automatically. | ||
The obvious possibility of OpenCost is integrating with Prometheus and | ||
using Prometheus to create cost alerts. Another possibility | ||
I see is integrating OpenCost metrics with custom metrics | ||
for horizontal pod autoscalers in Kubernetes as a way to set limits on spend | ||
when scaling automatically. The autoscaling/v2 API supports scaling based on | ||
multiple metrics. By leveraging custom metrics constraints on scaling can be set | ||
based on data from OpenCost. |
7 changes: 7 additions & 0 deletions
7
internal/services/backstage/shortlink-org/components/opencost/mkdocs.yml
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,7 @@ | ||
site_name: opencost | ||
|
||
nav: | ||
- Home: README.md | ||
|
||
plugins: | ||
- techdocs-core |
1 change: 1 addition & 0 deletions
1
internal/services/backstage/shortlink-org/components/shortlink-api/docs/README.md
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 @@ | ||
# test |
7 changes: 7 additions & 0 deletions
7
internal/services/backstage/shortlink-org/components/shortlink-api/mkdocs.yml
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,7 @@ | ||
site_name: shortlink-api | ||
|
||
nav: | ||
- Home: README.md | ||
|
||
plugins: | ||
- techdocs-core |
1 change: 1 addition & 0 deletions
1
...al/services/backstage/shortlink-org/components/shortlink-billing/docs/README.md
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 @@ | ||
# test |
7 changes: 7 additions & 0 deletions
7
internal/services/backstage/shortlink-org/components/shortlink-billing/mkdocs.yml
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,7 @@ | ||
site_name: shortlink-billing | ||
|
||
nav: | ||
- Home: README.md | ||
|
||
plugins: | ||
- techdocs-core |
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
internal/services/backstage/shortlink-org/systems/kubernetes.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,8 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: System | ||
metadata: | ||
name: kubernetes | ||
description: Kubernetes cluster | ||
spec: | ||
owner: shortlink-org | ||
domain: kubernetes.local |