mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-18 10:21:56 +00:00
🔧 Run make generate-manifests
This commit is contained in:
parent
63325ec890
commit
05ecef557f
@ -13,7 +13,23 @@ metadata:
|
|||||||
name: kubeshark-service-account
|
name: kubeshark-service-account
|
||||||
namespace: default
|
namespace: default
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/12-nginx-config.yaml
|
# Source: kubeshark/templates/hub-secret.yaml
|
||||||
|
kind: Secret
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: kubeshark-hub-secret
|
||||||
|
namespace: default
|
||||||
|
labels:
|
||||||
|
app.kubeshark.co/app: hub
|
||||||
|
helm.sh/chart: kubeshark-41.7
|
||||||
|
app.kubernetes.io/name: kubeshark
|
||||||
|
app.kubernetes.io/instance: kubeshark
|
||||||
|
app.kubernetes.io/version: "41.7"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
stringData:
|
||||||
|
LICENSE: ''
|
||||||
|
---
|
||||||
|
# Source: kubeshark/templates/12-nginx-config-map.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
@ -43,6 +59,28 @@ data:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
# Source: kubeshark/templates/hub-config.yaml
|
||||||
|
kind: ConfigMap
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: kubeshark-hub-config
|
||||||
|
namespace: default
|
||||||
|
labels:
|
||||||
|
app.kubeshark.co/app: hub
|
||||||
|
helm.sh/chart: kubeshark-41.7
|
||||||
|
app.kubernetes.io/name: kubeshark
|
||||||
|
app.kubernetes.io/instance: kubeshark
|
||||||
|
app.kubernetes.io/version: "41.7"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
data:
|
||||||
|
POD_REGEX: '.*'
|
||||||
|
NAMESPACES: ''
|
||||||
|
SCRIPTING_ENV: 'null'
|
||||||
|
SCRIPTING_SCRIPTS: '[]'
|
||||||
|
AUTH_ENABLED: ''
|
||||||
|
AUTH_APPROVED_EMAILS: ''
|
||||||
|
AUTH_APPROVED_DOMAINS: ''
|
||||||
|
---
|
||||||
# Source: kubeshark/templates/02-cluster-role.yaml
|
# Source: kubeshark/templates/02-cluster-role.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
@ -61,13 +99,11 @@ rules:
|
|||||||
- ""
|
- ""
|
||||||
- extensions
|
- extensions
|
||||||
- apps
|
- apps
|
||||||
- networking.k8s.io
|
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
- persistentvolumeclaims
|
- persistentvolumeclaims
|
||||||
- ingresses
|
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list
|
||||||
- get
|
- get
|
||||||
@ -100,6 +136,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app.kubeshark.co/app: hub
|
||||||
helm.sh/chart: kubeshark-41.7
|
helm.sh/chart: kubeshark-41.7
|
||||||
app.kubernetes.io/name: kubeshark
|
app.kubernetes.io/name: kubeshark
|
||||||
app.kubernetes.io/instance: kubeshark
|
app.kubernetes.io/instance: kubeshark
|
||||||
@ -114,8 +151,8 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
app: kubeshark-hub
|
app.kubeshark.co/app: hub
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
status:
|
status:
|
||||||
loadBalancer: {}
|
loadBalancer: {}
|
||||||
---
|
---
|
||||||
@ -138,8 +175,8 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
app: kubeshark-front
|
app.kubeshark.co/app: front
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
status:
|
status:
|
||||||
loadBalancer: {}
|
loadBalancer: {}
|
||||||
---
|
---
|
||||||
@ -148,7 +185,7 @@ apiVersion: apps/v1
|
|||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
sidecar.istio.io/inject: "false"
|
sidecar.istio.io/inject: "false"
|
||||||
helm.sh/chart: kubeshark-41.7
|
helm.sh/chart: kubeshark-41.7
|
||||||
app.kubernetes.io/name: kubeshark
|
app.kubernetes.io/name: kubeshark
|
||||||
@ -161,11 +198,21 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
|
helm.sh/chart: kubeshark-41.7
|
||||||
|
app.kubernetes.io/name: kubeshark
|
||||||
|
app.kubernetes.io/instance: kubeshark
|
||||||
|
app.kubernetes.io/version: "41.7"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
|
helm.sh/chart: kubeshark-41.7
|
||||||
|
app.kubernetes.io/name: kubeshark
|
||||||
|
app.kubernetes.io/instance: kubeshark
|
||||||
|
app.kubernetes.io/version: "41.7"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: kubeshark
|
namespace: kubeshark
|
||||||
spec:
|
spec:
|
||||||
@ -184,6 +231,9 @@ spec:
|
|||||||
image: 'docker.io/kubeshark/worker:latest'
|
image: 'docker.io/kubeshark/worker:latest'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: kubeshark-hub-secret
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 750m
|
||||||
@ -200,8 +250,19 @@ spec:
|
|||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
|
- SYS_MODULE
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
readinessProbe:
|
||||||
|
periodSeconds: 1
|
||||||
|
initialDelaySeconds: 1
|
||||||
|
tcpSocket:
|
||||||
|
port: 8897
|
||||||
|
livenessProbe:
|
||||||
|
periodSeconds: 1
|
||||||
|
initialDelaySeconds: 1
|
||||||
|
tcpSocket:
|
||||||
|
port: 8897
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /hostproc
|
- mountPath: /hostproc
|
||||||
name: proc
|
name: proc
|
||||||
@ -218,6 +279,15 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/os
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- linux
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /proc
|
path: /proc
|
||||||
@ -226,46 +296,55 @@ spec:
|
|||||||
path: /sys
|
path: /sys
|
||||||
name: sys
|
name: sys
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/04-hub-pod.yaml
|
# Source: kubeshark/templates/04-hub-deployment.yaml
|
||||||
apiVersion: v1
|
apiVersion: apps/v1
|
||||||
kind: Pod
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
name: kubeshark-hub
|
||||||
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-hub
|
app.kubeshark.co/app: hub
|
||||||
sidecar.istio.io/inject: "false"
|
|
||||||
helm.sh/chart: kubeshark-41.7
|
helm.sh/chart: kubeshark-41.7
|
||||||
app.kubernetes.io/name: kubeshark
|
app.kubernetes.io/name: kubeshark
|
||||||
app.kubernetes.io/instance: kubeshark
|
app.kubernetes.io/instance: kubeshark
|
||||||
app.kubernetes.io/version: "41.7"
|
app.kubernetes.io/version: "41.7"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
annotations:
|
annotations:
|
||||||
name: kubeshark-hub
|
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
|
replicas: 1 # Set the desired number of replicas
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubeshark.co/app: hub
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubeshark.co/app: hub
|
||||||
|
sidecar.istio.io/inject: "false"
|
||||||
|
spec:
|
||||||
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
|
serviceAccountName: kubeshark-service-account
|
||||||
containers:
|
containers:
|
||||||
- command:
|
- name: kubeshark-hub
|
||||||
|
command:
|
||||||
- ./hub
|
- ./hub
|
||||||
|
|
||||||
env:
|
envFrom:
|
||||||
- name: POD_REGEX
|
- configMapRef:
|
||||||
value: '.*'
|
name: kubeshark-hub-config
|
||||||
- name: NAMESPACES
|
- secretRef:
|
||||||
value: ''
|
name: kubeshark-hub-secret
|
||||||
- name: LICENSE
|
|
||||||
value: ''
|
|
||||||
- name: SCRIPTING_ENV
|
|
||||||
value: '{}'
|
|
||||||
- name: SCRIPTING_SCRIPTS
|
|
||||||
value: '[]'
|
|
||||||
- name: AUTH_ENABLED
|
|
||||||
value: ''
|
|
||||||
- name: AUTH_APPROVED_EMAILS
|
|
||||||
value: ''
|
|
||||||
- name: AUTH_APPROVED_DOMAINS
|
|
||||||
value: ''
|
|
||||||
image: 'docker.io/kubeshark/hub:latest'
|
image: 'docker.io/kubeshark/hub:latest'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: kubeshark-hub
|
readinessProbe:
|
||||||
|
periodSeconds: 1
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
tcpSocket:
|
||||||
|
port: 80
|
||||||
|
livenessProbe:
|
||||||
|
periodSeconds: 1
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
tcpSocket:
|
||||||
|
port: 80
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 750m
|
||||||
@ -273,32 +352,31 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
serviceAccountName: kubeshark-service-account
|
|
||||||
terminationGracePeriodSeconds: 0
|
|
||||||
tolerations:
|
|
||||||
- effect: NoExecute
|
|
||||||
operator: Exists
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
status: {}
|
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/06-front-pod.yaml
|
# Source: kubeshark/templates/06-front-deployment.yaml
|
||||||
apiVersion: v1
|
apiVersion: apps/v1
|
||||||
kind: Pod
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
name: kubeshark-front
|
||||||
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-front
|
app.kubeshark.co/app: front
|
||||||
sidecar.istio.io/inject: "false"
|
|
||||||
helm.sh/chart: kubeshark-41.7
|
helm.sh/chart: kubeshark-41.7
|
||||||
app.kubernetes.io/name: kubeshark
|
app.kubernetes.io/name: kubeshark
|
||||||
app.kubernetes.io/instance: kubeshark
|
app.kubernetes.io/instance: kubeshark
|
||||||
app.kubernetes.io/version: "41.7"
|
app.kubernetes.io/version: "41.7"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
annotations:
|
annotations:
|
||||||
name: kubeshark-front
|
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
|
replicas: 1 # Set the desired number of replicas
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubeshark.co/app: front
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubeshark.co/app: front
|
||||||
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: REACT_APP_DEFAULT_FILTER
|
- name: REACT_APP_DEFAULT_FILTER
|
||||||
@ -310,6 +388,12 @@ spec:
|
|||||||
image: 'docker.io/kubeshark/front:latest'
|
image: 'docker.io/kubeshark/front:latest'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
|
livenessProbe:
|
||||||
|
failureThreshold: 3
|
||||||
|
periodSeconds: 1
|
||||||
|
successThreshold: 1
|
||||||
|
tcpSocket:
|
||||||
|
port: 80
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
periodSeconds: 1
|
periodSeconds: 1
|
||||||
@ -335,10 +419,3 @@ spec:
|
|||||||
name: kubeshark-nginx-config
|
name: kubeshark-nginx-config
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
serviceAccountName: kubeshark-service-account
|
serviceAccountName: kubeshark-service-account
|
||||||
terminationGracePeriodSeconds: 0
|
|
||||||
tolerations:
|
|
||||||
- effect: NoExecute
|
|
||||||
operator: Exists
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
status: {}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user