openshift-operator
Operate Red Hat OpenShift with oc - projects, routes, SecurityContextConstraints, builds and image streams, operators through OLM, cluster operators and…
от Navinspire-ia★ 37 звёзд на GitHub
Установить openshift-operator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenShift Operator
Overview
OpenShift is Kubernetes plus opinions: restricted SCCs, Routes, OLM-managed operators and a cluster version operator. Respect those opinions rather than fighting them.
When to use
- Deploy or debug apps on OpenShift/OKD, fix SCC denials, expose Routes.
- Install and upgrade operators via OLM.
- Cluster health, upgrades, node maintenance with
oc adm.
Engine
infra action=status(oc context, production flag),infra action=discover provider=openshift context=<ctx>(api-resources including CRDs).infra action=graph op=impact node=<project>before cluster-level changes.infra action=checkeveryoccommand;infra action=planfor upgrades and operator installs;infra action=run,infra action=verify.
Workflow
oc whoami --show-server, project, cluster version and cluster operators health.- Workloads: pods/events, SCC assigned (
openshift.io/sccannotation), Routes and TLS termination. - Operators: Subscription channel, InstallPlan approval Manual for prod, CSV phase.
- Upgrades:
oc adm upgradeto see paths, checkUpgradeableconditions, MachineConfigPool progress.
Command families
oc whoami; oc whoami --show-server; oc project <p>; oc get projects
oc get clusterversion; oc get co; oc adm upgrade
oc get pods -o wide; oc get events --sort-by=.lastTimestamp; oc logs deploy/<d>
oc get route; oc create route edge <name> --service=<svc> --hostname=<host>
oc adm policy who-can use scc privileged; oc get pod <p> -o jsonpath='{.metadata.annotations.openshift\.io/scc}'
oc get subscriptions,csv,installplan -n <ns>; oc get packagemanifests -n openshift-marketplace
oc get mcp; oc adm cordon <node>; oc adm drain <node> --ignore-daemonsets --delete-emptydir-data
oc adm top nodes; oc adm must-gather
oc start-build <bc> --follow; oc get is
Safety rules
- Granting
anyuid/privilegedSCC, cluster upgrades, approving InstallPlans, drains and MachineConfig changes are critical: user validation. - Fix SCC denials by making the image run as non-root before granting SCCs.
- Production operators use Manual InstallPlan approval.
Verification and rollback
- Verify: cluster operators Available=True Degraded=False, MCPs Updated, Route answers over TLS, CSV Succeeded.
- Rollback:
oc rollout undo, previous CSV via subscription pinning, remove an SCC binding; cluster upgrades cannot be rolled back - plan them.
Deliverable
Cluster/operator health summary, changes with run ids, verification evidence, rollback.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл openshift-operator?
Operate Red Hat OpenShift with oc - projects, routes, SecurityContextConstraints, builds and image streams, operators through OLM, cluster operators and upgrades with oc adm. Use for any OpenShift or OKD cluster task.
Как установить скилл openshift-operator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openshift-operator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…