1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
Commit graph

856 commits

Author SHA1 Message Date
Adam Janikowski
bf7c9f9e9a
[Feature] Add Affinity to GroupSpec (#534) 2020-03-23 23:03:16 +01:00
Adam Janikowski
2b86360df4
[Feature] Allow to override default images (#536) 2020-03-23 21:07:41 +01:00
Adam Janikowski
301048cdf7
[Feature] Allow to set all probes on core groups (#537) 2020-03-23 20:46:02 +01:00
Adam Janikowski
3ce4cada01
[Feature] Allow to direct use image (#538) 2020-03-23 20:41:45 +01:00
Adam Janikowski
397712df50
[Feature] Do not remove Agency members (#535) 2020-03-23 20:37:08 +01:00
Adam Janikowski
d8c9f5a536
[Feature] Add customizable volumes (#533) 2020-03-20 14:39:32 +01:00
Adam Janikowski
26088637dc
[Feature] Add memory limits env (#532) 2020-03-18 10:48:31 +01:00
Adam Janikowski
aafeff7446
[Feature] Change rotation discovery (#531) 2020-03-17 09:31:52 +01:00
Adam Janikowski
221d9d1b7f
Feature/add rotate annotation (#530) 2020-03-11 08:57:03 +01:00
Adam Janikowski
7c649303d0
FEATURE/fix-linter-issues (#529) 2020-03-10 10:26:38 +01:00
Adam Janikowski
c10f5104b4
FATURE/fix docs and headers (#528) 2020-03-04 11:25:14 +01:00
Adam Janikowski
3254e2f789
FEATURE/Remove v1alpha from core API (#527) 2020-03-03 10:34:54 +01:00
Adam Janikowski
40d738b771
FEATURE/allow-to-customize-security-context (#526) 2020-03-02 11:03:45 +01:00
ajanikow
514720d004 Generate code for API update 2020-02-27 08:56:48 +00:00
Adam Janikowski
c829a71ea9
Feature/new resize mode (#524) 2020-02-27 08:28:25 +01:00
Adam Janikowski
43135df93a
Feature: Allow to customize probe configuration (#519) 2020-02-21 12:59:19 +01:00
Adam Janikowski
c8a5d79fbc Feature: cluster upgrade for 3.6 (#518) 2020-02-10 10:47:41 +01:00
Adam Janikowski
50fa4fde59
[BUGFIX] Do not remove used DBServer (#515) 2020-01-28 20:57:37 +01:00
Adam Janikowski
9b73a77d3e
[Feature] Maintenance Mode (#516) 2020-01-27 07:33:12 +01:00
informalict
59277df79e Fixed bug with changing storage class name (#487) 2020-01-20 08:39:51 +01:00
informalict
523e1a3f34 Feature/resource requirements in sidecars (#505) 2020-01-16 13:36:28 +01:00
informalict
be9ca18925 Cleaning the code (#501) 2019-11-24 22:38:07 -08:00
informalict
d79065bfbd Drop capabilities for most of containers (#500) 2019-11-14 10:00:35 +01:00
Adam Janikowski
115d03f0a1
Allow to set annotations (#499) 2019-11-11 14:11:27 +01:00
informalict
ba3a30911f Drop all capabilities to security context (#497) 2019-11-11 09:09:33 +01:00
informalict
27775eb802 Add node affinity for members pod (#494) 2019-11-11 09:08:16 +01:00
informalict
4bdb51cdcb Discard alpha and beta phrases from annotations (#492) 2019-11-04 13:29:50 +01:00
Adam Janikowski
30c09d0259
Change version to V1 (#490) 2019-11-04 08:49:24 +01:00
informalict
46a2b144f7 Change k8s.io version to v1 (#471) 2019-10-18 09:55:39 +02:00
informalict
5f98a4aafc Feature/change user password (#484) 2019-10-18 09:54:27 +02:00
Adam Janikowski
89ab9a2344
Fix communication with ArangoD API in version 3.5.1 (#465) 2019-10-16 16:58:20 +02:00
Adam Janikowski
3cc2b4f9aa
REVERT/to_0.4.0 (#476) 2019-10-16 09:05:56 +02:00
informalict
9b9862619c
Upgrade/golang1.13 (#469)
* Prepare environment for golang 1.13

Add test which checks if version has been changed

Remove unnecessary variables from Makefile

remove commit change

* Remove unnecessary dependencies
2019-10-14 15:33:24 +02:00
informalict
b16029b33c Feature/change user password (#463)
* Change password in a database for a user
* Add unit tests
* Change password for user when hash secret has changed
* Add integration test for changing root password
* Add disclaimer
* Change comment
* Run unit test for whole pkg/deployment/...
* Check password in the database
* Fix nil receiver
* Fix removing root secret password
* Fix unit test definition in Makefile
* Don't validate non-existing users' secrets
2019-10-10 10:55:08 +02:00
Adam Janikowski
d13fb27325
Add Size Field to Backup CR (#460) 2019-10-07 07:48:36 +02:00
Lars Maier
a27e5eff2f
Do not display scaling buttons if scaling is not possible. (#441)
* Do not display scaling buttons if scaling is not possible.
2019-10-01 14:57:55 +02:00
Adam Janikowski
443e291823
Update Arango Backup Policy schedule (#458) 2019-10-01 10:40:31 +02:00
Adam Janikowski
6cef89bc41
Arango Backup support in Operator (#438) 2019-09-27 13:04:23 +02:00
Lars Maier
83598c4ab6 When the member is terminated do not set cleaned out state when resigning. Added test for upgrade. (#450) 2019-09-24 09:23:13 +02:00
Max Neunhöffer
ef46f8920e Rename LocallyAttachedVolumes to NetworkAttachedVolumes. (#447) 2019-09-23 09:03:09 +02:00
Adam Janikowski
c359f44114
Change custom templates to Helm charts (#445) 2019-09-23 09:00:10 +02:00
Adam Janikowski
ec8ed8e0ae
Allow to set ImagePullSecrets in pods (#444) 2019-09-15 18:43:55 +02:00
Lars Maier
363e06cfae Resign Leadership (#414)
* Added resign leadership job to operator. (Version check missing)
* Added version check.
* Added missing deep copy of new field.
* New go-driver.
* Take current version from member.
2019-08-16 12:36:28 +02:00
Lars Maier
1fa3eb5d56
Sidecar Issues 2 (#434)
* Moved status update to pod creation. Used deepEquals for pointers.
* Simplified code.
* Deleted comment nobody needs.
2019-08-06 10:19:16 +02:00
Lars Maier
30e3ecef08
Merge pull request #428 from arangodb/bug-fix/limit-requests-resources
Added test for resource rotation.
2019-07-31 14:27:11 +02:00
Lars Maier
dd794d7cca
Merge pull request #416 from arangodb/bug-fix/disable-gin-debug-mode
Disable GIN-Debug
2019-07-31 14:12:16 +02:00
Max Neunhoeffer
a6669b644d
Check in new version of autogenerated code. 2019-07-31 11:37:42 +02:00
lamai93
a61e7b0abf Added test for resource rotation. 2019-07-31 11:12:26 +02:00
Kaveh Vahedipour
08ecc445cd Feature/restart pods on sidecar changes (#420)
* added side car changes to pod rotation
* change log
* go fmt
* sidecar test
2019-07-31 10:58:44 +02:00
Ewout Prangsma
74ed1c12a1
Minor log improvement 2019-07-30 08:32:06 +02:00
Joerg Schad
835a042987
Additional tests. 2019-07-30 08:01:25 +02:00
Ewout Prangsma
2867907da8
Fixed MemberStatusList.Equal 2019-07-29 18:08:31 +02:00
Kaveh Vahedipour
dc736201df better logging 2019-07-29 16:22:33 +02:00
Kaveh Vahedipour
f213bb6d8c server id 2019-07-29 16:09:55 +02:00
Kaveh Vahedipour
3b1f078e51 hunt for red october 2019-07-29 16:00:45 +02:00
Kaveh Vahedipour
c04886fb2a found result 2019-07-29 15:42:56 +02:00
Kaveh Vahedipour
8af6851480 hunt for red october 2019-07-29 15:40:59 +02:00
Kaveh Vahedipour
9f1861c2db ArangoDB version in membership status (#423)
* add arangodb version to member status
2019-07-25 12:11:48 +02:00
lamai93
2f2e02b649 Disabled debug mode of gin to remove confusing log message. 2019-07-08 15:41:29 +02:00
Lars Maier
a0e2c3ee0b ArangoSync-Client (#408)
* Removed vendored directory. Use arangosync-client repo instead.
* Use tag instead of commit.
* Updated prometheur client_go to v1.
2019-07-08 11:49:32 +02:00
joerg84
fa3587fdf9 Fix json marshalling specification. 2019-06-25 13:55:31 +02:00
Lars Maier
9050ba2a8f
Merge pull request #389 from arangodb/lb-source-ranges
Added loadBalancerSourceRanges field to external-access-spec
2019-06-14 11:02:26 +02:00
Ewout Prangsma
c8d017fb92
Update service when possible to preserve IP 2019-05-27 17:13:05 +02:00
Ewout Prangsma
0ce87e2bd1
Updated generate code 2019-05-27 16:43:32 +02:00
Ewout Prangsma
bcc360d3b8
Added loadBalancerSourceRanges field to external-access-spec 2019-05-27 16:10:11 +02:00
Max Neunhoeffer
ff84d19890
Increase some timeouts. 2019-05-24 15:41:31 +02:00
Max Neunhoeffer
91508e5a00
Fix compilation. 2019-05-24 12:17:18 +02:00
Max Neunhöffer
1c43b6933b
Merge pull request #370 from arangodb/bug-fix/less-health-calls
Health Call optimization
2019-05-24 12:10:14 +02:00
lamai93
04b7cf37c2 Ignore connection errors when removing server. 2019-05-21 11:40:01 +02:00
Max Neunhoeffer
2c12ceb9d5
Use constant. 2019-05-17 17:07:13 +02:00
Max Neunhoeffer
b575014f89
Do not touch ServiceMonitor not owned by us. 2019-05-17 16:57:06 +02:00
Max Neunhoeffer
2eec97cafa
Remove dead code. 2019-05-17 16:08:33 +02:00
Max Neunhoeffer
40d0e7cd7d
Add another generic label. 2019-05-17 09:27:01 +02:00
Max Neunhoeffer
580378047e
Throw out certificate again.
This is because Prometheus seems to need a file name relative to its own
config rather than the actual certificate in the ServiceMonitor.
Switched to insecure, which is OK for metrics.
2019-05-16 16:36:35 +02:00
Max Neunhoeffer
0c6f203a46
Sort out TLS. 2019-05-16 15:20:22 +02:00
Max Neunhoeffer
6df2a23667
Take out a log message. 2019-05-16 10:46:50 +02:00
Max Neunhoeffer
4c22a586bb
Create ServiceMonitor automatically. 2019-05-16 10:43:02 +02:00
Max Neunhoeffer
5c66073aa5
First working version. Needs more testing. 2019-05-14 17:26:43 +02:00
Max Neunhoeffer
c892b07890
Intermediate commit. 2019-05-14 15:51:47 +02:00
Max Neunhöffer
500bdc8743
Merge pull request #384 from arangodb/feature/go-1.12
More Go 1.12
2019-05-14 11:15:42 +02:00
lamai93
2270b3e07e Fixed wrong exporter service name in status. 2019-05-13 16:22:04 +02:00
lamai93
dec7a61147 Create headless service for exporter pods. 2019-05-13 16:12:37 +02:00
lamai93
cc06bf2a0c Fixed scheme in exporter args. 2019-05-10 15:15:23 +02:00
lamai93
285f83b0b3 Merge remote-tracking branch 'origin/master' into bug-fix/less-health-calls 2019-05-07 15:14:48 +02:00
lamai93
6abd51cec0 Fixed code generation as module support is not yet released. 2019-05-07 11:04:40 +02:00
lamai93
03cf8a2dd3 More Go 1.12 2019-05-07 10:10:23 +02:00
lamai93
58205a3ea9 Merge remote-tracking branch 'origin/master' into feature/volume-claim-templates 2019-05-03 16:43:22 +02:00
Max Neunhöffer
1c75b2ad8a
Merge pull request #380 from arangodb/feature/user-sidecars
Added user sidecars.
2019-05-03 16:30:39 +02:00
lamai93
95c80bdd24 Removed prometheus. Updated comment. 2019-05-03 13:45:47 +02:00
lamai93
55a2ea3d7c Added user sidecars. 2019-04-29 17:09:26 +02:00
lamai93
93a2ad7699 Removed debug output. 2019-04-25 14:06:42 +02:00
lamai93
83d1b9763c First draft of volume claim templates. 2019-04-24 14:25:14 +02:00
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
Ewout Prangsma
7159561cd1
Avoid use of arangosync packages 2018-09-07 12:19:41 +02:00
Ewout Prangsma
b8955e81b1
Merge branch 'master' into bugfix/resilience-improvements 2018-09-04 08:05:18 +02:00
Ewout Prangsma
0cc2d5dbba
Adding various metrics 2018-08-31 16:08:21 +02:00
Ewout Prangsma
56466c4631
Fetch cluster health in go-routine 2018-08-31 12:17:36 +02:00
Ewout Prangsma
38b91d3b03
Added Service & PVC cache for faster inspection loops 2018-08-31 08:01:49 +02:00
Ewout Prangsma
bd64ca74ed
Speeding up inspection loop 2018-08-30 16:57:08 +02:00
Ewout Prangsma
01cbcae5a8
Sort members by ID 2018-08-30 11:16:34 +02:00
Ewout Prangsma
fe2bbafab2
Prevent database-autoupgrade on stateless members 2018-08-30 11:03:33 +02:00