Validate Service Configuration
validate_serviceValidate service configuration before creation or update by checking source, deploy type, runtime compatibility, name length, and optionally probing repository or registry reachability.
Instructions
Preflight-validate a service configuration before creating or updating it. Checks source XOR rule (repository vs registry), deploy_type/runtime compatibility, and name length (≤16). When probeReachability is set, performs an OUTBOUND network probe of the supplied git repository or registry URL (not side-effect-free). Returns a list of checks with ok/fail status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service name to validate | |
| fkPod | Yes | Compute pod UUID | |
| runtime | Yes | Application runtime | |
| fkRegion | Yes | Region UUID | |
| rootPath | Yes | Application root path | |
| deployType | Yes | Deployment type | |
| diskSizeGb | No | Disk size in GB for cost estimate (1–10) | |
| runCommand | No | Run command | |
| registryUrl | No | Container image reference (mutually exclusive with repositoryUrl) | |
| workspaceId | No | Workspace UUID — used to check balance (billing:r permission required) | |
| buildCommand | No | Build command | |
| repositoryUrl | No | Git repository URL (mutually exclusive with registryUrl) | |
| fkServiceSecret | No | Service secret UUID for authenticated repository/registry access | |
| repositoryBranch | No | Git branch | |
| probeReachability | No | When true, probe the git repository or registry for reachability (probed whenever repositoryUrl or registryUrl is present) |