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