Skip to content

Commit

Permalink
Bug 2096376: Remove limitation on single node deployments
Browse files Browse the repository at this point in the history
There should no longer be any issues running router pods on control
plane nodes (i.e. kubernetes/kubernetes#65618
which was resolved in
kubernetes/enhancements#1144). Remove this
limitation from the docs.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
  • Loading branch information
stephenfin committed Jun 13, 2022
1 parent 190547f commit 93f7046
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/user/openstack/install_upi.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ of this method of installation.
- [Modify NetworkType (Required for Kuryr SDN)](#modify-networktype-required-for-kuryr-sdn)
- [Edit Manifests](#edit-manifests)
- [Remove Machines and MachineSets](#remove-machines-and-machinesets)
- [Make control-plane nodes unschedulable](#make-control-plane-nodes-unschedulable)
- [Ignition Config](#ignition-config)
- [Infra ID](#infra-id)
- [Bootstrap Ignition](#bootstrap-ignition)
Expand Down Expand Up @@ -443,22 +442,6 @@ Leave the compute MachineSets in if you want to create compute machines via the

[mao]: https://github.com/openshift/machine-api-operator

### Make control-plane nodes unschedulable

Currently [emptying the compute pools][empty-compute-pools] makes control-plane nodes schedulable. But due to a [Kubernetes limitation][kubebug], router pods running on control-plane nodes will not be reachable by the ingress load balancer. Update the scheduler configuration to keep router pods and other workloads off the control-plane nodes:

```sh
$ python -c '
import yaml
path = "manifests/cluster-scheduler-02-config.yml"
data = yaml.safe_load(open(path))
data["spec"]["mastersSchedulable"] = False
open(path, "w").write(yaml.dump(data, default_flow_style=False))'
```

[empty-compute-pools]: #empty-compute-pools
[kubebug]: https://github.com/kubernetes/kubernetes/issues/65618

## Ignition Config

Next, we will turn these manifests into [Ignition][ignition] files. These will be used to configure the Nova servers on boot (Ignition performs a similar function as cloud-init).
Expand Down

0 comments on commit 93f7046

Please sign in to comment.