alibabacloud-flink-python-job-submission
Submit and operate PyFlink jobs on Alibaba Cloud Realtime Compute for Apache Flink. Use for storage-routed artifact upload, Python deployment creation or…
от sdk-team404 установки в других каталогах
Установить alibabacloud-flink-python-job-submission в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Flink Python Job Submission
1. Scope
Create a Python deployment from ready PyFlink code: upload its artifacts, fill its deployment configuration, and verify the saved result.
For SQL or existing deployment operations (start, stop, update, status, logs, metrics, or deletion), use alibabacloud-flink-workspace-ops. If available, load that skill; otherwise point the user to installing it. Code development belongs to alibabacloud-flink-python-coding.
2. Installation
Pre-check: Aliyun CLI >= 3.3.3 required
[MUST] Verify:
aliyun version— must be >= 3.3.3.
- First install or major upgrade:
/bin/bash -c "$(curl -fsSL --connect-timeout 10 --max-time 120 https://aliyuncli.alicdn.com/setup.sh)"- Routine update (CLI >= 3.3.5):
aliyun upgrade— prefer this built-in self-update over re-running the install script.- See
references/cli-installation-guide.mdfor full installation instructions.
Before the first non-version aliyun command, apply the conversation-scoped
CLI initialization in section 7.
Python SDK dependencies:
pip3 install alibabacloud_tea_openapi alibabacloud_credentials \
alibabacloud_tea_util alibabacloud_openapi_util \
'alibabacloud_foasconsole20211028==2.2.1'
3. Environment Variables
| Variable | Required | Description |
|---|---|---|
ALIBABA_CLOUD_ACCESS_KEY_ID |
Yes (if not using CLI config) | Access Key ID |
ALIBABA_CLOUD_ACCESS_KEY_SECRET |
Yes (if not using CLI config) | Access Key Secret |
4. Authentication
Pre-check: Alibaba Cloud Credentials Required
Security Rules:
- NEVER read, echo, or print AK/SK values (e.g.,
echo $ALIBABA_CLOUD_ACCESS_KEY_IDis FORBIDDEN)- NEVER ask the user to input AK/SK directly in the conversation or command line
- NEVER use
aliyun configure setwith literal credential values- ONLY use
aliyun configure listto check credential statusaliyun configure listCheck the output for a valid profile (AK, STS, or OAuth identity).
If no valid profile exists, STOP here.
- Obtain credentials from Alibaba Cloud Console
- Configure credentials outside of this session (via
aliyun configurein terminal or environment variables in shell profile)- Return and re-run after
aliyun configure listshows a valid profile
5. RAM Policy
Creation permissions are listed below; the reference also includes workspace operations. See references/ram-policies.md for full list.
| Product | RAM Action | Purpose |
|---|---|---|
| RealtimeCompute | stream:DescribeVvpInstances |
Detect workspace storage mode and retrieve its VVP console URL |
| RealtimeCompute | stream:CreateDeployment |
Create Python deployment |
| RealtimeCompute | stream:GetDeployment |
Verify newly created deployment |
| RealtimeCompute | stream:ListEngineVersionMetadata |
List workspace-supported VVR engine versions |
| OSS (user-managed storage only) | oss:PutObject / oss:GetObject / oss:ListObjects |
Upload, replace, and verify artifacts |
[MUST] Permission Failure Handling: When any command or API call fails due to permission errors at any point during execution, follow this process:
- Read
references/ram-policies.mdto get the full list of permissions required by this SKILL- Use
ram-permission-diagnoseskill to guide the user through requesting the necessary permissions- Pause and wait until the user confirms that the required permissions have been granted
6. Create a Deployment
Resolve the exact region, workspace, and namespace from the user or explicit project configuration. If any is missing, ask for it and pause until the user supplies all three. This gate applies to every cloud discovery call, including workspace listing and engine queries; a partially known location stays pending.
Follow storage routing to discover the bound storage and console URL, upload the main artifact and dependencies, and verify each filename and size. Resolve exact-name conflicts with the user.
Use
scripts/flink_python_submit.py create-deployment --helpfor the argument schema and deployment configuration for Python-specific choices. Present the resolved creation parameters together, including defaults that will be sent, and obtain approval before creation.Create the deployment and read it back with
get-deployment. Compare its Python artifact, dependencies, engine, queue, resources, andflinkConfwith the approved values, allowing equivalent server normalization. Return the deployment ID, location, and a clickable VVP configuration link:<consoleUrl>/web/<workspace>/zh/#/workspaces/<workspace>/namespaces/<namespace>/operations/stream/<deployment-id>/configuration
Use the exact consoleUrl from st
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alibabacloud-flink-python-job-submission?
Submit and operate PyFlink jobs on Alibaba Cloud Realtime Compute for Apache Flink. Use for storage-routed artifact upload, Python deployment creation or configuration updates, cross-session deployment recovery, state-aware start or stop, and JM/TM logs or metrics. Route deletion-only and SQL requests elsewhere.
Как установить скилл alibabacloud-flink-python-job-submission?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-flink-python-job-submission запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…