Skip to content

Commit

Permalink
restructure folders
Browse files Browse the repository at this point in the history
  • Loading branch information
gbuenodevsuse committed Jan 23, 2025
1 parent 798c9e0 commit 5220241
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: telemetry-client
name: faker-telemetry-client
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.16.0"
appVersion: "0.1.0"
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: batch/v1
kind: Job
metadata:
name: telemetry-client
name: faker-telemetry-client
labels:
app: telemetry-client
app: faker-telemetry-client
spec:
completions: {{ .Values.replicaCount }}
parallelism: {{ .Values.replicaCount }}
parallelism: {{ .Values.replicas }}
completions: {{ .Values.replicas }}
template:
metadata:
labels:
app: telemetry-client
app: faker-telemetry-client
spec:
restartPolicy: Never
containers:
Expand All @@ -23,4 +23,4 @@ spec:
- name: TELEMETRY_PATH
value: "{{ .Values.env.telemetryPath }}"
- name: FILE_COUNT
value: "{{ index .Values.replicaFileCounts (int .TaskIndex) }}"
value: "{{ .Values.replicasFilesCount }}"
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
replicaCount: 3
replicas: 1
replicasFilesCount: 10

image:
repository: gbuenodevsuse/telemetry-client
Expand All @@ -8,9 +9,3 @@ image:
env:
serverURL: "http://telemetry-server:9999/telemetry"
telemetryPath: /app/cmd/faker/fake_telemetry_data

# Specific file counts for each pod; aligned with replicaCount
replicaFileCounts:
- 10
- 10
- 10

0 comments on commit 5220241

Please sign in to comment.