BOC Deploy Tools for Openclaw

A comprehensive automation toolkit for initializing deployment machines and deploying the BOC container platform through a structured two-stage workflow.

hongruiji
v1.0.0
Mar 27, 2026
0
722
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install boc-deploy-tools

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install boc-deploy-tools using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is BOC Deploy Tools?

BOC Deploy Tools is a robust technical solution designed to streamline the lifecycle of BOC container platform installation. By integrating the functionalities of boc-init for machine preparation and boc-deploy for platform orchestration, it provides a seamless transition from raw infrastructure to a fully validated cloud environment. This Openclaw Skills integration ensures that complex tasks such as environment verification, package checksumming, and high-availability configuration are handled with precision.

The tool is specifically built for engineers who need to deploy Kubernetes-based platforms without the manual overhead of managing individual Ansible playbooks or complex SSH commands. Using Openclaw Skills, the deployment process becomes a supervised, automated journey that monitors long-running tasks like package extraction and container registry initialization, ensuring the final BOC Portal and K8s API server are production-ready.

BOC Deploy Tools Use Cases

  • Automated initialization of a dedicated deployment server including OS, kernel, and DNS audits.
  • Orchestrating the deployment of BOC container platforms across multi-node Kubernetes clusters.
  • Configuring High Availability (HA) or All-in-One environments for BOC Portal components.
  • Monitoring long-duration deployment logs and process counts to ensure installation stability.
  • Validating post-installation health by checking K8s Node and Pod statuses automatically.

How BOC Deploy Tools Works

  1. The user provides SSH credentials and deployment package details to trigger the initialization phase.
  2. The system performs a comprehensive environment check (disk space, OS version, DNS) on the deployment machine.
  3. A SHA256 checksum is performed on the deployment package, followed by a clean extraction of the BOC binaries.
  4. The bocctl init command is executed to launch essential support services like the yum_registry and bocloud_deploy_registry.
  5. Upon successful initialization, the tool generates a custom config.yaml based on the target architecture (Master VIP, CNI type, Node IPs).
  6. The final platform deployment is triggered via bocctl run, utilizing Ansible playbooks to configure the Kubernetes cluster and BOC Portal services.

BOC Deploy Tools Setup

To utilize BOC Deploy Tools within Openclaw Skills, ensure your local environment meets these requirements:

# For Linux/macOS users: Install sshpass if not available
pip install sshpass -g

# Ensure Python is installed for ssh-exec capabilities
python --version

# For Node.js environments (required for rssh2 skill)
node --version

Windows users should install Git for Windows and the sshpass-win32 binary to handle remote execution seamlessly.

BOC Deploy Tools Data Schema & Taxonomy

The skill organizes its operations around a specific directory structure and configuration schema:

Directory Taxonomy

Path Description
/opt/BOC_k8s_noarch Primary deployment root directory
/opt/BOC_k8s_noarch/bocctl Main execution binary
/opt/BOC_k8s_noarch/playbooks Ansible playbooks for cluster automation
/opt/BOC_k8s_noarch/log/ Centralized logging for deployment monitoring

Configuration Schema (config.yaml)

  • Node Configuration: IP, Port, User, Password, and Role (Master/Worker/Etcd).
  • Network Configuration: CNI type (IPIP or BGP) and Master VIP.
  • Component Configuration: NFS storage settings and Kubernetes versioning.

BOC Deploy Tools Advanced Features

  • Multi-stage process monitoring: Background execution of long-running tasks (tar extraction, bocctl init) with periodic progress checks.
  • High Availability (HA) Support: Automated generation of HA-ready configuration files for enterprise-grade Kubernetes deployments.
  • Automated Health Checks: Post-deployment validation that audits every Pod and Node status to ensure 100% operational readiness.
  • Resilient SSH Handling: Intelligent fallback between ssh-exec and rssh2 depending on the host environment's available runtimes.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*