Last active
March 1, 2023 01:03
-
-
Save jonpulsifer/2ff3e497e35cb0a9d4afa02428410ee7 to your computer and use it in GitHub Desktop.
Kubernetes Daemonset for PassiveDNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: passivedns | |
spec: | |
selector: | |
matchLabels: | |
name: passivedns | |
template: | |
metadata: | |
labels: | |
name: passivedns | |
spec: | |
tolerations: | |
- key: node-role.kubernetes.io/control-plane | |
operator: Exists | |
effect: NoSchedule | |
hostNetwork: true | |
containers: | |
- name: passivedns | |
image: jonpulsifer/passivedns:latest | |
securityContext: | |
capabilities: | |
drop: ["all"] | |
add: ["NET_ADMIN", "NET_RAW"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment