Loading deploy_in_kubernetes.sh +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ for COMPONENT in $COMPONENTS; do fi echo " Deploying '$COMPONENT' component to Kubernetes..." DEPLOY_LOG="$TMP_LOGS_FOLDER/push_${COMPONENT}.log" DEPLOY_LOG="$TMP_LOGS_FOLDER/deploy_${COMPONENT}.log" kubectl --namespace $K8S_NAMESPACE apply -f "$MANIFEST" > "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT}service >> "$DEPLOY_LOG" Loading manifests/l3_attackmitigatorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-attackmitigatorservice name: l3_attackmitigatorservice spec: selector: matchLabels: app: l3-attackmitigatorservice app: l3_attackmitigatorservice template: metadata: labels: app: l3-attackmitigatorservice app: l3_attackmitigatorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-attackmitigatorservice name: l3_attackmitigatorservice spec: type: ClusterIP selector: app: l3-attackmitigatorservice app: l3_attackmitigatorservice ports: - name: grpc port: 10002 Loading manifests/l3_centralizedattackdetectorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-centralizedattackdetectorservice name: l3_centralizedattackdetectorservice spec: selector: matchLabels: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice template: metadata: labels: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-centralizedattackdetectorservice name: l3_centralizedattackdetectorservice spec: type: ClusterIP selector: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice ports: - name: grpc port: 10001 Loading manifests/l3_distributedattackdetectorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-distributedattackdetectorservice name: l3_distributedattackdetectorservice spec: selector: matchLabels: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice template: metadata: labels: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-distributedattackdetectorservice name: l3_distributedattackdetectorservice spec: type: ClusterIP selector: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice ports: - name: grpc port: 10000 Loading src/l3_centralizedattackdetector/requirements.in +2 −2 Original line number Diff line number Diff line numpy==1.23.* scikit-learn==1.12.* onnxruntime==1.1.* onnxruntime==1.12.* scikit-learn==1.1.* Loading
deploy_in_kubernetes.sh +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ for COMPONENT in $COMPONENTS; do fi echo " Deploying '$COMPONENT' component to Kubernetes..." DEPLOY_LOG="$TMP_LOGS_FOLDER/push_${COMPONENT}.log" DEPLOY_LOG="$TMP_LOGS_FOLDER/deploy_${COMPONENT}.log" kubectl --namespace $K8S_NAMESPACE apply -f "$MANIFEST" > "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT}service >> "$DEPLOY_LOG" Loading
manifests/l3_attackmitigatorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-attackmitigatorservice name: l3_attackmitigatorservice spec: selector: matchLabels: app: l3-attackmitigatorservice app: l3_attackmitigatorservice template: metadata: labels: app: l3-attackmitigatorservice app: l3_attackmitigatorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-attackmitigatorservice name: l3_attackmitigatorservice spec: type: ClusterIP selector: app: l3-attackmitigatorservice app: l3_attackmitigatorservice ports: - name: grpc port: 10002 Loading
manifests/l3_centralizedattackdetectorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-centralizedattackdetectorservice name: l3_centralizedattackdetectorservice spec: selector: matchLabels: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice template: metadata: labels: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-centralizedattackdetectorservice name: l3_centralizedattackdetectorservice spec: type: ClusterIP selector: app: l3-centralizedattackdetectorservice app: l3_centralizedattackdetectorservice ports: - name: grpc port: 10001 Loading
manifests/l3_distributedattackdetectorservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -15,15 +15,15 @@ apiVersion: apps/v1 kind: Deployment metadata: name: l3-distributedattackdetectorservice name: l3_distributedattackdetectorservice spec: selector: matchLabels: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice template: metadata: labels: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -52,11 +52,11 @@ spec: apiVersion: v1 kind: Service metadata: name: l3-distributedattackdetectorservice name: l3_distributedattackdetectorservice spec: type: ClusterIP selector: app: l3-distributedattackdetectorservice app: l3_distributedattackdetectorservice ports: - name: grpc port: 10000 Loading
src/l3_centralizedattackdetector/requirements.in +2 −2 Original line number Diff line number Diff line numpy==1.23.* scikit-learn==1.12.* onnxruntime==1.1.* onnxruntime==1.12.* scikit-learn==1.1.*