forked from skydive-project/skydive-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
179 lines (149 loc) · 5.39 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
###############################################################################
############################ Skydive ##########################################
###############################################################################
##################
## Image variables
arch:
amd64: "2 - No preference"
ppc64le: "2 - No preference"
s390x: "2 - No preference"
image:
repository: skydive/skydive
tag: "0.24.0"
secretName: ""
imagePullPolicy: IfNotPresent
##################
## Resources
resources:
limits:
cpu: 2000m
memory: 8192Mi
requests:
cpu: 100m
memory: 512Mi
##################
## Service variables
service:
name: skydive
port: 8082
type: NodePort
etcd:
port: 12379
analyzer:
topology:
fabric: "TOR1->*[Type=host]/eth0"
agent:
topology:
probes: "ovsdb docker runc"
## env variables
env: []
###################
## Elastic search image
elasticsearch:
image:
repository: "elastic/elasticsearch"
tag: "5.5.1"
##################
## Data / Storage
##
## - Persistence disables by default
persistence:
enabled: false
useDynamicProvisioning: false
dataVolume:
name: "datavolume"
existingClaimName: ""
storageClassName: ""
size: 10Gi
storage:
flows:
indicesToKeep: 10
indexEntriesLimit: 10000
topology:
indicesToKeep: 10
indexEntriesLimit: 10000
elasticsearch:
port: 9200
host: 127.0.0.1
exporter:
enabled: false
image:
repository: skydive/skydive-flow-exporter
tag: 0.1.2
classify:
# to turn on autodiscovery of cluster netmasks use "subnet_autodiscovery" value;
# to turn off auto-discovery set the value to "subnet"
type: "subnet_autodiscovery"
# In case subnet_autodiscovery is set, value should include only the private netmasks.
# if autodiscovery is off, set the value to the complete list of netmasks to be used
cluster_net_masks: "10.0.0.0/8 172.16.0.0/12 192.168.0.0/16"
store:
bucket: "default"
objectPrefix: "default"
buffered:
max_flows_per_object: 60000
write:
s3:
#endpoint is a required value, pointing to a working Object Store endpoint Example value - "http://localhost:9000"
endpoint: "http://127.0.0.1:9000"
#installLocalMinio should be set to false if using an external endpoint. If set to true a default minio OS will be installed locally (in a container).
#the below minioImage, minioImageTag - are rellevant only in case of installLocalMinio=true - for the default case for testing purposes
installLocalMinio: true
minioImage: "docker.io/bitnami/minio"
minioImageTag: "2019.7.31-debian-9-r1"
region: "default"
# if use_api_key is set to true - api_key is a required value. Else fill in the access_key and secret_key
use_api_key: false
api_key: ""
#the endpoint for api key validatation
iam_endpoint: "https://iam.cloud.ibm.com/identity/token"
# if use_api_key is set to false - fill in the rellevant access_key and secret_key of the used object store
access_key: "admin"
secret_key: "admin1234"
env_exporter:
# Maximum number of flows per object
- name: SKYDIVE_PIPELINE_STORE_BUFFERED_MAX_FLOWS_PER_OBJECT
value: "60000"
# Maximum time period for object
- name: SKYDIVE_PIPELINE_STORE_BUFFERED_MAX_SECONDS_PER_OBJECT
value: "60"
- name: SKYDIVE_PIPELINE_STORE_BUFFERED_MAX_FLOW_ARRAY_SIZE
value: "100000"
# New stream (folder) is opened every such period
- name: SKYDIVE_PIPELINE_STORE_BUFFERED_MAX_SECONDS_PER_STREAM
value: "86400"
- name: SKYDIVE_PIPELINE_MANGLE_TYPE
value: "none"
# exclude flows that are neither side is within our cluster. This mostly should not happen (because skydive records traffic in the cluster), but should
# remove possible non-relevant flows. Other possible values (separated by spaces) internal , ingress , egress (usually you don't want to exclude them).
- name: SKYDIVE_PIPELINE_FILTER_EXCLUDED_TAGS
value: "other"
# This creates the toplevel data element necessary for security advisor data collector. Other possible values are json (array without the toplevel "data"
# element) and csv - but with other formats you can't connect to security advisor
- name: SKYDIVE_PIPELINE_ENCODE_TYPE
value: "secadvisor"
# compresses type of uploaded objects. with gzip. Possible values gzip, none
- name: SKYDIVE_PIPELINE_COMPRESS_TYPE
value: "gzip"
env:
# For debug purposes
- name: SKYDIVE_LOGGING_LEVEL
value: "INFO"
# the rate in which the agents transfer flow updates to the analyzer
# Flows to be updated every 30 seconds (thus, every 60 seconds to defender)
- name: SKYDIVE_FLOW_UPDATE
value: "30"
# ANALYZER_STARTUP_CAPTURE_GREMLIN invoke at startup capturing in selected nodes (sets automatic capture on all but he loopback nodes)
- name: SKYDIVE_ANALYZER_STARTUP_CAPTURE_GREMLIN
value: "G.V().has('Name', NE('lo'))"
#capture all but skydive (8082)
- name: SKYDIVE_ANALYZER_STARTUP_CAPTURE_BPF
value: "not (tcp dst port 8082)"
# DEFAULT_LAYER_KEY_MODE - the layers used to identify a unique flow.
- name: SKYDIVE_FLOW_DEFAULT_LAYER_KEY_MODE
value: "L3"
# use pcap userland capture. Not very efficient but works on all linux kernel version
- name: SKYDIVE_ANALYZER_STARTUP_CAPTURE_TYPE
value: "pcap"
- name: SKYDIVE_AGENT_CAPTURE_SYN
value: "True"