Skip to content

Commit 285f83b

Browse files
author
lamai93
committed
Merge remote-tracking branch 'origin/master' into bug-fix/less-health-calls
2 parents fc8063c + bee1c2e commit 285f83b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+8305
-11915
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
11
# Change Log
22

3-
## [0.3.10](---) (XXXX-XX-XX)
3+
## [0.3.11](---) (XXXX-XX-XX)
4+
- Introduced volume claim templates for all server groups that require volume.
5+
- Added arangodb-exporter support as sidecar to all arangodb pods.
6+
- Fixed a bug in the case that all coordinators failed.
7+
8+
9+
## [0.3.10](https://github.com/arangodb/kube-arangodb/tree/0.3.10) (2019-04-04)
410
- Added Pod Disruption Budgets for all server groups in production mode.
511
- Added Priority Class Name to be specified per server group.
12+
- Forward resource requirements to k8s.
13+
- Automatic creation of randomized root password on demand.
14+
- Volume resizing (only enlarge).
15+
- Allow to disable liveness probes, increase timeouts in defaults.
16+
- Handle case of all coordinators gone better.
17+
- Added `MY_NODE_NAME` and `NODE_NAME` env vars for all pods.
18+
- Internal communications with ArangoDB more secure through tokens which
19+
are limited to certain API paths.
20+
- Rolling upgrade waits till all shards are in sync before proceeding to
21+
next dbserver, even if it takes longer than 15 min.
22+
- Improve installation and upgrade instructions in README.
623

724
## [0.3.9](https://github.com/arangodb/kube-arangodb/tree/0.3.9) (2019-02-28)
825
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.3.8...0.3.9)

MAINTAINERS.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,35 @@
22

33
## Running tests
44

5-
To run the entire test set, run:
5+
To run the entire test set, first set the following environment variables:
6+
7+
- `DOCKERNAMESPACE` to your docker hub account
8+
- `VERBOSE` to `1` (default is empty)
9+
- `LONG` to `1` (default is empty, which skips lots of tests)
10+
- `ARANGODB` to the name of a community image you want to test,
11+
default is `arangodb/arangodb:latest`
12+
- `ENTERPRISEIMAGE` to the name of an enterprise image, you want to
13+
test, if not set, some tests are skipped
14+
- `ARANGO_LICENSE_KEY` to the enterpise license key
15+
- `KUBECONFIG` to the path to some k8s configuration with
16+
credentials, this indicates which cluster to use
617

718
```bash
8-
export DOCKERNAMESPACE=<your docker hub account>
919
make clean
1020
make build
1121
make run-tests
1222
```
1323

24+
To run only a single test, set `TESTOPTIONS` to something like
25+
`-test.run=TestRocksDBEncryptionSingle` where
26+
`TestRocksDBEncryptionSingle` is the name of the test.
27+
1428
## Preparing a release
1529

1630
To prepare for a release, do the following:
1731

1832
- Make sure all tests are OK.
33+
- To run a complete set of tests, see above.
1934
- Update the CHANGELOG manually, since the automatic CHANGELOG
2035
generation is switched off (did not work in many cases).
2136

README.md

Lines changed: 57 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,79 @@ it is intended to be.
3737
| Docker for Mac Edge | 1.10 | >= 3.3.13 | Runs | Not intended | |
3838
| Scaleway Kubernetes | 1.10 | >= 3.3.13 | ? | No | |
3939

40-
## Installation of latest release using Helm
40+
## WARNING
4141

4242
**WARNING**: There is a problem with rolling upgrades in version 0.3.8.
4343
**DO NOT USE 0.3.8 FOR ROLLING UPGRADES.** If you are still using 0.3.8,
4444
then upgrade to 0.3.9 of the operator first before running any rolling
4545
upgrade.
4646

47+
## Installation of latest release using Kubectl
48+
49+
```bash
50+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-crd.yaml
51+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-deployment.yaml
52+
# To use `ArangoLocalStorage`, also run
53+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-storage.yaml
54+
# To use `ArangoDeploymentReplication`, also run
55+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-deployment-replication.yaml
56+
```
57+
58+
This procedure can also be used for upgrades and will not harm any
59+
running ArangoDB deployments.
60+
61+
## Installation of latest release using Helm
62+
63+
Only use this procedure for a new install of the operator. See below for
64+
upgrades.
65+
4766
```bash
4867
# The following will install the custom resources required by the operators.
49-
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.9/kube-arangodb-crd.tgz
68+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-crd.tgz
5069
# The following will install the operator for `ArangoDeployment` &
5170
# `ArangoDeploymentReplication` resources.
52-
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.9/kube-arangodb.tgz
71+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb.tgz
5372
# To use `ArangoLocalStorage`, also run
54-
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.9/kube-arangodb-storage.tgz
73+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-storage.tgz
5574
```
5675

57-
## Installation of latest release using Kubectl
76+
## Upgrading the operator using Helm
77+
78+
To upgrade the operator to the latest version with Helm, you have to
79+
delete the previous deployment and then install the latest. **HOWEVER**:
80+
You *must not delete* the deployment of the custom resource definitions
81+
(CRDs), or your ArangoDB deployments will be deleted!
82+
83+
Therefore, you have to use `helm list` to find the deployments for the
84+
operator (`kube-arangodb`) and of the storage operator
85+
(`kube-arangodb-storage`) and use `helm delete` to delete them using the
86+
automatically generated deployment names. Here is an example of a `helm
87+
list` output:
88+
89+
```
90+
% helm list
91+
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
92+
intent-camel 1 Mon Apr 8 11:37:52 2019 DEPLOYED kube-arangodb-storage-0.3.10-preview default
93+
steely-mule 1 Sun Mar 31 21:11:07 2019 DEPLOYED kube-arangodb-crd-0.3.9 default
94+
vetoed-ladybird 1 Mon Apr 8 11:36:58 2019 DEPLOYED kube-arangodb-0.3.10-preview default
95+
```
96+
97+
So here, you would have to do
5898

5999
```bash
60-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.9/manifests/arango-crd.yaml
61-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.9/manifests/arango-deployment.yaml
100+
helm delete intent-camel
101+
helm delete vetoed-ladybird
102+
```
103+
104+
but **not delete `steely-mule`**. Then you could install the new version
105+
with `helm install` as normal:
106+
107+
```bash
108+
# The following will install the operator for `ArangoDeployment` &
109+
# `ArangoDeploymentReplication` resources.
110+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb.tgz
62111
# To use `ArangoLocalStorage`, also run
63-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.9/manifests/arango-storage.yaml
64-
# To use `ArangoDeploymentReplication`, also run
65-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.9/manifests/arango-deployment-replication.yaml
112+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-storage.tgz
66113
```
67114

68115
## Building

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.9+git
1+
0.3.11-preview

0 commit comments

Comments
 (0)