Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring: enabling memcached monitoring #115

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/kustomize-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
overlays:
- base
- aio
- base-monitoring
name: Kustomize
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 9 additions & 0 deletions docs/deploy-required-infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ kubectl kustomize --enable-helm /opt/genestack/kustomize/memcached/base | kubect

> NOTE Memcached has a base configuration which is HA and production ready. If you're deploying on a small cluster the `aio` configuration may better suit the needs of the environment.

### Alternative - Deploy the Memcached Cluster With Monitoring Enabled

``` shell
kubectl kustomize --enable-helm /opt/genestack/kustomize/memcached/base-monitoring | kubectl apply --namespace openstack -f -
```

> NOTE Memcached has a base-monitoring configuration which is HA and production ready that also includes a metrics exporter for prometheus metrics collection. If you'd like to have monitoring enabled for your memcached cluster ensure the prometheus operator is installed first ([Deploy Prometheus](prometheus.md)).


### Verify readiness with the following command.

``` shell
Expand Down
2 changes: 1 addition & 1 deletion docs/prometheus-mysql-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cd /opt/genestack/kustomize/prometheus-mysql-exporter
kubectl kustomize --enable-helm . | kubectl create -n openstack -f -
```

If the installation is succesful, you should see the exporter pod in openstack namespace.
If the installation is successful, you should see the exporter pod in openstack namespace.
2 changes: 1 addition & 1 deletion docs/prometheus-rabbitmq-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ cd /opt/genestack/kustomize/prometheus-rabbitmq-exporter
kubectl kustomize --enable-helm . | kubectl create -n openstack -f -
```

If the installation is succesful, you should see the exporter pod in openstack namespace.
If the installation is successful, you should see the exporter pod in openstack namespace.
20 changes: 20 additions & 0 deletions kustomize/memcached/base-monitoring/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
helmCharts:
- name: memcached
repo: https://marketplace.azurecr.io/helm/v1/repo
releaseName: memcached
valuesInline:
architecture: high-availability
autoscaling:
enabled: true
resources:
requests:
memory: 1Gi
persistence:
enabled: true
size: 10Gi
metrics:
enabled: true
serviceMonitor:
enabled: true
includeCRDs: true
namespace: openstack
Loading