Commit Graph

70 Commits

Author SHA1 Message Date
Chris Lu 8342be9b1c proceed only when masters are all ready
fix https://github.com/seaweedfs/seaweedfs-operator/issues/21
2020-11-08 17:41:12 -08:00
Chris Lu 8585daff05 go fmt 2020-11-08 17:40:30 -08:00
Chris Lu 411cb7bc7d fix odd number of masters 2020-11-08 17:40:16 -08:00
Chris Lu 9ba4b60d94 re-run reconcile every 5 seconds, to check node status changes 2020-11-08 17:00:41 -08:00
Chris Lu eccad4af1e unused functions 2020-11-08 16:46:16 -08:00
Chris Lu 771312ddfb add steps to develop inside k8s 2020-11-08 16:23:17 -08:00
Chris Lu b0f01a5e1a add namespace to master peers list 2020-11-08 16:12:31 -08:00
Chris Lu 3ecd205e8e add a seaweed admin
related to https://github.com/seaweedfs/seaweedfs-operator/issues/23
2020-11-08 00:55:56 -08:00
Chris Lu 291b479395 filer, volume stateful set detect changes 2020-11-04 19:01:19 -08:00
Chris Lu 95dc4a247d master statefulset ensure consistent style
fix https://github.com/seaweedfs/seaweedfs-operator/issues/19
2020-11-04 19:00:34 -08:00
Chris Lu 46806156b6 add filer and s3 ingress 2020-11-04 14:30:15 -08:00
Chris Lu 255a6487c7 fix filer configmap 2020-11-03 20:47:45 -08:00
Chris Lu 561e7fcc3a add filer.toml to /etc/seaweedfs 2020-11-03 20:01:19 -08:00
Chris Lu 7399cc6e30 fix filer replica 2020-11-03 18:26:28 -08:00
Howard Lau 647b74f909
fix wrong if
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:34:52 +00:00
Howard Lau 152049b5cf
fix lint
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:32:43 +00:00
Howard Lau 08430619b9
fix lint
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:28:08 +00:00
Howard Lau 89bf4e4e0e
Add tests
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 09:24:13 +00:00
Howard Lau 753e8e8c00
Add managed-by
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:46:34 +00:00
Howard Lau eb051a3202
Use Kubernetes recommended labels
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-11-01 06:43:45 +00:00
Howard Lau a9ea14b399
fix port
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 09:23:54 +00:00
Howard Lau e8ba79aae6
add filer peers on filer startup
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 09:15:16 +00:00
Howard Lau cbd151aa2a
fix service
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 07:14:24 +00:00
Howard Lau 223d464e45
do not sleep
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:57:51 +00:00
Howard Lau 53536d56db
fix name
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:57:02 +00:00
Howard Lau 7b11a10862
fix master name
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:44:51 +00:00
Howard Lau a8c8fd65bc
add config
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 06:42:00 +00:00
Howard Lau 8c390ce083
fix float issues
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 03:09:04 +00:00
Howard Lau 95b9af71fa
ownerReference for cm
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-30 02:42:34 +00:00
Howard Lau e7b287bb6f Merge branch 'master' into peersvc 2020-10-30 02:40:34 +00:00
Chris Lu 4d2cd6ce12
Merge pull request #7 from howardlau1999/config
Support raw TOML config for master and filer
2020-10-29 08:52:56 -07:00
Chris Lu 9e229fc647
Merge pull request #9 from howardlau1999/owner
Set ownerReference for GC
2020-10-29 08:51:33 -07:00
Howard Lau 0d53ed3402
Set ownerReference for GC
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 14:31:06 +00:00
Howard Lau c5fbce3700
Make sure the operator is runnable
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:56:59 +00:00
Howard Lau e8baea6ae4
fix rbac
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:37:49 +00:00
Howard Lau 6c601549f9
rbac
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 11:24:38 +00:00
Howard Lau 2c0d8fac02
fix
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 09:03:30 +00:00
Howard Lau f8e325e446
create peer svc for sts
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-29 08:57:16 +00:00
Howard Lau 3722dcdc0e
fix mountpath
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:33:16 +00:00
Howard Lau a4b872fbbc
format
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:31:02 +00:00
Howard Lau 6ee14a018f
Reconcile ConfigMap
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:29:11 +00:00
Howard Lau 09d121bcb5
Support raw TOML config for master and filer
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 11:19:17 +00:00
Howard Lau d6e3cf7be9
use accessor to merge config and extract magic numbers
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 07:06:37 +00:00
Howard Lau ef177093c7
remove unused field
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 05:09:01 +00:00
Howard Lau 4f59aa4ada
refactor to multiple specs
Signed-off-by: Howard Lau <howardlau1999@hotmail.com>
2020-10-28 05:06:25 +00:00
Chris Lu 937ea45c04 add volume server disks 2020-10-20 00:17:14 -07:00
Chris Lu 80ba5abbae probe volume, filer. 2020-10-18 22:56:12 -07:00
Chris Lu 1a443616b6 master probe 2020-10-18 22:49:11 -07:00
Chris Lu 4b67dd3791 simplify 2020-10-18 01:59:38 -07:00
Chris Lu 8ad7ee2d50 create ingress, simplify ensure filer statefulset 2020-10-18 00:12:33 -07:00