Skip to content

Commit

Permalink
Merge pull request #39 from Ortec-Finance/demo-overlay
Browse files Browse the repository at this point in the history
Adding Demo Overlay
# Conflicts:
#	k8s/sailfish/overlays/demo/kustomization.yaml
  • Loading branch information
ZeidH committed Feb 28, 2024
1 parent 0b49eea commit e6c20fd
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v0.15.0
Adding Overlays for Demo

## v0.14.0
Added a new component that allows you to set the Sailfish Broker in High Availability
This will make your Queue Messages Zone redundant, which means if one zone goes down, the messages will be migrated to another.
Expand Down
39 changes: 39 additions & 0 deletions docs/features/observability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Observability

In the `k8s/observability` folder is a Grafana Dashboard included.
If you want to integrate these Grafana dashboards you have to patch `/metadata/labels/app` with the name of your `dashboardLabelSelector` of your Grafana's configuration.

You can use inline patching in your ArgoCD Application, like such:

```
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sailfish-observability
spec:
destination:
server: 'https://kubernetes.default.svc'
project: sailfish
source:
path: k8s/observability
repoURL: 'https://github.com/Ortec-Finance/sailfish-hpc.git'
targetRevision: 'main'
kustomize:
patches:
- target:
version: v1alpha1
group: integreatly.org
kind: GrafanaDashboard
name: sailfish-monitoring-dashboard
patch: |-
- op: replace
path: /metadata/labels/app
value: my_dashboard_label_selector
syncPolicy:
automated:
prune: true
selfHeal: true
```
You can find more about this feature [here](https://argo-cd.readthedocs.io/en/stable/user-guide/kustomize/)

If you make any improvements to this dashboard please contribute them back to this repo!
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resources:
- ../base/prometheus-trigger
- ../../base/prometheus-trigger

components:
- ../components/sailfish-gateway
- ../components/broker-scale-to-zero
- ../components/high-availability
- ../../components/sailfish-gateway
- ../../components/broker-scale-to-zero
- ../../components/high-availability



Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sailfish-example/argocd/apps/sailfish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- /spec/triggers/4/metadata/namespace
- /spec/triggers/5/metadata/namespace
source:
path: k8s/sailfish/overlay
path: k8s/sailfish/overlays/demo
repoURL: 'https://github.com/Ortec-Finance/sailfish-hpc.git'
targetRevision: 'main'
syncPolicy:
Expand Down

0 comments on commit e6c20fd

Please sign in to comment.