Skip to content

Commit

Permalink
deploy netshoot as a daemonset (#105)
Browse files Browse the repository at this point in the history
* deploy netshoot as a daemonset

* fix whitespace

* move plain manifests to manifests/
  • Loading branch information
adamancini authored Oct 31, 2024
1 parent d20d0ee commit 446c359
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions manifests/netshoot-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: netshoot
labels:
app: netshoot
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
app: netshoot
template:
metadata:
labels:
app: netshoot
spec:
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/disk-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/pid-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/unschedulable
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/network-unavailable
operator: Exists
# securityContext:
# runAsNonRoot: true
# runAsUser: 1000
# fsGroup: 2000
containers:
- name: netshoot
image: "docker.io/nicolaka/netshoot"
imagePullPolicy: Always
securityContext:
privileged: true
tty: true
stdin: true
File renamed without changes.

0 comments on commit 446c359

Please sign in to comment.