Skip to content

Commit

Permalink
Add debug deployment to have network tooling available on all nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 1, 2023
1 parent ff36ba8 commit 5c9baf0
Showing 1 changed file with 116 additions and 0 deletions.
116 changes: 116 additions & 0 deletions stats/debug-matomo-network-tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: stats
labels:
app: debug-matomo-network-tools-stats
name: debug-matomo-network-tools-stats-deployment
spec:
replicas: 1
selector:
matchLabels:
app: debug-matomo-network-tools-stats
template:
metadata:
labels:
app: debug-matomo-network-tools-stats
spec:
containers:
- image: jonlabelle/network-tools:latest
imagePullPolicy: Always
name: network-tools
resources:
requests:
memory: "128Mi"
cpu: "100m"
command: ["sh", "-c", "sleep infinity"]
nodeSelector:
k8s.kiwix.org/role: "stats"
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: stats
labels:
app: debug-matomo-network-tools-system
name: debug-matomo-network-tools-system-deployment
spec:
replicas: 1
selector:
matchLabels:
app: debug-matomo-network-tools-system
template:
metadata:
labels:
app: debug-matomo-network-tools-system
spec:
containers:
- image: jonlabelle/network-tools:latest
imagePullPolicy: Always
name: network-tools
resources:
requests:
memory: "128Mi"
cpu: "100m"
command: ["sh", "-c", "sleep infinity"]
nodeSelector:
k8s.kiwix.org/role: "system"
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: stats
labels:
app: debug-matomo-network-tools-services
name: debug-matomo-network-tools-services-deployment
spec:
replicas: 1
selector:
matchLabels:
app: debug-matomo-network-tools-services
template:
metadata:
labels:
app: debug-matomo-network-tools-services
spec:
containers:
- image: jonlabelle/network-tools:latest
imagePullPolicy: Always
name: network-tools
resources:
requests:
memory: "128Mi"
cpu: "100m"
command: ["sh", "-c", "sleep infinity"]
nodeSelector:
k8s.kiwix.org/role: "services"
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: stats
labels:
app: debug-matomo-network-tools-storage
name: debug-matomo-network-tools-storage-deployment
spec:
replicas: 1
selector:
matchLabels:
app: debug-matomo-network-tools-storage
template:
metadata:
labels:
app: debug-matomo-network-tools-storage
spec:
containers:
- image: jonlabelle/network-tools:latest
imagePullPolicy: Always
name: network-tools
resources:
requests:
memory: "128Mi"
cpu: "100m"
command: ["sh", "-c", "sleep infinity"]
nodeSelector:
k8s.kiwix.org/role: "storage"
---

0 comments on commit 5c9baf0

Please sign in to comment.