Skip to main content

BCS Container User Guide

Monitoring Containers

Understanding Container Statuses and Lifecycle

Bitdeer AI Container Service (BCS) provides several statuses to track the lifecycle of your containers. Below is a description of the typical statuses:

Container Statuses

  1. Unschedulable:
    • Description: The container could not be scheduled due to insufficient resources or policy restrictions.
    • Action: Review the resource requirements or system quotas and retry.
  2. PodInitializing:
    • Description: The container is in the process of being set up. This includes downloading the image, initializing volumes, and configuring the environment.
    • Action: Wait for the initialization to complete or monitor the logs for any issues.
  3. Running:
    • Description: The container is actively running and executing the workload. Compute resources such as GPUs and CPUs are fully utilized.
    • Action: Monitor metrics and logs to track performance.
  4. Stopping:
    • Description: The container is in the process of shutting down, typically due to a manual stop request or system trigger.
    • Action: Wait for the container to fully stop.
  5. Stopped:
    • The container has stopped running and is no longer consuming compute resources.
    • Action: Review logs and metrics for post-execution analysis. The container can be restarted if needed.
  6. Deleting:
    • Description: The container is in the process of being deleted. Associated resources (e.g., volumes) will also be released.
    • Action: Wait for the container to be fully removed.
  7. Deleted:
    The container has been successfully deleted and is no longer listed in the system.
  8. Error:
    • Description: The container encountered an error and could not complete its workload.
    • Action: Check the logs to identify the issue and make necessary adjustments before restarting.

Viewing Container Details

Steps to View Container Details

  1. Log in to AI Studio:
    • Access the AI Studio Console.
  2. Navigate to Container Management:
    • In the left navigation tree, expand Compute and select Containers.
  3. Select a Container:
    • From the listing page, click on the name of the container you wish to view.
  4. View Details:
    • The Details Page displays the following information:
      • Container Image: The image used to create the container.
      • Attached Volumes: Persistent volumes connected to the container.
      • Machine Specifications: The CPU, GPU, and memory configuration of the container.
      • Logs: Detailed logs generated during the container's lifecycle.

Monitoring Container Status

Steps to Monitor Container Status

  1. Log in to AI Studio
  2. In the left navigation tree, expand Containers & Registry and select Manage Containers.
  3. On the Container Dashboard, monitor the status of each container under the Status column.
  4. For detailed troubleshooting or analysis, view logs directly from the Details Page.
  5. Under Machine Section, Click on "Logs" tab to view logs.
1. From BCS dashboard, click on the specific container to go to details page
2. Under "Machine" section, click on "Logs" tab to view container logs