Streamline your workflow with the new MCP server for Red Hat product documentation.Connect your AI tools and LLMs directly to live Red Hat product documentation. Connect now.
4.7.5. patch
전략적 병합 패치를 사용하여 오브젝트 필드를 하나 이상 업데이트합니다.
$oc patch <object_type><object_name>-p<changes>
<changes>는 새 필드와 값이 포함된 JSON 또는 YAML 표현식입니다. 예를 들어 노드 node1 의 spec.unschedulable 필드를 true 값으로 업데이트하려면 json 표현식은 다음과 같습니다.