docs/doc/source/guest_integration/kubernetes/install-ptp-notifications.rst
Ron Stone a891252ae5 Guest integration reorganization
Moved k8S Container and OpenStack VNF sections into respective subdirs following "kubernetes"
and "openstack" conventions under guest_integration and added shared index.
This follows pattern used for other docs.
Rebase merge conflicts, formatting corrections and removed 2x NA files

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Ic56322108cdb03ab1f9e4dadf5f50fe20cd7b2d6
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-05-14 13:11:14 -04:00

2.8 KiB
Raw Blame History

Install PTP Notifications

notification is packaged as an Armada system application and is managed using the system application and system-helm-override commands.

provides the capability for application(s) to subscribe to asynchronous status notifications and pull for the state on demand.

  • The port must be configured as Subordinate mode (Slave mode). For more information, see,
  • Configuring PTP Service Using Horizon <configuring-ptp-service-using-horizon>
  • Configuring PTP Service Using the CLI <configuring-ptp-service-using-the-cli>

Use the following steps to install the ptp-notification application.

  1. Label the controller(s).

    1. Source the platform environment.

      $ source /etc/platform/openrc
      ~(keystone_admin)]$
    2. Assign the registration label to the controller(s).

      ~(keystone_admin)]$ system host-label-assign controller-0 ptp-registration=true
      ~(keystone_admin)]$ system host-label-assign controller-1 ptp-registration=true
    3. Assign the notification label to the node that is configured with a Slave port. For example:

      ~(keystone_admin)]$ system host-label-assign controller-0 ptp-notification=true
  2. Upload the application using the following command:

    ~(keystone_admin)]$ system application-upload /usr/local/share/applications/helm/ptp-notification-1.0-26.tgz
  3. Verify the application has been uploaded.

    ~(keystone_admin)]$ system application-list
  4. Apply the notification application.

    $ system application-apply ptp-notification
  5. Monitor the status.

    $ watch n 5 system application-list

    and/or

    $ watch kubectl get pods n notification

    The default configuration for notification pod is:

    • -notification pod:
      • Runs as a daemonset (1 pod per node with label ptp-notification=true)
    • Three containers:
      • ptp-notification-rabbitmq
      • ptp-notification-location
      • ptp-notification-ptptracking
    • Registration pod:
      • Runs as a deployment on nodes labeled with ptp-registration=true
      • Replica count of 1
      • One container: Rabbitmq