Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot
f7d056260d Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 39s
Generated by CI/CD workflow on 2025-11-18 19:34:49

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2025-11-18 19:34:49 +00:00
3 changed files with 7 additions and 23 deletions

View File

@@ -11,26 +11,11 @@ spec:
labels: labels:
app: iperf3-server app: iperf3-server
spec: spec:
hostname: iperf3-$(NODE_NAME)
subdomain: iperf3 subdomain: iperf3
initContainers:
- name: set-hostname
image: busybox:1.35
command: ['sh', '-c']
args:
- |
NODE_NAME=$(echo $NODE_NAME | cut -d'.' -f1 | tr '[:upper:]' '[:lower:]')
echo "iperf3-${NODE_NAME}" > /etc/hostname
hostname "iperf3-${NODE_NAME}"
securityContext:
privileged: true
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
containers: containers:
- name: iperf3-server - name: iperf3-server
image: networkstatic/iperf3:latest image: ghcr.io/edgard/iperf3_exporter:1.2.2
args: ["-s"] args: ["-s"]
ports: ports:
- containerPort: 5201 - containerPort: 5201
@@ -40,8 +25,6 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
- name: HOSTNAME
value: $(NODE_NAME)
resources: resources:
requests: requests:
memory: "64Mi" memory: "64Mi"

View File

@@ -16,7 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: iperf3-exporter - name: iperf3-exporter
image: ghcr.io/edgard/iperf3_exporter:1.2.2 image: edgardlt/iperf3_exporter:latest
ports: ports:
- containerPort: 9579 - containerPort: 9579
name: metrics name: metrics

View File

@@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: iperf3-exporter name: iperf3-exporter
namespace: default
labels: labels:
app: iperf3-exporter app: iperf3-exporter
release: prometheus release: prometheus
@@ -24,13 +25,13 @@ spec:
- sourceLabels: [__address__] - sourceLabels: [__address__]
targetLabel: __param_target targetLabel: __param_target
regex: (.+):9579 regex: (.+):9579
replacement: iperf3-${1}.iperf3.iperf3.svc.cluster.local:5201 replacement: iperf3-${1}.iperf3.default.svc.cluster.local:5201
- sourceLabels: [__param_target] - sourceLabels: [__param_target]
targetLabel: instance targetLabel: instance
- targetLabel: __address__ - targetLabel: __address__
replacement: iperf3-exporter.iperf3.svc.cluster.local:9579 replacement: iperf3-exporter.default.svc.cluster.local:9579
metricRelabelings: metricRelabelings:
- sourceLabels: [__name__] - sourceLabels: [__name__]
regex: iperf3_(.+) regex: iperf3_(.+)
targetLabel: __name__ targetLabel: __name__
replacement: network_${1} replacement: network_${1}