Commit 9f334371 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Helper scripts:

- moved OFC'22 helper scripts to show logs to main scripts folder and adapted to use scenario definition variables
parent 7aaa7575
Loading
Loading
Loading
Loading
+27 −0
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="ofc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/contextservice -c server
########################################################################################################################
# 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/automationservice
+27 −0
Original line number Diff line number Diff line
@@ -13,6 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

########################################################################################################################
# Define your deployment settings here
########################################################################################################################

K8S_NAMESPACE="ofc22"
kubectl --namespace $K8S_NAMESPACE get all
# 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/computeservice
+27 −0
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="ofc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/computeservice
########################################################################################################################
# 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/contextservice -c server
+27 −0
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="ofc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/automationservice
########################################################################################################################
# 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/deviceservice
+27 −0
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="ofc22"
kubectl --namespace $K8S_NAMESPACE logs deployment/monitoringservice -c server
########################################################################################################################
# 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/monitoringservice -c server
Loading