Created
September 27, 2022 20:04
-
-
Save matglas/554c493426701f0e817a025ace84bd82 to your computer and use it in GitHub Desktop.
blog-kyverno-kustomize
This file contains hidden or 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: filebeat-filebeat | |
labels: | |
app: filebeat-filebeat | |
spec: | |
selector: | |
matchLabels: | |
app: filebeat-filebeat | |
release: filebeat | |
template: | |
metadata: | |
name: filebeat-filebeat | |
labels: | |
app: filebeat-filebeat | |
spec: | |
volumes: | |
- name: varlibdockercontainers | |
hostPath: | |
path: /var/lib/docker/containers | |
type: '' | |
- name: varlog | |
hostPath: | |
path: /var/log | |
type: '' | |
- name: varrundockersock | |
hostPath: | |
path: /var/run/docker.sock | |
type: '' | |
containers: | |
- name: filebeat | |
image: docker.elastic.co/beats/filebeat:latest | |
volumeMounts: | |
- name: data | |
mountPath: /usr/share/filebeat/data | |
- name: varlibdockercontainers | |
readOnly: true | |
mountPath: /var/lib/docker/containers | |
- name: varlog | |
readOnly: true | |
mountPath: /var/log | |
- name: varrundockersock | |
readOnly: true | |
mountPath: /var/run/docker.sock | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment