From 44adb397c1c5ec473a3cbfc266fd0727dc92d127 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Thu, 20 Apr 2023 00:26:01 +0300 Subject: [PATCH] :fire: Remove the old `DaemonSet` manifests --- .../templates/08-worker-daemon-set.yaml | 85 ------------------- manifests/08-worker-daemon-set.yaml | 85 ------------------- 2 files changed, 170 deletions(-) delete mode 100644 helm-chart/templates/08-worker-daemon-set.yaml delete mode 100644 manifests/08-worker-daemon-set.yaml diff --git a/helm-chart/templates/08-worker-daemon-set.yaml b/helm-chart/templates/08-worker-daemon-set.yaml deleted file mode 100644 index fc0c557c6..000000000 --- a/helm-chart/templates/08-worker-daemon-set.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# THIS FILE IS AUTOMATICALLY GENERATED BY KUBESHARK CLI. DO NOT EDIT! ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - creationTimestamp: null - labels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - name: kubeshark-worker-daemon-set - namespace: '{{ .Values.tap.selfnamespace }}' -spec: - selector: - matchLabels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - template: - metadata: - creationTimestamp: null - labels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - name: kubeshark-worker-daemon-set - namespace: kubeshark - spec: - containers: - - command: - - '{{ .Values.tap.debug | ternary "./worker -debug" "./worker" }}' - - -i - - any - - -port - - "8897" - - -packet-capture - - '{{ .Values.tap.packetcapture }}' - - -servicemesh - - -tls - - -procfs - - /hostproc - image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.tag }}' - imagePullPolicy: '{{ .Values.tap.docker.imagePullPolicy }}' - name: kubeshark-worker-daemon-set - resources: - limits: - cpu: '{{ .Values.tap.resources.worker.limits.cpu }}' - memory: '{{ .Values.tap.resources.worker.limits.memory }}' - requests: - cpu: '{{ .Values.tap.resources.worker.requests.cpu }}' - memory: '{{ .Values.tap.resources.worker.requests.memory }}' - securityContext: - capabilities: - add: - - NET_RAW - - NET_ADMIN - - SYS_ADMIN - - SYS_PTRACE - - DAC_OVERRIDE - - SYS_RESOURCE - drop: - - ALL - volumeMounts: - - mountPath: /hostproc - name: proc - readOnly: true - - mountPath: /sys - name: sys - readOnly: true - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - serviceAccountName: kubeshark-service-account - terminationGracePeriodSeconds: 0 - tolerations: - - effect: NoExecute - operator: Exists - - effect: NoSchedule - operator: Exists - volumes: - - hostPath: - path: /proc - name: proc - - hostPath: - path: /sys - name: sys diff --git a/manifests/08-worker-daemon-set.yaml b/manifests/08-worker-daemon-set.yaml deleted file mode 100644 index 82ed36d27..000000000 --- a/manifests/08-worker-daemon-set.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# THIS FILE IS AUTOMATICALLY GENERATED BY KUBESHARK CLI. DO NOT EDIT! ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - creationTimestamp: null - labels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - name: kubeshark-worker-daemon-set - namespace: kubeshark -spec: - selector: - matchLabels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - template: - metadata: - creationTimestamp: null - labels: - app: kubeshark-worker-daemon-set - kubeshark-created-by: kubeshark - kubeshark-managed-by: kubeshark - name: kubeshark-worker-daemon-set - namespace: kubeshark - spec: - containers: - - command: - - ./worker - - -i - - any - - -port - - "8897" - - -packet-capture - - libpcap - - -servicemesh - - -tls - - -procfs - - /hostproc - image: docker.io/kubeshark/worker:latest - imagePullPolicy: Always - name: kubeshark-worker-daemon-set - resources: - limits: - cpu: 750m - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - securityContext: - capabilities: - add: - - NET_RAW - - NET_ADMIN - - SYS_ADMIN - - SYS_PTRACE - - DAC_OVERRIDE - - SYS_RESOURCE - drop: - - ALL - volumeMounts: - - mountPath: /hostproc - name: proc - readOnly: true - - mountPath: /sys - name: sys - readOnly: true - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - serviceAccountName: kubeshark-service-account - terminationGracePeriodSeconds: 0 - tolerations: - - effect: NoExecute - operator: Exists - - effect: NoSchedule - operator: Exists - volumes: - - hostPath: - path: /proc - name: proc - - hostPath: - path: /sys - name: sys