lamai93
abcae5f827
Added allowed paths to exporter token.
2019-04-10 16:51:32 +02:00
lamai93
6f30390e32
Merge remote-tracking branch 'origin/master' into feature/arangodbexporter
2019-04-10 16:35:22 +02:00
Max Neunhoeffer
147a0d6953
Hold Mutex for shorter or not at all if not needed.
2019-04-08 09:26:45 +02:00
Max Neunhoeffer
455bc4439d
Only check shard sync status for cluster deployments.
...
This fixes a test and is benficial otherwise, too.
2019-04-08 09:10:14 +02:00
lamai93
0c707c56f1
Merge branch 'master' of github.com:arangodb/kube-arangodb
2019-04-05 16:03:05 +02:00
lamai93
0ee0d858dd
WaitForMember invalidates sync status at end.
2019-04-05 16:02:21 +02:00
lamai93
2b8a8d6b9a
Added sync invalidation on server shutdown.
2019-04-05 15:05:23 +02:00
lamai93
2eada0b3a4
Modified log message.
2019-04-05 14:16:51 +02:00
lamai93
8f9ec45d03
Modified timeouts.
2019-04-05 09:03:23 +02:00
lamai93
90b1d87daa
Monitor sync status concurrently. Only create new upgrade plan if everything is good.
2019-04-04 17:06:27 +02:00
lamai93
5eaa54a44c
Merge remote-tracking branch 'origin/master' into feature/arangodbexporter
2019-04-04 13:45:30 +02:00
lamai93
e6b23a859f
Do not use super user token but restricted token for liveness and readiness.
2019-04-04 13:31:45 +02:00
lamai93
fc8063c9cd
Reduce the amount of health calls to once every five seconds.
2019-04-04 09:45:52 +02:00
lamai93
fd1a4e4a75
Quick fix for container resources.
2019-04-03 10:33:15 +02:00
lamai93
6cb6cb3019
small changes.
2019-04-03 09:58:59 +02:00
lamai93
5c80920091
Merge remote-tracking branch 'origin/master' into feature/pod-priority
2019-04-03 09:53:55 +02:00
lamai93
c41c9cf53b
Removed Priority field. Added test.
2019-04-02 09:36:19 +02:00
lamai93
093aaf2995
Forward priorities to the pod.
2019-04-01 16:57:36 +02:00
lamai93
48bed099ef
Added test for rotation.
2019-04-01 15:48:31 +02:00
lamai93
6747623f0c
Added some ideas for pod rotation for changing requirements.
2019-04-01 14:32:37 +02:00
lamai93
252f01eeec
Forward resources to container, except for Storage.
2019-04-01 14:04:59 +02:00
lamai93
a1904cd5ad
Default None for root password.
2019-04-01 13:58:25 +02:00
lamai93
432d824ad3
Fixed nil pointer dereference.
2019-04-01 11:12:21 +02:00
Max Neunhöffer
0e2689d91c
Merge pull request #325 from arangodb/feature/bootstrap-root-pwd
...
Randomize Root Password
2019-03-25 17:38:09 +01:00
Max Neunhöffer
44de2acab6
Merge pull request #357 from arangodb/feature/resize-volumes
...
Volume resizing
2019-03-25 17:34:31 +01:00
Max Neunhöffer
46b6603776
Merge pull request #361 from arangodb/feature/disable-probes
...
Allow to disable probes
2019-03-25 17:27:18 +01:00
lamai93
515c453343
Fixed.
2019-03-22 10:57:34 +01:00
lamai93
e81966067b
If all members are dropped, create a new one.
2019-03-22 10:48:42 +01:00
lamai93
c577773b65
Fixed tests for Probes.
2019-03-21 14:07:48 +01:00
lamai93
3275078ff6
Changed default probe values.
2019-03-21 13:55:15 +01:00
lamai93
974a68df0c
Copy pasta fixed.
2019-03-21 11:23:48 +01:00
lamai93
1beed1a02a
Allow to disable probes.
2019-03-21 11:20:25 +01:00
lamai93
e9f04690ff
Merge remote-tracking branch 'origin/master' into feature/bootstrap-root-pwd
2019-03-20 15:46:35 +01:00
lamai93
e58fb328e8
Changed default value for root password initialization to None.
2019-03-20 15:46:06 +01:00
lamai93
9218d81b14
Merge remote-tracking branch 'origin/master' into feature/arangodbexporter
2019-03-20 15:33:53 +01:00
Max Neunhöffer
fd1cdcb33f
Merge pull request #350 from arangodb/feature/advanced-syncer-tests
...
ArangoSync tests
2019-03-20 15:25:13 +01:00
lamai93
ea5e3ff52a
Added BootstrapSucceeded condition.
2019-03-19 10:11:26 +01:00
lamai93
3ccf78ea2a
Merge remote-tracking branch 'origin/master' into feature/bootstrap-root-pwd
2019-03-19 09:10:45 +01:00
lamai93
e802597801
Added CannotShrink Event.
2019-03-18 15:57:28 +01:00
lamai93
1c1a6f132f
Added event when pvc is resized. Added log if the user tries to shrink a volume.
2019-03-18 12:46:45 +01:00
lamai93
80ba00b9d4
Create rotate member plan when pvc have a file system resize pending.
2019-03-18 12:25:07 +01:00
lamai93
82376fd822
Don't crash is Storage is not set.
2019-03-18 11:02:14 +01:00
lamai93
88c6181ff0
Added test for volume resize. Added code to do so.
2019-03-18 10:57:09 +01:00
lamai93
a82820f043
Added PDB test.
2019-03-07 13:44:53 +01:00
lamai93
5b40765d7d
Delete and recreate in one round.
2019-03-07 12:40:01 +01:00
lamai93
51711e39cd
Never implement min on your own ...
2019-03-07 11:48:06 +01:00
lamai93
ad4985e862
Fixed bad logic in recreate.
2019-03-07 11:41:14 +01:00
lamai93
57b0343d2f
Updated comments.
2019-03-07 11:21:48 +01:00
lamai93
1b297ee8ed
PDBs can not be updated. Delete it and recreate it with correct value.
2019-03-07 11:13:01 +01:00
lamai93
a0e7b41f34
Added pod disruption budgets in production mode.
2019-03-07 10:51:25 +01:00
lamai93
efaf29899b
Create control pod and run syncer tests when deployment is ready.
2019-03-06 14:21:36 +01:00
Lars Maier
0231e7eae0
Added MY_NODE_NAME and NODE_NAME envs for all pods. ( #349 )
2019-03-05 10:52:29 +01:00
lamai93
e91f28b787
Merge remote-tracking branch 'origin' into feature/bootstrap-root-pwd
2019-03-04 11:09:46 +01:00
Lars Maier
72e02e473a
bug-fix/bad-remove-member ( #345 )
...
* Updated go-driver.
* Introduced condition Terminating for a pod marked for deletion.
* Remove Terminating when pod is recreated.
* Removed dead code.
* Wait for shards to be in sync. Rotate members on upgrade when possible.
* Updated changelog.
2019-02-26 14:00:00 +01:00
lamai93
f963832e55
Update member status. If once decided to drain, continue draining.
2019-02-19 15:31:55 +01:00
lamai93
e91251f6da
Try harder to remove server from cluster.
2019-02-19 11:48:11 +01:00
Max Neunhöffer
edf5d2f0ba
Merge pull request #339 from arangodb/bug-fix/no-coords-bug
...
No Coords
2019-02-18 05:20:04 -05:00
Max Neunhöffer
5b720d2408
Merge pull request #338 from arangodb/bug-fix/force-status-reload
...
Fix Reload
2019-02-18 05:14:59 -05:00
Max Neunhöffer
32ac512b7e
Merge pull request #337 from arangodb/bug-fix/drain-node-cleanout
...
Schedule only one CleanOutServer job. Introduced new Drain phase.
2019-02-18 05:12:37 -05:00
lamai93
a64d92a97b
Code cleanup.
2019-02-12 14:45:15 +01:00
lamai93
722f88c2f4
Only restart coordinators if the deployment mode has coordinators.
2019-02-12 14:32:23 +01:00
lamai93
f363f22c6f
Simplify logic.
2019-02-12 13:35:05 +01:00
lamai93
71ba8b04e7
Small changes.
2019-02-12 13:14:05 +01:00
lamai93
af5cc1b923
Simplify logic.
2019-02-12 12:06:58 +01:00
lamai93
e095a5a519
Revert changes in Ready state of upgrading pods.
2019-02-12 11:55:47 +01:00
lamai93
5c9905bf2c
Delete all coordinator pods if all coordinators are failed. If a pod is in strange phase but there is no plan, fail it.
2019-02-11 17:46:25 +01:00
lamai93
589999d42c
Added secret force-status-reload status field. ✌️
2019-02-11 14:10:44 +01:00
lamai93
674885291c
If server is terminated before drained, declare it as cleaned out and replace it with a new one.
2019-02-08 16:09:46 +01:00
lamai93
4d8d37d757
Schedule only one CleanOutServer job. Introduced new Drain phase.
2019-02-07 11:01:03 +01:00
lamai93
c6dda48ed3
Wait for coordinator to be ready in kubernetes.
2019-01-23 13:26:45 +01:00
lamai93
4eeaeafb22
Added documentation. Simplified code.
2019-01-16 11:06:30 +01:00
lamai93
81b1375408
Empty string is auto.
2019-01-16 10:13:55 +01:00
lamai93
d0704593f6
Style.
2019-01-16 09:56:55 +01:00
lamai93
8a550379de
Style.
2019-01-15 16:36:01 +01:00
lamai93
546444b640
Reworked bootstrap mechanics.
2019-01-15 16:29:26 +01:00
lamai93
db386d9c69
Only bootstrap new deployments.
2019-01-15 10:36:15 +01:00
lamai93
a699c1a216
Randomize root password or use provided secret.
2019-01-14 14:30:39 +01:00
lamai93
7ece1085ea
Added label for exporter.
2019-01-11 14:47:56 +01:00
lamai93
c74d83819d
API layout for creating prometheus ServiceMonitor.
2019-01-11 13:42:35 +01:00
lamai93
e4eff49871
Added TLS support for exporter using aragod certs.
2019-01-11 10:10:40 +01:00
lamai93
abad00bbec
Updated success and fail condition to only look at arangod.
2019-01-10 17:14:49 +01:00
lamai93
cec4ceb8db
Use correct port for liveness of exporter.
2019-01-10 15:57:11 +01:00
lamai93
fb15f899fe
Extended lifeness checks for exporter.
2019-01-10 15:29:38 +01:00
lamai93
fbbce0fd1b
Added JWT for exporter as file.
2019-01-10 15:12:26 +01:00
lamai93
e1a0b7cbf4
Rotate pods when exporter config changed.
2019-01-10 12:37:08 +01:00
lamai93
b2a000850e
Add option for different exporter docker image.
2019-01-10 12:01:15 +01:00
lamai93
4d05a5b348
First version of arangodbexporter support.
2019-01-10 10:00:55 +01:00
lamai93
fa8d693a2f
Check min > max.
2019-01-08 15:07:02 +01:00
lamai93
af549fd265
Added test. Added helper functions. Updated documentation.
2019-01-08 11:09:20 +01:00
lamai93
4577e151b0
Added scaling limits.
2019-01-07 16:57:45 +01:00
Max Neunhoeffer
fd28f2c8bb
clusterJWTSecretVolumeName only local fixed logic bug.
2019-01-02 13:07:44 +01:00
Max Neunhoeffer
fddd8d3a29
Fix path to jwt secret file.
2019-01-02 11:43:26 +01:00
Max Neunhoeffer
b037e455ca
Add comment to function.
2019-01-02 11:38:45 +01:00
Lars Maier
dba4dcb8da
Use jwt-keyfile option if available.
2019-01-01 14:39:43 +01:00
lamai93
d2fc497d07
Show the correct volume size for volumes provided by the storage operator.
2018-12-14 21:27:07 +01:00
lamai93
407c53c4e9
Removed duplicated debug output.
2018-12-05 15:32:41 +01:00
lamai93
5dce377765
Reset immutable fields in SyncSpec.
2018-12-05 15:26:33 +01:00
lamai93
a438d333d1
Change less.
2018-12-05 15:25:45 +01:00
lamai93
42dca02b36
Tricky utils!
2018-12-05 15:19:17 +01:00
lamai93
20265a4936
Finalized advertised endpoints.
2018-12-05 15:16:49 +01:00
lamai93
90c520ccf8
Merge remote-tracking branch 'origin/master' into feature/advertised-endpoints
2018-12-05 14:32:19 +01:00
Max Neunhoeffer
cb31f7def7
Merge remote-tracking branch 'origin/master' into feature/node-selector
2018-12-05 12:10:05 +01:00
lamai93
f0d0dac506
Added nodeSelector field that is forwarded to the created pods of the specific group.
2018-12-04 16:12:41 +01:00
lamai93
a433259696
Added unit test for LicenseSpec.
2018-12-04 15:22:56 +01:00
lamai93
168e2ba7cc
Modified Spec definition for license key.
2018-12-04 09:49:27 +01:00
lamai93
0dbb8175b0
Fixed failed id container. Wait 30s before retry.
2018-12-03 17:07:30 +01:00
lamai93
82ad6b379f
Fixed unittests.
2018-12-03 12:18:39 +01:00
lamai93
4f1e42198c
Added License Key secret support.
2018-12-03 12:08:32 +01:00
Hugheym
32f796301c
Fixing imageID retrieval issue when sidecars are injected (w/ Istio in mind).
2018-11-14 00:23:19 +09:00
lamai93
7a87642f50
Force a spec update at code paths, where apiObject has not been updated. Disable UpdateTests.
2018-11-12 11:00:51 +01:00
lamai93
96648afb88
Broken version. We have to find a better way to provide advertised endpoint. By parameter seems to be insufficent.
2018-11-08 19:00:19 +01:00
lamai93
66d6e39d0d
Added Found
message for CRDs such that log messages are less confusing.
2018-11-08 17:33:11 +01:00
lamai93
93ba5c2fef
Advertise endpoint if set in spec. Immutable.
2018-11-08 01:33:45 +01:00
lamai93
d977d0689b
Revert "Advertise endpoint if set in spec. Immutable."
...
This reverts commit e1832776e2
.
2018-11-08 01:33:03 +01:00
lamai93
e1832776e2
Advertise endpoint if set in spec. Immutable.
2018-11-08 00:34:42 +01:00
lamai93
9bcee7f08b
Clean up.
2018-11-06 01:54:38 +01:00
lamai93
341fc3b47e
Fixing uninitialised lastNumberOfServers
.
2018-11-05 23:15:09 +01:00
Max Neunhöffer
a3dbb9670b
Merge pull request #288 from arangodb/bug-fix/scaling-removing-wrong-nodes
...
Revisited scale up and scale down.
2018-11-02 13:35:52 +01:00
lamai93
783faa323d
Fixed unittest.
2018-11-02 11:48:01 +01:00
lamai93
90abf5dba5
Do clean out a dbserver if it was initialized.
2018-11-02 11:41:13 +01:00
lamai93
bf258687c7
When redeployed the operator would not care about the ui because desired has only nil pointers.
2018-11-02 11:26:10 +01:00
lamai93
78d7c67697
Revisited scale up and scale down.
2018-11-02 10:22:07 +01:00
lamai93
d5a54a2f1b
Replaced flawed null-ptr check by something better. :)
2018-10-31 16:07:48 +01:00
lamai93
f1b44fac4a
Merge remote-tracking branch 'origin/master' into bug-fix/break-pks-loop
2018-10-31 15:58:48 +01:00
Max Neunhöffer
0cc576e624
Merge pull request #283 from arangodb/bug-fix/readiness-upgrade-fix
...
Bug fix/readiness upgrade fix
2018-10-31 15:39:55 +01:00
Max Neunhöffer
3fab871b9d
Merge pull request #285 from arangodb/feature/disable-ipv6
...
IPv6 revisited
2018-10-31 15:37:25 +01:00
Max Neunhoeffer
41e15a4462
Two more capital V.
2018-10-31 15:36:55 +01:00
lamai93
86fbeb0eb0
Fixed comment.
2018-10-31 14:55:38 +01:00
lamai93
42a265f5e2
Set label to disableIPv6
and added TESTDISABLEIPV6
var to disable IPv6 for testing.
2018-10-31 14:52:33 +01:00
lamai93
f4db022647
More manual tests for Equal.
2018-10-31 14:25:55 +01:00
lamai93
10efbda0ff
Merge remote-tracking branch 'origin/master' into bug-fix/readiness-upgrade-fix
2018-10-31 11:41:46 +01:00
lamai93
12a37bee6e
Pass version to createReadynessProbe.
2018-10-31 11:38:10 +01:00
lamai93
b4225aaeed
Support older versions of arangodb.
2018-10-31 11:07:52 +01:00
lamai93
9428447462
Make it compile.
2018-10-26 16:32:32 +02:00
lamai93
5987fa0794
Reverted deletion of force parameter - still in use.
2018-10-26 16:12:10 +02:00
lamai93
1a6101c0b2
Fixed unittests.
2018-10-26 16:05:26 +02:00
Max Neunhöffer
d862e71ef8
Merge pull request #276 from arangodb/bug-fix/readiness-upgrade-fix
...
Fixed readiness route.
2018-10-26 15:19:57 +02:00
lamai93
22a1b47412
Check more carefully if an update is required to prevent update loops on PKS <3
2018-10-26 10:04:20 +02:00
lamai93
f46b3756ff
Removed debug output.
2018-10-25 16:52:53 +02:00
lamai93
83760ed705
Fixed readiness route.
2018-10-24 15:40:46 +02:00
lamai93
8780b0be45
Merge remote-tracking branch 'origin/master' into bug-fix/scale-up-error
2018-10-23 15:06:41 +02:00
lamai93
18cff92b44
Don't updated the agency if not required. This may overwrites changes made by the user.
2018-10-23 15:05:35 +02:00
Max Neunhöffer
0a32c84088
Merge pull request #264 from arangodb/bug-fix/readiness-test-unified
...
Unified Readiness Test
2018-10-23 09:14:44 +02:00
lamai93
62f36a9ee9
When scaling down consider non-ready members first.
2018-10-22 17:00:32 +02:00
lamai93
c7e558aaec
Added disableIPV6
Spec entry.
2018-10-22 11:45:24 +02:00
lamai93
0331a53eed
Unified readiness test. Now using _api/version
only.
2018-10-15 15:23:16 +02:00
Ewout Prangsma
cb84514137
Removed unused code
2018-09-07 14:38:37 +02:00
Ewout Prangsma
db19a9fc00
Comment fix
2018-09-07 14:13:49 +02:00
Ewout Prangsma
c22139a593
Removed debug-only profiler code
2018-09-07 13:18:39 +02:00
Ewout Prangsma
454831b046
Merge branch 'master' into bugfix/resilience-improvements
2018-09-07 13:15:09 +02:00