argo-cd/controller
Ishita Sequeira cb25382658
feat: dynamic rebalancing of clusters across shards (#15036)
* Migrate Application Controller from Statefulset to Deployment

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add sharding deployment logic

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Update sharding logic and add comments

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add heartbeat as an environment variable

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add retry logic, heartbeat timeout environment variable

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* use the logic of pre-specified shard number on application controller pod

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* fix manifests

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* fix lint and e2e tests

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* comment out failing e2e test

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* increase readiness probe interval period

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* "comment out readiness probe to see if e2e tests succeed"

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* revert commented readiness probe

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* revert commented test case

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* read environment variable for application controller deployment name

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add nil check on replica count for deployment of application controller

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Address comments

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add Informer, Update documentation, add unit tests

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* update godoc

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* remove unwanted code and logs

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add more documentation

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* revert ApplicationController manifest to StatefulSet

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* reverting updated docs

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add documentation for the new dynamic distribution feature

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* update documentation

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add an overlay for application controller deployment and update documentation

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* fix nit

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Marking the feature as alpha

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* Add feature status link

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* revert go,mod changes

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

* update docs to avoid focusing on StatefulSet/Deployment (#26)

* update docs to avoid focusing on StatefulSet/Deployment

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* minor update to the doc

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>

---------

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-09-22 19:49:09 +00:00
..
cache feat: Add ARGOCD_CLUSTER_CACHE_LIST_PAGE_BUFFER_SIZE environment variable (#15159) 2023-09-06 22:01:35 -04:00
metrics feat: dynamic rebalancing of clusters across shards (#15036) 2023-09-22 19:49:09 +00:00
sharding feat: dynamic rebalancing of clusters across shards (#15036) 2023-09-22 19:49:09 +00:00
testdata feat: new sync option to use ignore diff configs during sync (#8078) 2022-01-13 13:00:17 -08:00
appcontroller.go feat: dynamic rebalancing of clusters across shards (#15036) 2023-09-22 19:49:09 +00:00
appcontroller_test.go feat: added patch_ms and setop_ms timings to reconciliation logs (#15595) 2023-09-20 22:18:38 -07:00
clusterinfoupdater.go feat: add timeout for update cluster info (#14511) 2023-08-16 22:15:05 -04:00
clusterinfoupdater_test.go feat: add timeout for update cluster info (#14511) 2023-08-16 22:15:05 -04:00
health.go fix: produce better logs for health check errors (#12350) 2023-02-24 10:24:06 -05:00
health_test.go chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#13292) 2023-05-04 18:06:56 -04:00
OWNERS docs: document Argo CD development process (#6546) 2021-07-01 08:55:07 -07:00
sort_delete.go feat: delete in reverse order of sync waves (#3959) 2020-07-21 09:52:59 +02:00
sort_delete_test.go feat: delete in reverse order of sync waves (#3959) 2020-07-21 09:52:59 +02:00
state.go fix(controller): make managed namespaces more 'prune-proof' (#13999) 2023-09-13 11:45:06 -04:00
state_test.go fix(controller): make managed namespaces more 'prune-proof' (#13999) 2023-09-13 11:45:06 -04:00
sync.go fix: update managed namespace metadata (#13074) 2023-05-19 09:55:08 -04:00
sync_namespace.go fix: do not mutate live when managed namespace enabled (#11197) 2022-11-08 16:06:05 -05:00
sync_namespace_test.go fix: do not mutate live when managed namespace enabled (#11197) 2022-11-08 16:06:05 -05:00
sync_test.go chore: use t.Setenv to set env vars in tests (#14377) 2023-07-06 19:50:08 -04:00