Skip to content

Commit 79c1b87

Browse files
authored
[release] Prep 0.14.0 release (#326)
1 parent 5412f53 commit 79c1b87

File tree

5 files changed

+100
-5
lines changed

5 files changed

+100
-5
lines changed

CHANGELOG.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
# Changelog
22

3+
## 0.14.0
4+
5+
0.14.0 is a significant release, making the operator compatible with Kubernetes 1.22. Other notable features include
6+
supporting batch node adds and removals to speed up cluster membership changes.
7+
8+
### Breaking Changes
9+
10+
As of this release, the operator no longer installs its own CRD. You must install the CRD manifest from this repo, which
11+
includes a schema and is compatible with Kubernetes 1.22 by using `v1` of the CRD API.
12+
13+
The upgrade steps are as follows:
14+
15+
1. Change your existing operator deployment to set `-manage-crd=false` as a flag to the operator container. This will
16+
ensure that the old operator will not overwrite the CRD if it restarts after the new CRD is applied.
17+
2. Modify the YAML definition of the new CRD to set `spec.preserveUnknownFields=false`. This is required if upgrading an
18+
older CRD that was created without a schema.
19+
3. Apply the new CRD.
20+
4. Upgrade the operator image to `0.14.0`. You'll have to remove the `-manage-crd=false` flag, as it is no longer
21+
supported by the operator.
22+
23+
Change set:
24+
25+
* [API] Ensure schema has embedded metadata fields ([#328][328])
26+
* [FEATURE] Fix progress annotations on cluster expansion/shrinking ([#324][324])
27+
* [API] schema: extendedOptions as untyped object ([#327][327])
28+
* [FEATURE] [*] Make operator compatible with Kubernetes 1.22 ([#325][325])
29+
* [MISC] Update go version to 1.18 ([#322][322])
30+
* [ENHANCEMENT] prevent scaling down to 0 instances ([#316][316])
31+
* [FEATURE] batch node removal ([#314][314])
32+
* [MISC] use 8 sha length for docker tag ([#315][315])
33+
* [ENHANCEMENT] move to batch placement remove API ([#312][312])
34+
* [ENHANCEMENT] upgrade m3 version ([#311][311])
35+
* [MISC] regenerate mocks ([#313][313])
36+
* [MISC] [ci] Set PUSH_SHA_TAG env var to true ([#308][308])
37+
* [MISC] Update ci submodule ([#307][307])
38+
* [MISC] Use golang:1.16-alpine3.13 as build image ([#306][306])
39+
* [ENHANCEMENT] Updating API to use k8s v1.23 compatible api groups ([#302][302])
40+
* [MISC] [deps] Update k8s.io/kube-openapi dependency ([#304][304])
41+
* [MISC] Update to Go 1.16 ([#305][305])
42+
* [ENHANCEMENT] Update kubernetes client to v0.21.1 ([#301][301])
43+
* [DOCS] [docs] Fix redirect syntax ([#300][300])
44+
* [DOCS] [site] Add netlify redirect to main docs site ([#297][297])
45+
* [FEATURE] [api] Allow blocking cluster scale down ([#294][294])
46+
* [ENHANCEMENT] [controller] Include namespace with logs ([#291][291])
47+
* [ENHANCEMENT] [m3admin-client] Incorporate zone into client cache ([#290][290])
48+
* [ENHANCEMENT] [m3admin-client] Set zone header based on cluster spec ([#289][289])
49+
* [MISC] [build] Use --short in GITSHA calculation ([#288][288])
50+
* [ENHANCEMENT] [placement] Allow zone to be overridden ([#287][287])
51+
* [ENHANCEMENT] [k8sops] Remove liveness probes from DB ([#286][286])
52+
* [BUGFIX] Backwards compatibility when using the original update annoation with an OnDelete update strategy ([#284][284])
53+
* [FEATURE] Add support for parallel node updates within a statefulset ([#283][283])
54+
* [FEATURE] Support namespace ExtendedOptions in cluster spec ([#282][282])
55+
* [FEATURE] [controller] Support multi instance placement add ([#275][275])
56+
* [ENHANCEMENT] [gomod] Update M3DB dependency ([#277][277])
57+
* [BUGFIX] [cmd] Fix instrument package name ([#280][280])
58+
* [MISC] [ci] Switch to golangci-lint ([#279][279])
59+
* [MISC] [ci] Update kind; fix node image ([#276][276])
60+
* [DOCS] Fix autogenerated ToC ([#274][274])
61+
362
## 0.13.0
463

564
0.13.0 adds support for pod anti-affinity. It also fixes a bug in StatefulSet updates caused by making decisions about
@@ -337,3 +396,39 @@ If using a custom configmap, this same change will require a modification to you
337396
[261]: https://github.com/m3db/m3db-operator/pull/261
338397
[266]: https://github.com/m3db/m3db-operator/pull/266
339398
[271]: https://github.com/m3db/m3db-operator/pull/271
399+
[274]: https://github.com/m3db/m3db-operator/pull/274
400+
[275]: https://github.com/m3db/m3db-operator/pull/275
401+
[276]: https://github.com/m3db/m3db-operator/pull/276
402+
[277]: https://github.com/m3db/m3db-operator/pull/277
403+
[279]: https://github.com/m3db/m3db-operator/pull/279
404+
[280]: https://github.com/m3db/m3db-operator/pull/280
405+
[282]: https://github.com/m3db/m3db-operator/pull/282
406+
[283]: https://github.com/m3db/m3db-operator/pull/283
407+
[284]: https://github.com/m3db/m3db-operator/pull/284
408+
[286]: https://github.com/m3db/m3db-operator/pull/286
409+
[287]: https://github.com/m3db/m3db-operator/pull/287
410+
[288]: https://github.com/m3db/m3db-operator/pull/288
411+
[289]: https://github.com/m3db/m3db-operator/pull/289
412+
[290]: https://github.com/m3db/m3db-operator/pull/290
413+
[291]: https://github.com/m3db/m3db-operator/pull/291
414+
[294]: https://github.com/m3db/m3db-operator/pull/294
415+
[297]: https://github.com/m3db/m3db-operator/pull/297
416+
[300]: https://github.com/m3db/m3db-operator/pull/300
417+
[301]: https://github.com/m3db/m3db-operator/pull/301
418+
[302]: https://github.com/m3db/m3db-operator/pull/302
419+
[304]: https://github.com/m3db/m3db-operator/pull/304
420+
[305]: https://github.com/m3db/m3db-operator/pull/305
421+
[306]: https://github.com/m3db/m3db-operator/pull/306
422+
[307]: https://github.com/m3db/m3db-operator/pull/307
423+
[308]: https://github.com/m3db/m3db-operator/pull/308
424+
[311]: https://github.com/m3db/m3db-operator/pull/311
425+
[312]: https://github.com/m3db/m3db-operator/pull/312
426+
[313]: https://github.com/m3db/m3db-operator/pull/313
427+
[314]: https://github.com/m3db/m3db-operator/pull/314
428+
[315]: https://github.com/m3db/m3db-operator/pull/315
429+
[316]: https://github.com/m3db/m3db-operator/pull/316
430+
[322]: https://github.com/m3db/m3db-operator/pull/322
431+
[325]: https://github.com/m3db/m3db-operator/pull/325
432+
[324]: https://github.com/m3db/m3db-operator/pull/324
433+
[327]: https://github.com/m3db/m3db-operator/pull/327
434+
[328]: https://github.com/m3db/m3db-operator/pull/328

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Members of the M3 team hold office hours on the third Thursday of every month fr
4343

4444
### Dependencies
4545

46-
The M3 operator targets Kubernetes **1.11** and **1.12**. We aim to target the latest two minor versions supported by GKE but welcome community contributions to support more versions
46+
The M3 operator targets Kubernetes **1.21** and higher. We aim to target the latest two minor versions supported by GKE but welcome community contributions to support more versions.
4747

48-
The M3 operator is intended for creating highly available clusters across distinct failure domains. For this reason it only support Kubernetes clusters with nodes **in at least 3 zones**, but [support][https://github.com/m3db/m3db-operator/issues/68] for zonal clusters is coming soon.
48+
The M3 operator is intended for creating highly available clusters across distinct failure domains. For this reason it only support Kubernetes clusters with nodes **in at least 3 zones**.
4949

5050
## Usage
5151

bundle.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6784,7 +6784,7 @@ spec:
67846784
runAsGroup: 65534
67856785
containers:
67866786
- name: m3db-operator
6787-
image: quay.io/m3db/m3db-operator:v0.13.0
6787+
image: quay.io/m3db/m3db-operator:v0.14.0
67886788
command:
67896789
- m3db-operator
67906790
imagePullPolicy: Always

helm/m3db-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: m3db-operator
3-
version: 0.13.0
3+
version: 0.14.0
44
# TODO(PS) - helm has issues with GKE's SemVer
55
# Error: Chart requires kubernetesVersion: >=1.10.6 which is incompatible with Kubernetes v1.10.7-gke.2
66
#

helm/m3db-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ operator:
22
name: m3db-operator
33
image:
44
repository: quay.io/m3db/m3db-operator
5-
tag: v0.13.0
5+
tag: v0.14.0
66
environment: production

0 commit comments

Comments
 (0)