Skip to content
Snippets Groups Projects
Commit adf54245 authored by delacal's avatar delacal
Browse files

- Changed cad to process connections by batches

- Added sklearn metrics
- Removed pod scalability
parent ef081a97
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -71,29 +71,6 @@ spec: ...@@ -71,29 +71,6 @@ spec:
strategy: strategy:
type: Recreate type: Recreate
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: l3-attackmitigatorservice-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: l3-attackmitigatorservice
minReplicas: 1
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
behavior:
scaleDown:
stabilizationWindowSeconds: 120
--- ---
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
......
...@@ -70,29 +70,6 @@ spec: ...@@ -70,29 +70,6 @@ spec:
targetPort: 10001 targetPort: 10001
strategy: strategy:
type: Recreate type: Recreate
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: l3-centralizedattackdetectorservice-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: l3-centralizedattackdetectorservice
minReplicas: 1
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
behavior:
scaleDown:
stabilizationWindowSeconds: 120
--- ---
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
......
...@@ -70,7 +70,7 @@ message L3CentralizedattackdetectorBatchInput { ...@@ -70,7 +70,7 @@ message L3CentralizedattackdetectorBatchInput {
message L3ScalabilityConfig { message L3ScalabilityConfig {
float time_to_stabilize = 1; float time_to_stabilize = 1;
float sampling_rate = 2; float sampling_rate = 2;
float sampling_interval = 3; float sampling_snapshots = 3;
int32 sampling_mode = 4; int32 sampling_mode = 4;
} }
......
TIME_CONS OVERALL_ACCURACY CRYPTO_ACCURACY TOTAL_PREDICTIONS TOTAL_POSITIVES F_POSITIVES T_NEGATIVES F_NEGATIVES CONFIDENCE TIMESTAMP TIME_TO_STABILIZE F1_SCORE_MACRO F1_SCORE_WEIGHTED BALANCED_ACCURACY PRECISION_SCORE RECALL_SCORE OVERALL_ACCURACY CRYPTO_ACCURACY TOTAL_PREDICTIONS TOTAL_POSITIVES F_POSITIVES T_NEGATIVES F_NEGATIVES CONFIDENCE TIMESTAMP_START TIMESTAMP_FINISH SAMPLING_SNAPSHOTS SAMPLING_RATE SAMPLING_MODE TIME_TO_STABILIZE
60 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 |18/04/2023 09:11:32| 2 \ No newline at end of file
60 0.998019814491272 1.0 3536.0 3.0 0.0 3533.0 7.0 1.0 |18/04/2023 10:20:22| 5
0.800000011920929 0.9972761273384094 1.0 2938.0 3.0 0.0 2935.0 8.0 1.0 |19/04/2023 11:53:30| 3.0
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment