worker-k8s-external
БесплатноБез исполняемых скриптовНе проверенDeploy the Data Exchange Worker on an external Kubernetes cluster — image selection, Kubernetes Secret creation, Deployment manifest generation, and…
от sfc-gh-dflippo★ 35 звёзд на GitHubОб этом скилле
Worker Kubernetes Setup — External Cluster
Deploy the Data Exchange Worker as a Kubernetes Deployment on a customer-managed cluster. Unlike SPCS, there is no injected Snowflake token — both source database and Snowflake credentials are supplied explicitly via Kubernetes Secrets.
Step 1 — Image Version
The worker image version is pinned to your scai CLI release — do not use SHOW IMAGES to pick the latest tag, as it may be incompatible with this version of the CLI.
Get the pinned version by running:
scai data worker setup --compute-pool <any-pool>
The CLI logs: Using pinned Data Exchange Worker image: /snowflake/images/snowflake_images/data-exchange-worker:<version>
Record that exact version tag (e.g., 1.11.1). Use it as <version> in all subsequent steps. You can cancel the setup command once you have the version — this step is only needed to read the tag from CLI output. Upgrading the version later requires re-running this skill from the beginning.
Note: The image tag is a version number (e.g., 1.12.0), not a platform identifier. The source type is controlled by the DATA_SOURCE_TYPE environment variable. Read it from the project's scai source connection:
| Source system | DATA_SOURCE_TYPE |
|---|---|
| SQL Server | sqlserver |
| Redshift | redshift |
| Oracle | oracle |
| Teradata | teradata |
| PostgreSQL | postgresql |
Step 2 — Affinity Label
In all steps below, substitute every <placeholder> token with its actual value — never output a literal <placeholder> string. Key substitutions:
<label>— the affinity label confirmed in this step<version>— the image version from Step 1<source_type>,<host>,<port>,<database>— from the project's scai source connection<replica_count>— the count the user provides in Step 3<source_username>,<source_password>— source database credentials from the project's scai source connection; do not ask the user to type these in the chat — instruct them to fill them directly into the command<snowflake_account>,<snowflake_user>,<snowflake_password>,<warehouse>— Snowflake credentials collected from the user in Step 4; do not ask the user to say passwords in the chat — instruct them to fill them directly into the command
Affinity binds this worker to the workflow it should process — see the Affinity Reference for the model (and why the orchestrator stays null-affinity). This external manifest needs an explicit label because AGENT_AFFINITY must exactly match the plugin-generated workflow.
Propose a short, stable label for this source database/server, for example mdx-salesnorth.
Tell the user:
This external worker needs an explicit affinity label. Proposed label:
<label>. I will set it once withconfigure(affinity="<label>")and use the same value as the worker pods'AGENT_AFFINITY. Confirm or provide a different label.
Wait for the user to confirm or override, then set it: configure(affinity="<label>").
Step 3 — Worker Count
Tell the user:
How many worker pods should you run?
- Start with 2–3 replicas for most migrations.
- Add more if the source system can sustain higher read throughput and your network has the bandwidth.
- Monitor source system CPU and I/O before scaling up — too many workers can disrupt production workloads.
You can scale the deployment at any time with:
kubectl scale deployment data-exchange-worker --replicas=<n>
Ask for the desired replica count.
Wait for the user to provide the replica count before continuing to Step 4.
Step 4 — Kubernetes Secret
Unlike SPCS, there is no injected Snowflake token. Credentials for both the source database and Snowflake must be provided.
Pre-fill source database values from the project's scai source connection. Collect the following Snowflake values from the user:
SNOWFLAKE_ACCOUNT— account identifier (e.g.,myorg-myaccount)SNOWFLAKE_USER— Snowflake usernameSNOWFLAKE_PASSWORD— Snowflake passwordSNOWFLAKE_WAREHOUSE— warehouse name (already configured in parent skill Question 2)
Show the following command and instruct the user to fill in their actual credentials before running it:
kubectl create secret generic data-exchange-worker-secrets \
--from-literal=DATA_SOURCE_USERNAME='<source_username>' \
--from-literal=DATA_SOURCE_PASSWORD='<source_password>' \
--from-literal=SNOWFLAKE_ACCOUNT='<snowflake_account>' \
--from-literal=SNOWFLAKE_USER='<snowflake_user>' \
--from-literal=SNOWFLAKE_PASSWORD='<snowflake_password>' \
--from-literal=SNOWFLAKE_WAREHOUSE='<warehouse>'
Wait for the user to confirm the secret has been created before continuing.
Next, create an image pull secret so your cluster can pull from the Snowflake Image Repository. Ask th
Установить worker-k8s-external в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл worker-k8s-external?
Deploy the Data Exchange Worker on an external Kubernetes cluster — image selection, Kubernetes Secret creation, Deployment manifest generation, and verification. Triggers: kubernetes worker, k8s worker, kubectl worker, external cluster worker, helm worker.
Как установить скилл worker-k8s-external?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл worker-k8s-external запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic