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 allows the keystone endpoint uri lookup function to
avoid adding a FQDN suffix to an IP address based host
entry.
Change-Id: I016e6512fb21182a8be9e3de1e4a2da59a20fb36
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
The elasticsearch tests fail because the pods don't have
readiness or liveliness probes in the templates. This adds those
definitions
Change-Id: I4fd25aec5ae02d89ae1b933d8b083a3e9cafc55a
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
Alertmanager and prometheus were missing entries for job
resources in values.yaml. Also added resources to the prometheus
helm test template
Change-Id: I11dbad19d1f881c398a4b4dcd0c0eab23fccf278
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
The key for serviceaccount_flannel under manifests for flannel
was missing, resulting in failures when provisioning the kubeadm
aio with flannel
Change-Id: I842e4c4280de0217157aef98ecf4307d2e3506ab
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