Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Preparation

    • Setup INF O-Cloud.Install INF(StarlingX R8.0) AIO-SX by following the procedure. Enable the ceph as persistent storage.

    • Prepare a Linux environment in which the network is reachable to the INF AIO-SX with Bash CLI. And, install the required packages.

      $ sudo apt-get install git make patch jq
      # Make sure your CLI has the 'kubectl' and 'helm' installed
    • Clone openstack-helm and openstack-helm-infra code on your Linux.

      $ git clone --depth 1 --branch master https://opendev.org/openstack/openstack-helm.git
      $ git clone --depth 1 --branch master https://opendev.org/openstack/openstack-helm-infra.git
    • Copy the "/etc/kubernetes/admin.conf" on the INF controller node to your local Linux.

      $ scp <INF-controller-0>:/etc/kubernetes/admin.conf ~/.kube/config
      # Change the IP address in the ~/.kube/config
      # server: https://<INF-OAM-IP>:6443
      # You can get the OAM IP through this command on controller node
      # system addrpool-show `system addrpool-list | grep oam | awk '{print $2}'` | grep floating
    • Add labels to controller-0 node.

      $ kubectl label node controller-0 ceph-mgr=enabled
      $ kubectl label node controller-0 ceph-mon=enabled
      $ kubectl label node controller-0 ceph-mds=enabled
      $ kubectl label node controller-0 ceph-rgw=enabled
      $ kubectl label node controller-0 ceph-osd=enabled
      $ kubectl label node controller-0 openstack-control-plane=enabled
    • Create namespaces.

      $ kubectl create namespace openstack
      $ kubectl create namespace ceph

...