Commit Graph

4 Commits

Author SHA1 Message Date
Scott Little 4837c90692 Config file changes for packages relocated to repo 'openstack-armada-app'
List of relocated subdirectories:

kubernetes/applications/stx-openstack/stx-openstack-helm
kubernetes/helm-charts/garbd
kubernetes/helm-charts/nginx-ports-control

Story: 2006166
Task: 35687
Depends-On: I11bc7a44f8d16be64460b20138cabb3f5f4123cc
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: I520d1d7f890f298d59998cb15613efa2233e329a
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 10:42:00 -04:00
Scott Little eee3a7ba8f Config file changes for packages relocated to repo 'monitor-armada-app'
List of relocated subdirectories:

kubernetes/applications/stx-monitor/stx-monitor-helm

Story: 2006166
Task: 35687
Depends-On: I9325f57a85bcea7274dfb7ab41898b5c48d294a3
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: I11bc7a44f8d16be64460b20138cabb3f5f4123cc
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 10:40:42 -04:00
John Kung d60eb9a172 Infrastructure and Cluster Monitoring
Introduce a new Armada manifest (stx-monitor) that defines the
necessary software components and services to deploy a
monitoring solution for the infrastructure and Kubernetes cluster
as well as the services it is running.

The Elastic 7.x Apache 2.0 Licensed ("oss") images are included.

The following Elastic components are introduced in this commit:
elasticsearch, filebeat, metricbeat, logstash, kibana.
This enables the build of the stx-monitor application manifest
and upon application, the capturing of logs  and metrics
into elasticsearch.  The logs and metrics may then be viewed with a
tool such as Kibana.

The stx-monitor application is built:
   build-pkgs monitor-helm
   build-pkgs stx-monitor-helm
   build-helm-charts.sh --app stx-monitor

The settings for elasticsearch helm chart are set to allow mtce actions,
such as host-lock, of a controller.

The following host labels are required on controllers prior
to the application-apply:
    system host-label-list controller-0
    (and, in duplex, for controller-1)
    | controller-0 | elastic-controller      | enabled     |
    | controller-0 | elastic-data            | enabled     |
    | controller-0 | elastic-client          | enabled     |

Tests:
    build-helm-charts.sh --app stx-monitor
    system application-upload
    system application-apply
    host management: host-lock, host-swact, host-unlock
    Determine the port for kibana:
        kubectl get service -n monitor
        Access kibana via <oamip>:<service port>
    verify logs and container logs are captured, include subdirs
        under /var/log such as /var/log/openvswitch
    system application-remove
    system application-delete

Change-Id: I0e2f94d302b3ec3a22ee5853d529efb6b423bdaa
Depends-On: Ic9a5b909dfbf60e39f98f3f14fe9bbac2de1d42b
Story: 2005733
Task: 31081
Co-Authored-By: Kevin Smith <kevin.smith@windriver.com>
Signed-off-by: John Kung <john.kung@windriver.com>
2019-08-21 17:19:54 -04:00
Robert Church 416c381195 Add stx-openstack-helm to the containers build
This target should only be built as part of the containers build
environment which requries network access and does not need to be done
as part of the standard build.

Change-Id: I0e4df72614fceb084c8a60be403b833c013d71f2
Story: 2004005
Task: 27934
Signed-off-by: Robert Church <robert.church@windriver.com>
2018-11-14 11:55:29 -05:00