This change allows users of the gate script to optionally
override the location of the ansible inventory and variables files,
so that they can live outside of the source tree.
Change-Id: Ibe7666ce366c7ad34e8ee6ff5ef3f23589aa10ce
This moves the Kibana chart to OSH infra, which finalizes moving
the logging components to OSH infra
Change-Id: Iacbfde8d5d7099fcb4dde8a437e030c2d4936de6
This adds the prometheus- prefix to the alertmanager,
kube-state-metrics and node exporter charts to reflect their
intended usage as part of a prometheus centric monitoring solution
This will imply a logical grouping of these components, similar to
their deployment in the osh-infra gates
Change-Id: I4f391a10b64389022f01a94ea3704c110f8f9bb5
The current fluent-bit implementation only supports the json-file
log driver for docker, this PS moves CentOS and Fedora to use that
until we can support Journald.
Change-Id: I8aa876aa96119d9a1a0e06c28873e3c4c1e3ace5
This PS fixes pip and jq installation on CentOS. It also removes
some duplicate code in the gate playbooks.
Co-Authored-By: portdirect <pete@port.direct>
This patch set should fix an issue where centos cannot find
python-pip in the EPEL.
Change-Id: If3a437e0756a363b8cefaa9a8bdd1c3498fedbfd
This introduces an initial helm chart for fluent logging.
It provides a functional fluent-bit and fluentd deployment to
use in conjunction with elasticsearch and kibana to consume
and aggregate logs from all resource types in a cluster.
It can deliver logs to kafka for external tools to consume.
This PS moves fluent-logging chart from osh-addons, osh to
osh-infra repo.
previous ps(addon): https://review.openstack.org/#/c/507023/
previous ps(osh): https://review.openstack.org/#/c/514622/
Specification: https://review.openstack.org/#/c/505491/
Partially implements: blueprint osh-logging-framework
Change-Id: I72e580aa3a197550060fc07af8396a7c8368d40b
This PS brings the OSH-Infra Make inline with OSH and allows images
to be pulled on a per chart basis to the local machine.
Change-Id: Ieda89adf97140a2ad3824ff36e969bd016ccdf00
Adds tasks to gather descriptions of kubernetes objects, logs from
deployed pods, logs from helm test pods, the status of each
helm release, and metrics from endpoints exposed to prometheus
Change-Id: I606797c6a5d75ba446ed2c16a9710f7b0227f910
This moves the Elasticsearch chart to OSH infra, along with rbac
rules for running Elasticsearch. It includes a cronjob for running
ES Curator for cleaning up old indices
Change-Id: I69fcbe8b77de8b594eba5340a6e4340f389ba5bf
This will move prometheus to OSH-infra to be included as part of
the basic infrastructure deploy for openstack-helm. It includes
charts for Prometheus, Node Exporter, Kube-State-Metrics, and
Alertmanager. It provides a base for monitoring and alerting
for the underlying infrastructure
Partially Implements: blueprint osh-monitoring
Change-Id: Ie453373b54c5f1825339ce0566e4b5d0f74abc20
Adds a common-helm-test task executed as part of the
deploy-helm-packages playbook. It allows the ability to run helm
tests against a chart by including a helm_test key in the chart
definition
Change-Id: I52bd5ca2fafa4eb704369590f7903c127133b090
This adds extra args for the kube-scheduler to expose metrics on
port 10251 on all interfaces. This allows for Prometheus to gather
metrics for the scheduler
Change-Id: I26d473f511f6541a14a9387be1ce56841572bfff
This PS resolves an issue in the way ansible variables are merged
re-enableing use of the gate scripts for local development use.
Change-Id: Ia18a9f92816e4cc49f1c5423c04bed8a80abc6dc
This PS moves the shell module invocations to use bash and set the
required env vars explicity. This can seolve some issues on ubuntu
workstation hosts which uses dash for shell commands by default.
Change-Id: Ieb440e421d9d95676719d66fb4c787f88a9d8a2b
This patch set adds a zuul v3 trailing whitespace linter gate to
the OSH-infra repository.
It additionally updates the work_dir path to account for being
launched as a dependant project in zuulv3.
Change-Id: I680a5942f008a6246641bebca7d9880a7824f2ce
This PS moves to use version 1.8.3 of k8s and also exposes all the
versions as build params to the kubeadm-aio dockerfile.
Change-Id: I8e6ef8090f3fa178e950a42605a5d86e298e0c99
This PS adds sudo to the image puller commands to enable use when
the user is not in the docker group.
Change-Id: Ic2c2577e830f3db93952b72a92d360da83fb1a16
This PS introduces support for using a local docker repo to
store images if desired, and adds multiple namespace support
to the entrypoint lookup functions.
Change-Id: Ib51aa30d3cc033795fe13f6c40a57d46171ad586
This PS update the calico chart and deployment to use
Kubernetes entrypoint, and apply appropriate RBAC rules to
the pods.
Change-Id: I9d875f50c4767b6714a4931b9ade0a6f94b533c2
This PS adds the NFS provisioner and Docker Registry to the OSH-Infra Repo,
these are being used as initial candidates for moving as they are simple
charts and allow the chart runner logic to be developed in the gate
playbooks.
Change-Id: Ie80b8578aafd3fe7252d3dcb603ea6af7586776e
This PS widens the range for nodeports, allowing standard OpenStack
ports to be used if desired for ingress.
Additionally the controller manager is set to serve statistics on the
standard port.
Change-Id: Id6549e90491a79c1ac6830a1324db7f13c88ea13
This PS resolves an issue with CentOS deployment of the kubelet by
ensuring that `bridge-nf-call-iptables` is enabled.
Change-Id: Ic84f8a2a8c02b2557ea310e16b83426050f928d8
This PS removes the old helm toolkit in preperation for the repo to
be initialised with openstack-helm-infra and the zuul v3 gate.
Change-Id: I4fa3be6bc240c061620dc3b5533136107a99065c