Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
luechtdiode committed Jun 17, 2023
2 parents a8bd336 + 3ef53bb commit 483e284
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion kutuapp-test/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kutuapp:
replicaCount: 1
image:
repository: luechtdiode/kutuapp
tag: bumps-cda50ed
tag: fix-client-form-validation-a4ef788
network:
metrics:
servicePort: 3000
Expand Down
33 changes: 26 additions & 7 deletions kutuapp/templates/grafana-dashboard2-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ data:
"type": "timeseries"
},
{
"datasource": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -187,7 +190,7 @@ data:
},
"exemplar": true,
"expr": "sum(irate(kutuapp_responses_duration_seconds_sum{path!=\"unlabelled\", status=\"2xx\"}[$__rate_interval])) * 1000 / sum(irate(kutuapp_responses_duration_seconds_count{path!=\"unlabelled\", status=\"2xx\"}[$__rate_interval]))",
"hide": true,
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 10,
Expand Down Expand Up @@ -728,7 +731,7 @@ data:
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisCenteredZero": true,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
Expand Down Expand Up @@ -790,7 +793,7 @@ data:
"mean",
"lastNotNull"
],
"displayMode": "table",
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
Expand All @@ -813,8 +816,20 @@ data:
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"legendFormat": "transmitted {{pod}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total[$__rate_interval])*-1) by (pod)",
"hide": false,
"legendFormat": "received {{pod}}",
"range": true,
"refId": "B"
}
],
"title": "Netz-Traffik in Bytes",
Expand Down Expand Up @@ -1048,7 +1063,11 @@ data:
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"tags": [
"mk8",
"kutuapp",
"prod"
],
"templating": {
"list": [
{
Expand Down Expand Up @@ -1107,7 +1126,7 @@ data:
"timezone": "browser",
"title": "Kutuapp-Graph",
"uid": "kutuapp2",
"version": 1,
"version": 3,
"weekStart": ""
}
`}}
2 changes: 1 addition & 1 deletion kutuapp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kutuapp:
replicaCount: 1
image:
repository: luechtdiode/kutuapp
tag: bumps-cda50ed
tag: v2r2b21-u2
network:
metrics:
servicePort: 3000
Expand Down
1 change: 0 additions & 1 deletion setup-microk8s-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ sudo microk8s config > .kube/config
sudo microk8s enable community
sudo microk8s enable rbac helm3 dns ingress metrics-server storage openebs dashboard
sudo microk8s status --wait-ready
sudo microk8s enable dashboard
sudo microk8s status --wait-ready
kubectl patch svc kubernetes-dashboard -n kube-system -p '{"spec": {"type": "NodePort"}}'

Expand Down

0 comments on commit 483e284

Please sign in to comment.