Skip to content

Commit

Permalink
Migrate network tools to truecharts
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Mar 16, 2024
1 parent 6dbc346 commit 962cb76
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 213 deletions.
13 changes: 11 additions & 2 deletions charts/network-tools/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
name: network-tools
description: Debugging Tools / Pods
version: 0.1.1
version: 0.2.0
apiVersion: v2
appVersion: 1.0.0
appVersion: 1.1.0
keywords:
- network
- tools
- development
sources:
- https://github.com/EugenMayer/helm-charts/tree/main/charts/network-tools
home: https://github.com/EugenMayer/helm-charts/tree/main/charts/network-tools
dependencies:
- name: common
# https://artifacthub.io/packages/helm/truecharts-library-charts/common
version: 20.2.0
repository: oci://tccr.io/truecharts
condition: ""
alias: ""
tags: []
import-values: []
9 changes: 0 additions & 9 deletions charts/network-tools/scripts/bootstrap.sh

This file was deleted.

This file was deleted.

65 changes: 0 additions & 65 deletions charts/network-tools/templates/debian-morty-deployment.yaml

This file was deleted.

65 changes: 0 additions & 65 deletions charts/network-tools/templates/debian-rick-deployment.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions charts/network-tools/templates/iperf-morty-svc.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions charts/network-tools/templates/iperf-rick-svc.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions charts/network-tools/templates/storage-pvc.yaml

This file was deleted.

73 changes: 58 additions & 15 deletions charts/network-tools/values.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,61 @@
persistence:
# If enabled, create a volume for /mnt
enabled: true
image:
repository: debian
tag: bookworm
pullPolicy: IfNotPresent

securityContext:
container:
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0
readOnlyRootFilesystem: false

service:
# If enabled, exposes the iperf servers via services
enabled: true
main:
ports:
main:
protocol: tcp
port: 5201
targetPort: 5201

workload:
main:
enabled: true
replicas: 1
strategy: Recreate
type: Deployment
podSpec:
containers:
main:
command:
- "/bin/bash"
args:
- "-c"
- |
apt update
apt install -y curl wget iperf3 inetutils-ping telnet dnsutils procps
echo "run iperf3 on port 5201"
exec iperf3 -s -p 5201
probes:
readiness:
port: 5201
type: tcp
spec:
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 2
liveness:
enabled: true
type: tcp
port: 5201
spec:
initialDelaySeconds: 15
periodSeconds: 5
failureThreshold: 2
ingress:
main:
enabled: false

pods:
rick:
enabled: true # enable or disable the rick pod
morty:
enabled: true # enable or disable the morty pod
strictPodPlacement:
# if enabled, schedule the pods on specific nodes
enabled: false
rickAgent: prod-rke-agent-1
mortyAgent: prod-rke-agent-2
portal:
open:
enabled: false

0 comments on commit 962cb76

Please sign in to comment.