Skip to content

Files

Latest commit

 

History

History
62 lines (51 loc) · 1.33 KB

control-plane.md

File metadata and controls

62 lines (51 loc) · 1.33 KB

Configuring networking and deploy the OpenStack control plane

Assumptions

  • A storage class called local-storage should already exist.

Initialize

Switch to the "openstack" namespace

oc project openstack

Change to the hci directory

cd architecture/examples/va/hci

Edit the control-plane/networking/nncp/values.yaml file to suit your environment.

vi control-plane/networking/nncp/values.yaml

Apply node network configuration

Generate the node network configuration

kustomize build control-plane/networking/nncp > nncp.yaml

Apply the NNCP CRs

oc apply -f nncp.yaml

Wait for NNCPs to be available

oc wait nncp -l osp/nncm-config-type=standard --for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured --timeout=300s

Apply remaining networking configuration

Generate the reminaing networking configuration

kustomize build control-plane/networking > networking.yaml

Apply the networking CRs

oc apply -f networking.yaml

Apply control-plane configuration

Generate the control-plane CR.

kustomize build control-plane > control-plane.yaml

Apply the CR

oc apply -f control-plane.yaml

Wait for control plane to be available

oc wait osctlplane controlplane --for condition=Ready --timeout=600s