openstack-helm/doc/source/install/deploy_ingress_controller.rst
Vladimir Kozhukalov 1a885ddd1f Update deployment documentation
Recently we updated our test jobs so that all of them
use the `deploy-env` Ansible role which utilizes the
Kubeadm to deploy the test Kubernetes cluster.

The role works for both multi-node and single-node
environments. Although the deployment of Kubernetes itself
is out of scope of Openstack-Helm, we recommen using this
role to deploy test and development Kubernetes clusters.
So at the moment there is no need to provide
different sets of tools single-node and multi-node test envs.
Now this is a matter of the Ansible inventory file.

Also the deployment procedure of OpenStack on top of Kubernetes
using Helm is the same for multi-node and single-node clusters
because it only relies on the Kubernetes API.

We will be improving the `deploy-env` role even futher and
we will be cleaning up the deployment scripts and the documentation
so to provide a clear experience for the Openstack-Helm users.

Change-Id: I70236c4a2b870b52d2b01f65b1ef9b9518646964
2023-10-23 19:10:30 -05:00

2.0 KiB

Deploy ingress controller

Deploying an ingress controller when deploying OpenStack on Kubernetes is essential to ensure proper external access and SSL termination for your OpenStack services.

In the OpenStack-Helm project, we utilize multiple ingress controllers to optimize traffic routing. Specifically, we deploy three independent instances of the Nginx ingress controller for distinct purposes:

External Traffic Routing

  • Namespace: kube-system
  • Functionality: This instance monitors ingress objects across all namespaces, primarily focusing on routing external traffic into the OpenStack environment.

Internal Traffic Routing within OpenStack

  • Namespace: openstack
  • Functionality: Designed to handle traffic exclusively within the OpenStack namespace, this instance plays a crucial role in SSL termination for enhanced security among OpenStack services.

Traffic Routing to Ceph Rados Gateway Service

  • Namespace: ceph
  • Functionality: Dedicated to routing traffic specifically to the Ceph Rados Gateway service, ensuring efficient communication with Ceph storage resources.

By deploying these three distinct ingress controller instances in their respective namespaces, we optimize traffic management and security within the OpenStack-Helm environment.

To deploy these three ingress controller instances use the script ingress.sh

cd ~/osh/openstack-helm
./tools/deployment/component/common/ingress.sh

Note

These script uses Helm chart from the openstack-helm-infra repository. We assume this repo is cloned to the ~/osh directory. See this section </install/before_deployment>.