Skip to content

Commit

Permalink
Release v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metalmatze committed Sep 25, 2023
1 parent c2c0b45 commit 7baf82e
Show file tree
Hide file tree
Showing 37 changed files with 81 additions and 48 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Thanks to [@rlex](https://github.com/rlex) there is a [Helm chart](https://artif
You can easily start Pyrra on its own via the provided Docker image:

```bash
docker pull ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
docker pull ghcr.io/pyrra-dev/pyrra:v0.7.0
```

When running Pyrra outside of Kubernetes, the SLO object can be provided through
Expand Down
15 changes: 15 additions & 0 deletions examples/caddy-response-latency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
name: caddy-response-latency
spec:
description: We want our demo to be fast and therefore we want 90% of our responses
to be faster than 50ms as seen by Caddy.
indicator:
latency:
success:
metric: caddy_http_response_duration_seconds_bucket{job="caddy",handler="subroute",code!~"5..",le="0.05"}
total:
metric: caddy_http_response_duration_seconds_count{job="caddy",handler="subroute",code!~"5.."}
target: "90"
window: 4w
4 changes: 2 additions & 2 deletions examples/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- ./prometheus_pyrra:/etc/prometheus/pyrra

pyrra-api:
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
restart: always
command:
- api
Expand All @@ -36,7 +36,7 @@ services:
- pyrra

pyrra-filesystem:
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
restart: always
command:
- filesystem
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/main-webhook.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local kp =
common+: {
namespace: 'monitoring',
versions+: {
pyrra: '0.7.0-rc.3',
pyrra: '0.7.0',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local kp =
common+: {
namespace: 'monitoring',
versions+: {
pyrra: '0.7.0-rc.3',
pyrra: '0.7.0',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand All @@ -22,14 +22,14 @@ spec:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
spec:
containers:
- args:
- api
- --api-url=http://pyrra-kubernetes.monitoring.svc.cluster.local:9444
- --prometheus-url=http://prometheus-k8s.monitoring.svc.cluster.local:9090
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
name: pyrra
ports:
- containerPort: 9099
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand All @@ -22,13 +22,13 @@ spec:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
spec:
containers:
- args:
- kubernetes
- --disable-webhooks=false
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
name: pyrra
ports:
- containerPort: 9099
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand Down
6 changes: 3 additions & 3 deletions examples/kubernetes/manifests/pyrra-apiDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand All @@ -22,14 +22,14 @@ spec:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
spec:
containers:
- args:
- api
- --api-url=http://pyrra-kubernetes.monitoring.svc.cluster.local:9444
- --prometheus-url=http://prometheus-k8s.monitoring.svc.cluster.local:9090
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
name: pyrra
ports:
- containerPort: 9099
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/manifests/pyrra-apiService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/manifests/pyrra-apiServiceAccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
2 changes: 1 addition & 1 deletion examples/kubernetes/manifests/pyrra-apiServiceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
roleRef:
Expand Down
6 changes: 3 additions & 3 deletions examples/kubernetes/manifests/pyrra-kubernetesDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand All @@ -22,12 +22,12 @@ spec:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
spec:
containers:
- args:
- kubernetes
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
name: pyrra
ports:
- containerPort: 9099
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/manifests/pyrra-kubernetesService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: monitoring
spec:
Expand Down
2 changes: 1 addition & 1 deletion examples/openshift/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local kp =
common+: {
namespace: 'openshift-monitoring',
versions+: {
pyrra: '0.7.0-rc.3',
pyrra: '0.7.0',
},
},
},
Expand Down
6 changes: 3 additions & 3 deletions examples/openshift/manifests/pyrra-apiDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: openshift-monitoring
spec:
Expand All @@ -24,7 +24,7 @@ spec:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
spec:
containers:
- args:
Expand All @@ -35,7 +35,7 @@ spec:
- --tls-cert-file=/etc/tls/private/tls.crt
- --tls-private-key-file=/etc/tls/private/tls.key
- --tls-client-ca-file=/etc/tls/certs/service-ca.crt
image: ghcr.io/pyrra-dev/pyrra:v0.7.0-rc.3
image: ghcr.io/pyrra-dev/pyrra:v0.7.0
name: pyrra
ports:
- containerPort: 9099
Expand Down
2 changes: 1 addition & 1 deletion examples/openshift/manifests/pyrra-apiService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: openshift-monitoring
spec:
Expand Down
2 changes: 1 addition & 1 deletion examples/openshift/manifests/pyrra-apiServiceAccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: openshift-monitoring
2 changes: 1 addition & 1 deletion examples/openshift/manifests/pyrra-apiServiceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-api
namespace: openshift-monitoring
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: openshift-monitoring
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app.kubernetes.io/component: kubernetes
app.kubernetes.io/name: pyrra
app.kubernetes.io/version: 0.7.0-rc.3
app.kubernetes.io/version: 0.7.0
name: pyrra-kubernetes
namespace: openshift-monitoring
roleRef:
Expand Down
Loading

0 comments on commit 7baf82e

Please sign in to comment.