Automated upload for edp.buildth.ing
This commit is contained in:
parent
8a84de46d0
commit
c2183e165c
8 changed files with 152 additions and 8 deletions
|
|
@ -12,6 +12,7 @@ spec:
|
|||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
retry:
|
||||
limit: -1
|
||||
destination:
|
||||
|
|
|
|||
|
|
@ -185,8 +185,7 @@ forgejo:
|
|||
config:
|
||||
runner:
|
||||
labels:
|
||||
- docker:docker://node:24-bullseye
|
||||
- self-hosted:docker://ghcr.io/catthehacker/ubuntu:act-24.04
|
||||
- docker:docker://node:16-bullseye
|
||||
- self-hosted:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
||||
- ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
||||
- ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04
|
||||
- ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-24.04
|
||||
- ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
||||
|
|
|
|||
25
otc/edp.buildth.ing/stacks/garm/optimiser-receiver.yaml
Normal file
25
otc/edp.buildth.ing/stacks/garm/optimiser-receiver.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: optimiser-receiver
|
||||
namespace: argocd
|
||||
labels:
|
||||
env: dev
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
retry:
|
||||
limit: -1
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: garm
|
||||
source:
|
||||
repoURL: https://observability.buildth.ing/DevFW-CICD/stacks-instances
|
||||
targetRevision: HEAD
|
||||
path: "otc/edp.buildth.ing/stacks/garm/optimiser-receiver"
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: optimiser-receiver
|
||||
labels:
|
||||
app: optimiser-receiver
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: optimiser-receiver
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: optimiser-receiver
|
||||
spec:
|
||||
containers:
|
||||
- name: receiver
|
||||
image: edp.buildth.ing/devfw-cicd/forgejo-runner-optimiser-receiver:0.0.3
|
||||
args:
|
||||
- --db=/data/metrics.db
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: RECEIVER_READ_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: optimiser-tokens
|
||||
key: read-token
|
||||
- name: RECEIVER_HMAC_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: optimiser-tokens
|
||||
key: hmac-key
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 2
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: optimiser-receiver-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: optimiser-receiver
|
||||
labels:
|
||||
app: optimiser-receiver
|
||||
spec:
|
||||
selector:
|
||||
app: optimiser-receiver
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: optimiser-receiver-data
|
||||
labels:
|
||||
app: optimiser-receiver
|
||||
annotations:
|
||||
everest.io/disk-volume-type: GPSSD
|
||||
spec:
|
||||
storageClassName: csi-disk
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
cert-manager.io/cluster-issuer: main
|
||||
|
||||
name: optimiser-receiver
|
||||
namespace: garm
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: optimiser.edp.buildth.ing
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: optimiser-receiver
|
||||
port:
|
||||
number: 8080
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- optimiser.edp.buildth.ing
|
||||
secretName: optimiser-receiver-tls
|
||||
|
|
@ -48,7 +48,7 @@ customConfig:
|
|||
type: elasticsearch
|
||||
inputs: [parser]
|
||||
endpoints:
|
||||
- https://o12y.observability.buildth.ing/insert/elasticsearch/
|
||||
- https://o12y.observability./insert/elasticsearch/
|
||||
auth:
|
||||
strategy: basic
|
||||
user: ${VECTOR_USER}
|
||||
|
|
|
|||
|
|
@ -778,7 +778,7 @@ vmagent:
|
|||
# -- Remote write configuration of VMAgent, allowed parameters defined in a [spec](https://docs.victoriametrics.com/operator/api#vmagentremotewritespec)
|
||||
additionalRemoteWrites:
|
||||
# []
|
||||
- url: https://o12y.observability.buildth.ing/api/v1/write
|
||||
- url: https://o12y.observability./api/v1/write
|
||||
basicAuth:
|
||||
username:
|
||||
name: simple-user-secret
|
||||
|
|
|
|||
|
|
@ -690,9 +690,9 @@ vmauth:
|
|||
annotations:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
cert-manager.io/cluster-issuer: main
|
||||
host: o12y.observability.buildth.ing
|
||||
host: o12y.observability.
|
||||
tlsHosts:
|
||||
- o12y.observability.buildth.ing
|
||||
- o12y.observability.
|
||||
tlsSecretName: vmauth-tls-secret
|
||||
unauthorizedUserAccessSpec: {}
|
||||
selectAllByDefault: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue