Commit 213c0476 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

ECOC'22 functional test:

- removed redundant scripts and files
- added missing show_logs_slice.sh script
- partially arranged tutorial page
parent eab105e4
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -13,5 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

K8S_NAMESPACE="ecoc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/deviceservice
########################################################################################################################
# Define your deployment settings here
########################################################################################################################

# If not already set, set the name of the Kubernetes namespace to deploy to.
export TFS_K8S_NAMESPACE=${TFS_K8S_NAMESPACE:-"tfs-dev"}

########################################################################################################################
# Automated steps start here
########################################################################################################################

kubectl --namespace $TFS_K8S_NAMESPACE logs deployment/sliceservice
+0 −112
Original line number Diff line number Diff line
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: v1
kind: Service
metadata:
  name: contextservice-public
  labels:
    app: contextservice
spec:
  type: NodePort
  selector:
    app: contextservice
  ports:
  - name: grpc
    protocol: TCP
    port: 1010
    targetPort: 1010
    nodePort: 30101
  - name: redis
    protocol: TCP
    port: 6379
    targetPort: 6379
    nodePort: 30637
  - name: http
    protocol: TCP
    port: 8080
    targetPort: 8080
    nodePort: 31808
---
apiVersion: v1
kind: Service
metadata:
  name: deviceservice-public
  labels:
    app: deviceservice
spec:
  type: NodePort
  selector:
    app: deviceservice
  ports:
  - name: grpc
    protocol: TCP
    port: 2020
    targetPort: 2020
    nodePort: 30202
---
apiVersion: v1
kind: Service
metadata:
  name: monitoringservice-public
  labels:
    app: monitoringservice
spec:
  type: NodePort
  selector:
    app: monitoringservice
  ports:
  - name: influx
    protocol: TCP
    port: 8086
    targetPort: 8086
    nodePort: 30886
---
apiVersion: v1
kind: Service
metadata:
  name: computeservice-public
spec:
  type: NodePort
  selector:
    app: computeservice
  ports:
  - name: http
    protocol: TCP
    port: 8080
    targetPort: 8080
    nodePort: 30808
---
apiVersion: v1
kind: Service
metadata:
  name: webuiservice-public
  labels:
    app: webuiservice
spec:
  type: NodePort
  selector:
    app: webuiservice
  ports:
  - name: http
    protocol: TCP
    port: 8004
    targetPort: 8004
    nodePort: 30800
  - name: grafana
    protocol: TCP
    port: 3000
    targetPort: 3000
    nodePort: 30300
+0 −17
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

K8S_NAMESPACE="ecoc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/computeservice
+0 −17
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

K8S_NAMESPACE="ecoc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/contextservice -c server
+0 −17
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

K8S_NAMESPACE="ecoc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/serviceservice
Loading