Nexeed
    • Introduction
      • Main functions
    • User manual
      • General operation
        • Filter part information
        • Export Identifier
        • Filter and edit settings
      • Search & act menu
        • Parts information area, overview tab
        • Parts information area, details tab
        • Parts information area, counter/timer tab
        • Parts information area, layout tab
        • Parts information area, part report tab
        • Parts information area, block tab
        • Parts information area, additional data tab
        • Comments area
        • Customer-specific actions area
        • Parts handling area
        • Dependent actions area
        • Part coding area
      • Settings menu
        • Hardware settings menu item, general tab
        • Hardware settings menu item, serial tab
        • Hardware settings menu item, Balluff tab
        • Client settings menu item, general tab
        • Client settings menu item, workflows tab
      • Operate the Rework Control module
        • Process part
      • Rework Control core
        • Starting the application
        • Welcome screen & search step
        • Search and analyze step
          • How to filter
        • Recovery options step
        • Complete step
          • Rework process
        • Client configuration
        • Roles and resources
    • Operations manual
      • Overview
      • System architecture and interfaces
        • General deployment view
        • Element description
        • Network connections overview
      • System requirements
        • rework/helmchart/rework
        • rework/rework-backend-service
        • rework/rework-web-service
        • rework/rework-control-core-backend-service
        • rework/rework-control-core-web-service
        • rework/rework-control-core-backend-service-init
        • bci-app/nginx
      • Migration from previous versions
        • Migration from MES to IAS
        • Migration from 6.2 to 6.3
      • Setup and configuration
        • Desktop client
          • ClickOnce client installation
          • Hardware connectivity
        • rework/rework-backend-service
        • rework/rework-web-service
        • rework/rework-control-core-backend-service
        • rework/rework-control-core-web-service
        • rework/rework-control-core-backend-service-init
        • bci/nginx
        • Use ConfirmRework workflow/activity
        • Deployment via Helm with multi-instance support
      • Start and shutdown
      • Regular operations
        • Access control roles and resources
        • Tenant data removal
      • Failure handling
      • Backup and Restore
      • Logging and monitoring
      • Known limitations
    • API documentation
      • HTTP API
Rework Control
  • Industrial Application System
  • Core Services
    • Block Management
    • Deviation Processor
    • ID Builder
    • Multitenant Access Control
    • Notification Service
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • Global Production Overview
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Product Setup Management
    • Part Traceability
    • Process Quality
    • Setup Specs
  • Execution
    • Line Control
    • Material Management
    • Order Management
    • Packaging Control
    • Rework Control
  • Intralogistics
    • AGV Control Center
    • Stock Management
    • Transport Management
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
    • Maintenance Management
    • Tool Management
  • Enterprise & Shopfloor Integration
    • Archiving Bridge
    • Data Publisher
    • Direct Data Link
    • Engineering UI
    • ERP Connectivity
    • Gateway
    • Information Router
    • Master Data Management
    • Orchestrator

Nexeed Learning Portal

  • Rework Control
  • Operations manual
  • Start and shutdown

Start and shutdown

Deployment/startup process overview

  • Rework Control services are deployed via Helm as dependencies for the Nexeed umbrella chart.

  • The Docker containers for Rework Control services are created and started automatically once they have been deployed on a Kubernetes cluster.

  • All services are deployed as Kubernetes deployments with a minimum replica count of 2 and with max count of 5, by default. In case different values are needed, they can be overridden by setting the corresponding values in the umbrella chart’s custom-values.yaml file. Exampe is given below.

<instance-id>:
  deployments:
    [rework-backend-service|rework-web-service|rework-gateway-service|rework-control-core-backend-service|rework-control-core-web-service]:
        replicaCount: # default replica count
        autoscale:
            minReplicas: # min replica count
            maxReplicas: # max replica count
            targetCPUUtilizationPercentage: # target CPU utilization percentage
            targetMemoryUtilizationPercentage: # target memory utilization percentage
            targetMemoryUsage: # target memory usage (absolute value)
  • The web service will also register its web interface with the Nexeed Web Portal that has been installed via the umbrella chart.

  • The services have built-in health checks that show a “healthy” status when it is up and running.

  • Managing the life cycle (and other aspects) of Rework Control is done by connecting to the cluster where the umbrella chart has been installed using, for example, k9s utility.

Startup dependencies

  • rework/rework-backend-service: Readiness is controlled by the availability (being up and running) of the modules marked as Required shown in the System Requirements section for the backend service.

  • rework/rework-web-service: Readiness is controlled by the availability of the modules marked as Required shown in the System Requirements section for the web service.

  • bci-app/nginx: Readiness is independent of all other services.

  • rework/rework-control-core-backend-service: Readiness is controlled by the availability (being up and running) of the modules marked as Required shown in the System Requirements section for the backend service.

  • rework/rework-control-core-web-service: Readiness is controlled by the availability of the modules marked as Required shown in the System Requirements section for the web service.

Shutdown

Killing the services pods will lead them to auto restart to fulfill the replica count requirement. Therefore, to completely stop a pod and prevent it from auto restarting, one can scale down the corresponding deployment to have 0 replicas using the following command:

kubectl scale --replicas=0 -n rework deployment/<deployment-name>

where <deployment-name> is one of rework-backend-service-deployment, rework-web-service-deployment, rework-gateway-service-deployment, rework-control-core-backend-service or rework-control-core-web-service.

Shutdown timeout

When a pod is initiated to be stopped, the system will send a SIGTERM signal to the .NET application, and wait for 30 seconds for it to stop. It will send a SIGKILL in case the shutdown could not finish in time. The .NET application is configured to have 28(which is configurable) seconds of grace period for shutting down, so that the SIGKILL does not happen while the framework would stop itself. The application is logging the STOPPING and STOPPED events, and the latter will contain the exit code as well.

Possible exit codes for Rework Control Core: * Exit code 0: the application could shut itself down during the grace period * Exit code 1: This exit code is used when at least one background process fails to shut down within the expected timeframe. It helps identify cases where resource cleanup did not complete successfully. * Exit code 2: there was an error during shutdown, or the processes could not finish during the grace period

Configuration of shutdown timeout

rework:
  deployments:
    rework-backend-service:
      env:
        HostSettings__ShutdownTimeoutSeconds: '28' # Host shutdown timeout(seconds)
      ...
    rework-web-service:
      env:
        HostSettings__ShutdownTimeoutSeconds: '28' # Host shutdown timeout(seconds)
      ...
    rework-control-core-backend-service:
      env:
        NEXEED_REWORK_CONTROL_CORE_HostSettings__ShutdownTimeoutSeconds: '28'
      ...
    rework-control-core-web-service:
      env:
        NEXEED_REWORK_CONTROL_CORE_WEBSERVICE_HostSettings__ShutdownTimeoutSeconds: '28'
      ...

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2025, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses