Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into release-v3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zmalik committed Jun 4, 2020
2 parents 819606a + e1a7489 commit d24fe5a
Show file tree
Hide file tree
Showing 17 changed files with 64 additions and 44 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to

## [Unreleased]

## [3.11.6-0.2.0] - 2020-06-02
## [3.11.6-1.0.0] - 2020-06-04

### Changed

Expand Down Expand Up @@ -89,9 +89,9 @@ and this project adheres to
- Unpriviledged container execution

[unreleased]:
https://github.com/mesosphere/kudo-cassandra-operator/compare/v3.11.6-0.2.0...HEAD
[3.11.6-0.2.0]:
https://github.com/mesosphere/kudo-cassandra-operator/compare/v3.11.5-0.1.2...v3.11.6-0.2.0
https://github.com/mesosphere/kudo-cassandra-operator/compare/v3.11.6-1.0.0...HEAD
[3.11.6-1.0.0]:
https://github.com/mesosphere/kudo-cassandra-operator/compare/v3.11.5-0.1.2...v3.11.6-1.0.0
[3.11.5-0.1.2]:
https://github.com/mesosphere/kudo-cassandra-operator/compare/v3.11.5-0.1.1...v3.11.5-0.1.2
[3.11.5-0.1.1]:
Expand Down
6 changes: 4 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,10 @@ This is achieved by creating and merging a PR _against the stable branch_ where:
1. (as needed) the various `*_VERSION` variables are set as necessary for base
tech and the operator version, according to the versioning scheme shown
above,
1. necessary files are updated by running `./tools/compile_template.sh` and
`./tools/generate_parameters_markdown.sh`
1. necessary files are updated by running:
- `./tools/compile_template.sh`
- `./tools/generate_parameters_markdown.sh`
- `./tools/format_files.sh`

#### Creating Release Notes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ kubectl kudo install cassandra

| Version | Apache Cassandra version | Operator version | Minimum KUDO Version | Status | Release date |
| ------------------------------------------------------------------------------------------------ | ------------------------ | ---------------- | -------------------- | ------ | ------------ |
| [3.11.6-1.0.0](https://github.com/mesosphere/kudo-cassandra-operator/releases/tag/v3.11.6-1.0.0) | 3.11.6 | 1.0.0 | 0.13.0 | GA | 2020-06-04 |
| [3.11.5-0.1.2](https://github.com/mesosphere/kudo-cassandra-operator/releases/tag/v3.11.5-0.1.2) | 3.11.5 | 0.1.2 | 0.10.0 | beta | 2020-01-22 |
| [3.11.5-0.1.1](https://github.com/mesosphere/kudo-cassandra-operator/releases/tag/v3.11.5-0.1.1) | 3.11.5 | 0.1.1 | 0.8.0 | beta | 2019-12-12 |
| [3.11.4-0.1.0](https://github.com/mesosphere/kudo-cassandra-operator/releases/tag/v3.11.4-0.1.0) | 3.11.4 | 0.1.0 | 0.8.0 | beta | 2019-11-13 |
2 changes: 1 addition & 1 deletion benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```bash
kudo_cassandra_operator_name="cassandra"
kudo_cassandra_operator_version="0.2.0"
kudo_cassandra_operator_version="1.0.0"
kudo_cassandra_instance_name="cassandra"
kudo_cassandra_instance_namespace="cassandra"
kudo_cassandra_statefulset_name="node"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/kassandra_stress_replica_set.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
containers:
- name: cassandra-stress
# TODO(mpereira): make this parameterizable.
image: mesosphere/cassandra:3.11.6-0.2.0
image: mesosphere/cassandra:3.11.6-1.0.0
resources:
requests:
# TODO(mpereira): make this parameterizable.
Expand Down
2 changes: 1 addition & 1 deletion docs/accessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ echo ${cassandra_image}
Example output:

```
mesosphere/cassandra:3.11.6-0.1.2
mesosphere/cassandra:3.11.6-1.0.0
```

#### 4. Run a command which accesses cassandra in a pod
Expand Down
4 changes: 2 additions & 2 deletions docs/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Example output:
```
Plan(s) for "cassandra" in namespace "default":
.
└── cassandra (Operator-Version: "cassandra-0.1.2" Active-Plan: "deploy")
└── cassandra (Operator-Version: "cassandra-1.0.0" Active-Plan: "deploy")
├── Plan deploy (serial strategy) [COMPLETE]
│   └── Phase nodes (parallel strategy) [COMPLETE]
│   └── Step node [COMPLETE]
Expand Down Expand Up @@ -376,7 +376,7 @@ kubectl kudo plan status --instance=$INSTANCE_NAME -n $NAMESPACE
```
Plan(s) for "cassandra" in namespace "default":
.
└── cassandra (Operator-Version: "cassandra-0.1.2" Active-Plan: "deploy")
└── cassandra (Operator-Version: "cassandra-1.0.0" Active-Plan: "deploy")
├── Plan deploy (serial strategy) [IN_PROGRESS]
│   └── Phase nodes (parallel strategy) [IN_PROGRESS]
│   └── Step node [IN_PROGRESS]
Expand Down
5 changes: 2 additions & 3 deletions docs/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ kubectl kudo install cassandra \
```

By default a 3-node Cassandra cluster is installed, with each Cassandra node
requiring 1 CPU and 4GiB memory. Alongside each Cassandra node a Prometheus
exporter container is also run, requiring 1 CPU and 512MiB memory each.
requiring 1 CPU and 4GiB memory.

The total resources needed are 6 CPUs and 13.5GiB memory
The total resources needed are 3 CPUs and 12GiB memory

The command above will start the operator instance installation. To check the
installation progress, the KUDO CLI provides us with the `plan status` command.
Expand Down
19 changes: 10 additions & 9 deletions docs/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ This guide explains how to set up monitoring for KUDO Cassandra.

## Description

The KUDO Cassandra operator will export metrics to Prometheus by default. It
achieves this using a Prometheus exporter based on the
The KUDO Cassandra operator can export metrics to Prometheus. It achieves this
using a Prometheus exporter based on the
[criteo/cassandra_exporter](https://github.com/criteo/cassandra_exporter).

When the `PROMETHEUS_EXPORTER_ENABLED` parameter is at its default value of
`true`:
When the `PROMETHEUS_EXPORTER_ENABLED` parameter is set to `true`:

- A `prometheus-exporter` container will run in the same pod as every Cassandra
`node` container. It will listen for connections on
Expand All @@ -27,7 +26,7 @@ When the `PROMETHEUS_EXPORTER_ENABLED` parameter is at its default value of
[Grafana](https://grafana.com/) set up in the cluster. The
[kube-prometheus](https://github.com/coreos/kube-prometheus) project provides
both of them.
- KUDO CLI installed (only necessary if you _had_ disabled this feature before).
- KUDO CLI installed.

The examples below assume that the instance and namespace names are stored in
the following shell variables. With this assumptions met, you should be able to
Expand All @@ -42,11 +41,10 @@ namespace_name=default

### 1. Make sure that Prometheus Exporter is enabled on the KUDO Cassandra instance

This parameter is `true` by default, so you only need to worry about this if you
explicitly disabled it.
This parameter is `false` by default, so you need to enable it explicitly.

If you do not remember, you can check the value of the parameter on a running
instance with a command like:
You can check the value of the parameter on a running instance with a command
like:

```bash
kubectl get instance --template '{{.spec.parameters.PROMETHEUS_EXPORTER_ENABLED}}{{"\n"}} $instance_name -n $namespace_name'
Expand Down Expand Up @@ -92,6 +90,9 @@ match the
[labels on the `ServiceMonitor` resource](../operator/templates/service-monitor.yaml#L7)
created by the KUDO Cassandra operator.

The Prometheus exporter container that is run alongside each Cassandra node
requires 1 CPU and 512MiB memory each.

## Custom Configuration

To use the custom
Expand Down
Loading

0 comments on commit d24fe5a

Please sign in to comment.