mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-03 11:29:21 +00:00
disable syscall by default as it is a significant (#1742)
resource consuming
This commit is contained in:
parent
1218386638
commit
9775a70722
@ -129,7 +129,7 @@ func CreateDefaultConfig() ConfigStruct {
|
|||||||
"kafka",
|
"kafka",
|
||||||
"redis",
|
"redis",
|
||||||
"sctp",
|
"sctp",
|
||||||
"syscall",
|
// "syscall",
|
||||||
// "tcp",
|
// "tcp",
|
||||||
// "udp",
|
// "udp",
|
||||||
"ws",
|
"ws",
|
||||||
|
@ -100,7 +100,12 @@ tap:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- linux
|
- linux
|
||||||
dex: []
|
dex:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/os
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- linux
|
||||||
tolerations:
|
tolerations:
|
||||||
hub: []
|
hub: []
|
||||||
workers:
|
workers:
|
||||||
@ -160,7 +165,6 @@ tap:
|
|||||||
- kafka
|
- kafka
|
||||||
- redis
|
- redis
|
||||||
- sctp
|
- sctp
|
||||||
- syscall
|
|
||||||
- ws
|
- ws
|
||||||
- ldap
|
- ldap
|
||||||
- radius
|
- radius
|
||||||
|
@ -272,6 +272,7 @@ data:
|
|||||||
AUTH_OIDC_ISSUER: 'not set'
|
AUTH_OIDC_ISSUER: 'not set'
|
||||||
AUTH_OIDC_REFRESH_TOKEN_LIFETIME: '3960h'
|
AUTH_OIDC_REFRESH_TOKEN_LIFETIME: '3960h'
|
||||||
AUTH_OIDC_STATE_PARAM_EXPIRY: '10m'
|
AUTH_OIDC_STATE_PARAM_EXPIRY: '10m'
|
||||||
|
AUTH_OIDC_BYPASS_SSL_CA_CHECK: 'false'
|
||||||
TELEMETRY_DISABLED: 'false'
|
TELEMETRY_DISABLED: 'false'
|
||||||
SCRIPTING_DISABLED: 'false'
|
SCRIPTING_DISABLED: 'false'
|
||||||
TARGETED_PODS_UPDATE_DISABLED: ''
|
TARGETED_PODS_UPDATE_DISABLED: ''
|
||||||
@ -286,9 +287,9 @@ data:
|
|||||||
PCAP_ERROR_TTL: '60s'
|
PCAP_ERROR_TTL: '60s'
|
||||||
TIMEZONE: ' '
|
TIMEZONE: ' '
|
||||||
CLOUD_LICENSE_ENABLED: 'true'
|
CLOUD_LICENSE_ENABLED: 'true'
|
||||||
AI_ASSISTANT_ENABLED: 'false'
|
AI_ASSISTANT_ENABLED: 'true'
|
||||||
DUPLICATE_TIMEFRAME: '200ms'
|
DUPLICATE_TIMEFRAME: '200ms'
|
||||||
ENABLED_DISSECTORS: 'amqp,dns,http,icmp,kafka,redis,sctp,syscall,ws,ldap,radius,diameter'
|
ENABLED_DISSECTORS: 'amqp,dns,http,icmp,kafka,redis,sctp,ws,ldap,radius,diameter'
|
||||||
CUSTOM_MACROS: '{"https":"tls and (http or http2)"}'
|
CUSTOM_MACROS: '{"https":"tls and (http or http2)"}'
|
||||||
DISSECTORS_UPDATING_ENABLED: 'true'
|
DISSECTORS_UPDATING_ENABLED: 'true'
|
||||||
DETECT_DUPLICATES: 'false'
|
DETECT_DUPLICATES: 'false'
|
||||||
@ -388,15 +389,29 @@ rules:
|
|||||||
resourceNames:
|
resourceNames:
|
||||||
- kubeshark-secret
|
- kubeshark-secret
|
||||||
- kubeshark-config-map
|
- kubeshark-config-map
|
||||||
|
- kubeshark-secret-default
|
||||||
|
- kubeshark-config-map-default
|
||||||
resources:
|
resources:
|
||||||
- secrets
|
- secrets
|
||||||
- configmaps
|
- configmaps
|
||||||
verbs:
|
verbs:
|
||||||
|
- create
|
||||||
- get
|
- get
|
||||||
- watch
|
- watch
|
||||||
- list
|
- list
|
||||||
- update
|
- update
|
||||||
- patch
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
- v1
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- pods/log
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/03-cluster-role-binding.yaml
|
# Source: kubeshark/templates/03-cluster-role-binding.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
@ -635,17 +650,17 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
periodSeconds: 10
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 48999
|
port: 48999
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
periodSeconds: 10
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 48999
|
port: 48999
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -812,17 +827,17 @@ spec:
|
|||||||
image: 'docker.io/kubeshark/hub:v52.6'
|
image: 'docker.io/kubeshark/hub:v52.6'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
periodSeconds: 10
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 8080
|
port: 8080
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
periodSeconds: 10
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 5
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: 8080
|
port: 8080
|
||||||
resources:
|
resources:
|
||||||
@ -903,6 +918,8 @@ spec:
|
|||||||
value: 'true'
|
value: 'true'
|
||||||
- name: REACT_APP_AUTH_TYPE
|
- name: REACT_APP_AUTH_TYPE
|
||||||
value: 'default'
|
value: 'default'
|
||||||
|
- name: REACT_APP_COMPLETE_STREAMING_ENABLED
|
||||||
|
value: 'true'
|
||||||
- name: REACT_APP_AUTH_SAML_IDP_METADATA_URL
|
- name: REACT_APP_AUTH_SAML_IDP_METADATA_URL
|
||||||
value: ' '
|
value: ' '
|
||||||
- name: REACT_APP_TIMEZONE
|
- name: REACT_APP_TIMEZONE
|
||||||
@ -922,9 +939,9 @@ spec:
|
|||||||
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
||||||
value: 'true'
|
value: 'true'
|
||||||
- name: 'REACT_APP_AI_ASSISTANT_ENABLED'
|
- name: 'REACT_APP_AI_ASSISTANT_ENABLED'
|
||||||
value: 'false'
|
|
||||||
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
|
||||||
value: 'true'
|
value: 'true'
|
||||||
|
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
||||||
|
value: 'false'
|
||||||
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
|
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
|
||||||
value: 'true'
|
value: 'true'
|
||||||
- name: REACT_APP_SENTRY_ENABLED
|
- name: REACT_APP_SENTRY_ENABLED
|
||||||
@ -976,3 +993,23 @@ spec:
|
|||||||
name: kubeshark-nginx-config-map
|
name: kubeshark-nginx-config-map
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
serviceAccountName: kubeshark-service-account
|
serviceAccountName: kubeshark-service-account
|
||||||
|
---
|
||||||
|
# Source: kubeshark/templates/18-cleanup-job.yaml
|
||||||
|
apiVersion: batch/v1
|
||||||
|
kind: Job
|
||||||
|
metadata:
|
||||||
|
name: kubeshark-cleanup-job
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": pre-delete
|
||||||
|
"helm.sh/hook-delete-policy": hook-succeeded
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
serviceAccountName: kubeshark-service-account
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: cleanup
|
||||||
|
image: 'docker.io/kubeshark/hub:v52.6'
|
||||||
|
command: ["/bin/sh", "-c"]
|
||||||
|
args:
|
||||||
|
- "kubectl delete cm kubeshark-config-map || true && kubectl delete secret kubeshark-secret || true"
|
||||||
|
Loading…
Reference in New Issue
Block a user