Loading deploy/tfs.sh +11 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,11 @@ export KFK_SERVER_PORT=${KFK_SERVER_PORT:-"9092"} # If not already set, if flag is YES, Apache Kafka will be redeployed and topic will be lost. export KFK_REDEPLOY=${KFK_REDEPLOY:-""} # ----- Telemetry Config ------------------------------------------------------ # Replace LOAD_BALANCER_IP export LOAD_BALANCER_IP=${LOAD_BALANCER_IP:-""} ######################################################################################################################## # Automated steps start here ######################################################################################################################## Loading Loading @@ -241,6 +246,9 @@ else fi printf "\n" # Before deployment change the telemetry LOAD_BALANCER_IP sed -i "s|_LOAD_BALANCER_IP_|$LOAD_BALANCER_IP|g" manifests/telemetryservice.yaml for COMPONENT in $TFS_COMPONENTS; do echo "Processing '$COMPONENT' component..." Loading Loading @@ -623,6 +631,9 @@ if [[ "$TFS_COMPONENTS" == *"monitoring"* ]] && [[ "$TFS_COMPONENTS" == *"webui" printf "\n\n" fi # Revert _LOAD_BALANCER_IP_ for the next deployment sed -i "s|$LOAD_BALANCER_IP|_LOAD_BALANCER_IP_|g" manifests/telemetryservice.yaml echo "Pruning Docker Images..." docker image prune --force printf "\n\n" Loading manifests/telemetryservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ metadata: app: telemetryservice spec: type: LoadBalancer loadBalancerIP: 192.168.5.250 loadBalancerIP: externalTrafficPolicy: Local selector: app: telemetryservice Loading my_deploy.sh +5 −0 Original line number Diff line number Diff line Loading @@ -211,3 +211,8 @@ export KFK_SERVER_PORT="9092" # Set the flag to YES for redeploying of Apache Kafka export KFK_REDEPLOY="" # ----- Telemetry Config ------------------------------------------------------ # Replace LOAD_BALANCER_IP export LOAD_BALANCER_IP="192.168.5.250" Loading
deploy/tfs.sh +11 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,11 @@ export KFK_SERVER_PORT=${KFK_SERVER_PORT:-"9092"} # If not already set, if flag is YES, Apache Kafka will be redeployed and topic will be lost. export KFK_REDEPLOY=${KFK_REDEPLOY:-""} # ----- Telemetry Config ------------------------------------------------------ # Replace LOAD_BALANCER_IP export LOAD_BALANCER_IP=${LOAD_BALANCER_IP:-""} ######################################################################################################################## # Automated steps start here ######################################################################################################################## Loading Loading @@ -241,6 +246,9 @@ else fi printf "\n" # Before deployment change the telemetry LOAD_BALANCER_IP sed -i "s|_LOAD_BALANCER_IP_|$LOAD_BALANCER_IP|g" manifests/telemetryservice.yaml for COMPONENT in $TFS_COMPONENTS; do echo "Processing '$COMPONENT' component..." Loading Loading @@ -623,6 +631,9 @@ if [[ "$TFS_COMPONENTS" == *"monitoring"* ]] && [[ "$TFS_COMPONENTS" == *"webui" printf "\n\n" fi # Revert _LOAD_BALANCER_IP_ for the next deployment sed -i "s|$LOAD_BALANCER_IP|_LOAD_BALANCER_IP_|g" manifests/telemetryservice.yaml echo "Pruning Docker Images..." docker image prune --force printf "\n\n" Loading
manifests/telemetryservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ metadata: app: telemetryservice spec: type: LoadBalancer loadBalancerIP: 192.168.5.250 loadBalancerIP: externalTrafficPolicy: Local selector: app: telemetryservice Loading
my_deploy.sh +5 −0 Original line number Diff line number Diff line Loading @@ -211,3 +211,8 @@ export KFK_SERVER_PORT="9092" # Set the flag to YES for redeploying of Apache Kafka export KFK_REDEPLOY="" # ----- Telemetry Config ------------------------------------------------------ # Replace LOAD_BALANCER_IP export LOAD_BALANCER_IP="192.168.5.250"