Skip to content

Releases: clusterpedia-io/clusterpedia

Clusterpedia v0.6.0-beta.0

08 Dec 08:07
b1c2359
Compare
Choose a tag to compare
Pre-release

Notable Changes since v0.5.0

APIServer

  • When processing a resource request, we first check if the cluster exists (#431, @lengrongfu)
$ CLUSTERPEDIA_URL="http://127.0.0.1:8080/apis/clusterpedia.io/v1beta1/resources"
$ FAKE_CLUSTER="unknown"
$ curl $CLUSTERPEDIA_URL/clusters/$FAKE_CLUSTER/apis/apps/v1/deployments
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "not found requested cluster",
  "reason": "BadRequest",
  "code": 400
}

ClusterSynchro Manager

  • Use standalone tcp for health checker (#459, @Iceber)

The request of the cluster health check using the same TCP connection as the resource synchronized informer,
which may cause TCP blocking and increased health check latency if a large number of informers are started for the first time.

We add a feature gate - HealthCheckerWithStandaloneTCP to allow users to use a standalone tcp for health checks.

./clustersynchro-manager --feature-gates=HealthCheckerWithStandaloneTCP=true

Previously we set the number of workers used to reconcile PediaClusters to 1,
but now we allow the number of workers to be specified by --worker-number flag, which defaults to 5

./clustersynchro-manager --worker-number=5
  • The dynamic discovery manager starts and stops based on cluster status (#456, @Iceber)

  • The interval between health checks does not include the execution time (#440, @cleverhu)

  • Resolve Cluster Healthy Condition Message isn't empty (#347, @qiuming520)

Storage

  • Support for using go plugin to register storage layer plugins (#436, @Iceber)
  • Set the verbs of the resource according to the verbs supported by the storage layer (#451, @Iceber)

MemoryStorage

InternalStorage

Other

Dependencies

Clusterpedia v0.6.0-alpha.2

07 Dec 07:11
cda43af
Compare
Choose a tag to compare
Pre-release
Merge pull request #468 from Iceber/bump_alpine_image

bump alpine image from 3.14 to 3.16.3

Clusterpedia v0.5.2

24 Nov 01:55
f62507d
Compare
Choose a tag to compare

Notable Changes since v0.5.1

InternalStorage

Bug Fix

Clusterpedia v0.6.0-alpha.1

17 Nov 11:35
b4d768a
Compare
Choose a tag to compare
Pre-release
Merge pull request #461 from cleverhu/add-retry-for-bad-conn

internalstorage: add recoverable err

Clusterpedia v0.6.0-alpha.0

16 Nov 10:43
5cdd2e5
Compare
Choose a tag to compare
Pre-release
Merge pull request #456 from Iceber/discovery_manager

The dynamic discovery manager starts and stops based on cluster status

Clusterpedia v0.5.1

30 Sep 06:40
fb84406
Compare
Choose a tag to compare

Notable Changes since v0.5.0

InternalStorage

Bug Fix

  • Fix notin and != operators in JSONBuilder (#404, @Iceber)

Helm Charts

helm install clusterpedia . --set "apiserver.enableSHA1Cert=true"
  • Support create database to external storage (#400, @RuliXu)
    --set externalStorage.createDatabase=true will render an init container for creating the database into the core component deployments.
# external-storage-values.yaml
installCRDs: true

storageInstallMode: "external"
persistenceMatchNode: "None"
postgresql:
  enabled: false
externalStorage:
  type: "postgres"
  host: "10.6.173.102"
  port: "32556"
  user: "postgres"
  password: "dangerous0"
  database: "test"

  createDatabase: true

Contributor

Thanks everyone who contributed to this release!

The following users (sort alphabetically) are those who committed much in this release. Thank you!

Clusterpedia v0.5.0

14 Sep 04:34
0d8d972
Compare
Choose a tag to compare

Notable Changes since v0.4.1

ClusterSynchro Manager

Bug Fix

  • Fix the synchronization of APIServices resources (#335, @cleverhu)

Controller Manager

  • Add source.selectorTemplate field for ClusterImportPolicy (#319, @Iceber)
apiVersion: policy.clusterpedia.io/v1alpha1
kind: ClusterImportPolicy
spec:
  source:
    group: ""
    resource: secrets
    selectorTemplate: |
      {{ if eq .source.metadata.namespace "default" }} true {{ end }}

Others

Contributor

Thanks everyone who contributed to this release!

The following users (sort alphabetically) are those who committed much in this release. Thank you!

Clusterpedia v0.5.0-beta.0

06 Sep 05:53
ff15c02
Compare
Choose a tag to compare
Pre-release

Notable Changes since v0.4.1

ClusterSynchro Manager

Bug Fix

  • Fix the synchronization of APIServices resources (#335, @cleverhu)

Controller Manager

  • Add source.selectorTemplate field for ClusterImportPolicy (#319, @Iceber)
apiVersion: policy.clusterpedia.io/v1alpha1
kind: ClusterImportPolicy
spec:
  source:
    group: ""
    resource: secrets
    selectorTemplate: |
      {{ if eq .source.metadata.namespace "default" }} true {{ end }}

Others

Contributor

Thanks everyone who contributed to this release!

The following users (sort alphabetically) are those who committed much in this release. Thank you!

v0.4.1

04 Aug 05:41
d1652e8
Compare
Choose a tag to compare

Changes since v0.4.0

Primarily fixed pediaclusterlifecycle controller bugs and made some optimizations to clustersynchro manager

ClusterSynchro Manager

  • Optimize the conditions of the pediacluster status (#284, @Iceber)

The printer columns of the pediacluster is updated, please update the PediaCluster CRD

$ kubectl get pediacluster
NAME                READY   VERSION   APISERVER
cluster-example     True    v1.22.2   https://10.6.100.10:6443

$ kubectl get pediacluster -o wide
NAME                READY   VERSION   APISERVER                   VALIDATED       SYNCHRORUNNING   CLUSTERHEALTHY
cluster-example     True    v1.22.2   https://10.6.100.10:6443    Validated       Running          Healthy
  • Retry to reconcile pediaclusters based on RetryableError (#283, @Iceber)

Controller Manager

Bug Fix

  • Fix set dependent resources of the pediacluster lifecycle (#287, @Iceber)

Contributor

Thanks everyone who contributed to this release!

The following users (sort alphabetically) are those who committed much in this release. Thank you!

v0.4.0

20 Jul 13:55
fbf0f4f
Compare
Choose a tag to compare

Notable Changes since v0.3.0

APIServer

  • Optimized the response message when getting a specific resource using the resource name without setting the cluster name in url path (#208, @wuyingjun-lucky)
  • The Any CollectionResource has been added, which supports users to combine resource types at will to retrieve, Lean More (#266, @Iceber)
  • The Collection Resource supports withRemainingCount and withContinue, Lean More (#267, @Iceber)

Bug Fix

ClusterSynchro Manager

Bug Fix

  • Fix duplicate log flags in the clustersynchro-manager cmd (#246, @ONE7live)

Controller Manager

The Controller Manager component has been added, include ClusterImportPolicy Controller and PediaClusterLifecycle Controller

  • New custom resources ClusterImportPolicy and PediaClusterLifecycle to support automatic conversion of other resources to PediaCluster, Lean More (#259, @Iceber)

Default Storage Layer

  • When only fetching the resource metadata, only the metadata will be selected from the database (#227, @Iceber)

Contributor

Thanks everyone who contributed to this release!

The following users (sort alphabetically) are those who committed much in this release. Thank you!