Commit 22e4a5fb authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'develop' of https://gitlab.com/teraflow-h2020/controller into...

Merge branch 'develop' of https://gitlab.com/teraflow-h2020/controller into feat/microk8s-deployment
parents 86b725de 84cd6370
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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:
@@ -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
+5 −5
Original line number Diff line number Diff line
@@ -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:
@@ -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
+5 −5
Original line number Diff line number Diff line
@@ -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:
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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"
+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.*