LazyDBA247-Anyvision
9385e2224d
fix postgres2 upsertQuery syntax also
2021-03-30 10:51:52 +03:00
LazyDBA247-Anyvision
9f1cab179c
use a compatible pg syntax for upsert
2021-03-30 10:21:27 +03:00
LazyDBA247-Anyvision
7f44d953b5
fix GetBool
2021-03-30 01:36:02 +03:00
LazyDBA247-Anyvision
4c51e6a660
add enableUpsert=true
...
and rename config to upsertQuery
2021-03-30 00:32:03 +03:00
LazyDBA247-Anyvision
96c62bd34d
scaffold - insertQuery
...
Example for upsert query for mysql & postgres variants
2021-03-29 10:01:12 +03:00
LazyDBA247-Anyvision
4a02389eb0
Adding custom insertQuery support for postgres/2 mysql/2
2021-03-29 09:58:13 +03:00
LazyDBA247-Anyvision
02be7ea2fc
Volume:
...
PVC support + Host Path
idx support on ssd
2021-02-24 10:25:11 +02:00
LazyDBA247-Anyvision
b1b21e0564
make internal filter svc - internal k8s lb
2021-02-24 09:55:17 +02:00
LazyDBA247-Anyvision
9d6b6a4aea
add filter Pattern only if configured
2021-02-24 09:54:42 +02:00
LazyDBA247-Anyvision
7f458d5e78
better postgres connection pool management
...
adding SetConnMaxLifetime configuration (https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime )
to enable refresh of stale connections.
2021-02-15 07:45:09 +02:00
LazyDBA247-Anyvision
51b4963e2e
postgres2 & memsql2
...
add escape (quote identifiers) for the dynamic sql
so tables (collections) with special characters will work.
2021-02-14 13:14:36 +02:00
LazyDBA247-Anyvision
1a11967fd9
update README to be more k8s newbie friendly :)
2021-02-09 12:04:19 +02:00
LazyDBA247-Anyvision
73a31789b4
forgot to upload (git add) the s3 secret for auth (previous pr)
2021-02-09 12:03:44 +02:00
LazyDBA247-Anyvision
b373c1de93
remove collectionPattern if is empty string / null
2021-02-09 10:07:25 +02:00
LazyDBA247-Anyvision
259c66d978
volume: set minFreeSpacePercent to 7%
...
when k8s node have less than 5% free space, the k8s will start killing pods...
2021-02-09 09:57:09 +02:00
LazyDBA247-Anyvision
91a3314d36
filer/s3: enable/disable s3 and peers
...
enable/disable s3 pods
launch s3 in filer pod, to reduce network/latency between pods when using s3
disable/enable the peers option (with external backend DB is not needed)
added option to create s3 admin+read users
2021-02-09 09:55:58 +02:00
LazyDBA247-Anyvision
2646f5a784
cronjob: fix and update
...
enable/disable fix.replication & support for CollectionPrefix filtering
fix toleration and nodeSelector helm templating issues
2021-02-09 09:46:21 +02:00
LazyDBA247-Anyvision
b6fba0c03f
filer: make k8s service ClusterIP type
...
easier to patch/expose ( probably LoadBalancer will be better, but that also works)
2021-02-09 09:43:55 +02:00
LazyDBA247-Anyvision
5581d08702
K8S mysql connection pool
...
set max lifetime to 10 minutes, keeping connection "fresh"
and eliminating mysql/memsql closing old connection (causing filer errors)
2021-01-14 09:48:12 +02:00
LazyDBA247-Anyvision
8eed763b97
better mysql connection pool management
...
adding SetConnMaxLifetime configuration (https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime )
to enable refresh of connections.
2021-01-14 08:14:21 +02:00
LazyDBA247-Anyvision
95982e0856
correct master service
...
should have also:
publishNotReadyAddresses: true
2021-01-13 22:27:27 +02:00
LazyDBA247-Anyvision
d595b35ca7
filer peers & client service
...
in order to start several filers with peers setting, they need to be discoverable by dns name, we need a service with
- tolerate-unready-endpoints: "true"
- publishNotReadyAddresses: true
so the filer will start and "See" each other...
added "client" service which expose only ready and line filer
changed s3 config to use the new service
2021-01-13 22:26:50 +02:00
LazyDBA247-Anyvision
c1ed647daf
increase timeout
...
reduce unwanted k8s pod restarts on slow response
2021-01-13 22:23:44 +02:00
LazyDBA247-Anyvision
e57e6d6677
s3 logs
...
set logs to hostpath same as other pods
2021-01-13 22:18:24 +02:00
LazyDBA247-Anyvision
9ca1787e7e
s3 allowEmptyFolder
...
enable setting allowEmptyFolder for s3 server
2021-01-13 22:17:34 +02:00
LazyDBA247-Anyvision
5e62f77681
dir.idx volume config
...
enable setting dir.idx for volume server
2021-01-13 22:16:39 +02:00
LazyDBA247-Anyvision
cfc2033bf8
shell.toml
...
enable running shell from each pod with default
filer & master config
2021-01-13 22:15:47 +02:00
LazyDBA247-Anyvision
8491fbf1c7
fix cronjob reschedule
...
avoid errors of "more than 100 jobs skipped/failed"
and stopping of job by k8s
2021-01-13 22:13:07 +02:00
LazyDBA247-Anyvision
8b55331247
appVersion
...
start publishing and using appVersion as the image tag,
so its clear that the appVersion of the chart and containers are the same.
2021-01-13 22:11:50 +02:00
LazyDBA247-Anyvision
a37f069296
fix Argument Name, and use the correct one.
2020-12-17 19:41:33 +02:00
LazyDBA247-Anyvision
2ac31da89e
support build branches other than master
2020-12-15 14:07:13 +02:00
LazyDBA247-Anyvision
e7e3d8df7c
fix reading the correct Values.yaml for s3 metricsPort
2020-11-08 02:07:47 +02:00
LazyDBA247-Anyvision
de277418bf
remove extra curly brace
...
helm read/need only 2
2020-11-08 02:07:16 +02:00
LazyDBA247-Anyvision
5779265992
naming typo fix
2020-11-07 18:00:59 +02:00
LazyDBA247-Anyvision
e92780b91e
grafana dashboard - use Helm Files.Get
...
easier to use "original" json without escaping and tabs
updated json to latest from:
https://raw.githubusercontent.com/chrislusf/seaweedfs/master/other/metrics/grafana_seaweedfs.json
2020-11-07 17:40:59 +02:00
LazyDBA247-Anyvision
56a0e1c54f
remove anyvision specific schema builder pod config
2020-09-10 09:29:00 +03:00
LazyDBA247-Anyvision
31fb2de957
fix grafana dashboard header
2020-09-10 09:28:21 +03:00
LazyDBA247-Anyvision
138e5918fb
update and add options to the master statefulset & master cmd
...
support "global" setting for replication, effecting filer&master from "global" in values.yaml
2020-09-10 09:27:51 +03:00
LazyDBA247-Anyvision
2bed15f1dc
update and add options to the filer statefulset & filer cmd
2020-09-10 09:26:12 +03:00
LazyDBA247-Anyvision
e73f0d4e81
change default livens & readiness probe timings to allow less pod restarts on large
...
clusters
2020-09-10 09:24:08 +03:00
LazyDBA247-Anyvision
229eeb8301
add more volume parameters and values in values.yaml & in sts of volume server
2020-09-10 09:21:09 +03:00
LazyDBA247-Anyvision
1d6c443b17
add podManagementPolicy to start all volume server in parallel
...
fix indent & remove spaces
2020-09-10 09:19:49 +03:00
LazyDBA247-Anyvision
0e22ed44d7
FILER: pass & db
...
fix revert from white labeling
2020-03-03 10:43:45 +02:00
LazyDBA247-Anyvision
0db304ed1c
FILER/S3: filer Dir Buckets
...
updated config, to the new 1.58
2020-03-03 10:13:57 +02:00
LazyDBA247-Anyvision
b058867852
SEAWEEDFS-K8S: helm chart
...
seaweedfs on k8s deployment through helm chart & stateful sets
2020-03-03 09:56:39 +02:00
LazyDBA247-Anyvision
4ff513d64d
staus route: add DiskStatuses for disk in the volume server status
...
whem monitoring server, better to know the status of the disks & volumes in a single route.
2020-02-23 23:27:09 +02:00
LazyDBA247-Anyvision
ab91dbe1d7
fillInDiskStatus: update function to calculate new stats
2020-02-23 23:25:56 +02:00
LazyDBA247-Anyvision
ec8619176a
volume server protobuf: add precentFree & percentUsage to the DiskStatus
2020-02-23 23:24:24 +02:00