Skip to content

Commit

Permalink
Merge pull request openshift#4951 from jparrill/fix/doc-typo-HOSTEDCP…
Browse files Browse the repository at this point in the history
…-2002

HOSTEDCP-2002: fix typo in doc commands
  • Loading branch information
openshift-merge-bot[bot] authored Oct 22, 2024
2 parents f8d1152 + be55cd4 commit 27044d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/recipes/common/replace-crio-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The following manifest sets `crun` as the default runtime.
- Use this command to patch the NodePool resource by adding the newly created ConfigMap as a MachineConfig change

```bash
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=add -p='{"spec": {"config": [{"name": "mcp-crun-default"}]}}'
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=json -p='[{"op": "add", "path": "/spec/config", "value": [{"name": "mcp-crun-default"}]}]'
```

=== "**HCP High Performance Workloads (CRUN)**"
Expand Down Expand Up @@ -130,7 +130,7 @@ The following manifest sets `crun` as the default runtime.
- Patch the NodePool resource with the newly created ConfigMap

```bash
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=add -p='{"spec": {"config": [{"name": "mcp-crun-hp-default"}]}}'
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=json -p='[{"op": "add", "path": "/spec/config", "value": [{"name": "mcp-crun-hp-default"}]}]'
```

## Switching from `crun` to `runc`
Expand Down Expand Up @@ -193,7 +193,7 @@ The following manifest sets `runc` as the default runtime.
- Patch the NodePool resource with the newly created ConfigMap

```bash
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=add -p='{"spec": {"config": [{"name": "mcp-runc-default"}]}}'
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=json -p='[{"op": "add", "path": "/spec/config", "value": [{"name": "mcp-runc-default"}]}]'
```

=== "**HCP High Performance Workloads (RUNC)**"
Expand Down Expand Up @@ -257,5 +257,5 @@ The following manifest sets `runc` as the default runtime.
- Patch the NodePool resource with the newly created ConfigMap

```bash
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=add -p='{"spec": {"config": [{"name": "mcp-runc-hp-default"}]}}'
oc patch -n <hostedcluster_namespace> nodepool <nodepool_name> --type=json -p='[{"op": "add", "path": "/spec/config", "value": [{"name": "mcp-runc-hp-default"}]}]'
```

0 comments on commit 27044d0

Please sign in to comment.