mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-11 21:32:37 +00:00
🔨 Run make generate-manifests
This commit is contained in:
parent
d0b621070c
commit
3803bad6a4
@ -286,8 +286,6 @@ spec:
|
|||||||
- ./worker
|
- ./worker
|
||||||
- -i
|
- -i
|
||||||
- any
|
- any
|
||||||
- -port
|
|
||||||
- '8897'
|
|
||||||
- -servicemesh
|
- -servicemesh
|
||||||
- -procfs
|
- -procfs
|
||||||
- /hostproc
|
- /hostproc
|
||||||
@ -309,8 +307,8 @@ spec:
|
|||||||
name: kubeshark-secret
|
name: kubeshark-secret
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 250m
|
||||||
memory: 1Gi
|
memory: 333Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
@ -325,6 +323,47 @@ spec:
|
|||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /hostproc
|
||||||
|
name: proc
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /sys
|
||||||
|
name: sys
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /app/data
|
||||||
|
name: data
|
||||||
|
- command:
|
||||||
|
- ./worker
|
||||||
|
- -server-mode
|
||||||
|
- -port
|
||||||
|
- '8897'
|
||||||
|
|
||||||
|
image: 'docker.io/kubeshark/worker:latest'
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: server
|
||||||
|
env:
|
||||||
|
- name: POD_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: POD_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: kubeshark-secret
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 333Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 50Mi
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
periodSeconds: 1
|
periodSeconds: 1
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
@ -346,6 +385,8 @@ spec:
|
|||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /app/data
|
||||||
|
name: data
|
||||||
- command:
|
- command:
|
||||||
- ./tracer
|
- ./tracer
|
||||||
- -procfs
|
- -procfs
|
||||||
@ -368,8 +409,8 @@ spec:
|
|||||||
name: kubeshark-secret
|
name: kubeshark-secret
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 250m
|
||||||
memory: 1Gi
|
memory: 333Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
@ -380,7 +421,6 @@ spec:
|
|||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
- SYS_MODULE
|
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -390,6 +430,8 @@ spec:
|
|||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /app/data
|
||||||
|
name: data
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
serviceAccountName: kubeshark-service-account
|
serviceAccountName: kubeshark-service-account
|
||||||
@ -415,6 +457,9 @@ spec:
|
|||||||
- hostPath:
|
- hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
name: sys
|
name: sys
|
||||||
|
- name: data
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: 200Mi
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/04-hub-deployment.yaml
|
# Source: kubeshark/templates/04-hub-deployment.yaml
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@ -489,8 +534,8 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 250m
|
||||||
memory: 1Gi
|
memory: 333Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
|
Loading…
Reference in New Issue
Block a user