Versions Compared

Key

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

...

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


      Code Block
      languagebash
      themeRDark
      $ sudo apt-get install git make patch jq

      
      # Make sure your CLI has the 'kubectl', 'openstack' and 'helm' installed

    • Clone openstack-helm and openstack-helm-infra code on your Linux.


      # The commit id is 82a6aa8ce96b1669af0b9e8da85b537d02fc5fd3 that used in this demo.
      $ git clone --depth 1 --branch master https://opendev.org/openstack/openstack-helm.git
      # The commit id is 07c735f632147378c4af8e7b4ce6f390d38e3d69 that used in this demo.

      $ git clone --depth 1 --branch master https://opendev.org/openstack/openstack-helm-infra.git

    • Copy the "/etc/kubernetes/admin.conf" from 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 openstack-control-plane=enabled
    • Create namespaces.

      $ kubectl create namespace openstack

...