Releases: clusterpedia-io/clusterpedia
Clusterpedia v0.6.0-beta.0
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
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
- Make synchromanager worker configurable (#465, @wlp1153468871)
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
- Add memory storage layer and binding-apiserver command (#345, #382, @duanmengkk, @wuyingjun-lucky, @hanweisen, @xyz2277, @qiuming520)
InternalStorage
- Support order by raw sql (#350, @cleverhu)
- Support for returning all resources if
groups=*
is given (#407, @27149chen) - Add
driver.ErrBadConn
to recoverable errors (#463, @cleverhu) - Fix
notin
and!=
operators in JSONBuilder (#404, @Iceber)
Other
- Sync clusterpedia-io/api by pipeline (#444, @rokkiter)
- Add clusterimportpolicy example for kubevela (#421, @muma378)
- Mark
status.version
of PediaCluster as optional field (#373, @kuangcheng66)
Dependencies
- Change kubernetes deps from k3s-io/kubernetes to k8s.io/kubernetes (#351, @Iceber)
- Bump kubernetes from v1.24 to v1.25.2 (#352, #403, @Iceber, @scydas)
- Bump sigs.k8s.io/controller-tools from 0.9.0 to 0.10.0 (#363,#399, @scydas)
- Bump sigs.k8s.io/controller-runtime from 0.12.1 to 0.13.1 (#390,#449, @scydas, @Icarus9913)
- Bump gorm.io/gorm from 1.23.8 to 1.24.0 (#391,#420, @scydas)
- Bump gorm.io/driver/mysql from 1.3.6 to 1.4.4 (#427,#457, @scydas)
- Bump gorm.io/driver/postgres from 1.3.9 to 1.4.5 (#377,#438, @scydas)
- Bump alpine image from 3.14 to 3.16.3 (#468, @Iceber)
Clusterpedia v0.6.0-alpha.2
Merge pull request #468 from Iceber/bump_alpine_image bump alpine image from 3.14 to 3.16.3
Clusterpedia v0.5.2
Clusterpedia v0.6.0-alpha.1
Merge pull request #461 from cleverhu/add-retry-for-bad-conn internalstorage: add recoverable err
Clusterpedia v0.6.0-alpha.0
Merge pull request #456 from Iceber/discovery_manager The dynamic discovery manager starts and stops based on cluster status
Clusterpedia v0.5.1
Notable Changes since v0.5.0
InternalStorage
Bug Fix
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
Notable Changes since v0.4.1
ClusterSynchro Manager
- Add apiserver to status for display (#328, @wuyingjun-lucky)
- Retry failed resource sync due to storage component exceptions (#336, @Iceber)
Bug Fix
Controller Manager
apiVersion: policy.clusterpedia.io/v1alpha1
kind: ClusterImportPolicy
spec:
source:
group: ""
resource: secrets
selectorTemplate: |
{{ if eq .source.metadata.namespace "default" }} true {{ end }}
Others
- Update golang version to v1.18 (#302, @tanryberdi)
- Friendly printing pediaclusterlifecycle and clusterimportlifecycle (#310, @qiuming520)
- Add chart lint workflow (#327, @calvin0327)
- Add chart to Artifact Hub (#318, #322, @RuliXu)
- Optimize e2e test failure and exit (#320, @wzshiming)
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
Notable Changes since v0.4.1
ClusterSynchro Manager
- Add apiserver to status for display (#328, @wuyingjun-lucky)
- Retry failed resource sync due to storage component exceptions (#336, @Iceber)
Bug Fix
Controller Manager
apiVersion: policy.clusterpedia.io/v1alpha1
kind: ClusterImportPolicy
spec:
source:
group: ""
resource: secrets
selectorTemplate: |
{{ if eq .source.metadata.namespace "default" }} true {{ end }}
Others
- Update golang version to v1.18 (#302, @tanryberdi)
- Friendly printing pediaclusterlifecycle and clusterimportlifecycle (#310, @qiuming520)
- Add chart lint workflow (#327, @calvin0327)
- Add chart to Artifact Hub (#318, #322, @RuliXu)
- Optimize e2e test failure and exit (#320, @wzshiming)
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
Changes since v0.4.0
Primarily fixed pediaclusterlifecycle controller bugs and made some optimizations to clustersynchro manager
ClusterSynchro Manager
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
Controller Manager
Bug Fix
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
Notable Changes since v0.3.0
- Added checking of database status for APIServer and ClusterSynchro Manager in helm (#199, @RuliXu)
- Removed unnecessary tolerance when deploying deployments (#201, @RuliXu)
- Bump kubernetes dependence to 1.24 (#204, @cleverhu)
- Added Karmada ClusterImportPolicy (#263, #271, @calvin0327)
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
andwithContinue
, Lean More (#267, @Iceber)
Bug Fix
- Fix the order of collection resources returned by
kubectl get collectionresources
(#203, @cleverhu) - Fix apiserver can't set logging flags (#249, #250, @ONE7live, @Iceber)
ClusterSynchro Manager
- Added custom resource
ClusterSyncResources
to provide public configuration of cluster sync resources, Lean More (#184, @RuliXu, @cleverhu)
Bug Fix
Controller Manager
The Controller Manager component has been added, include ClusterImportPolicy Controller and PediaClusterLifecycle Controller
- New custom resources
ClusterImportPolicy
andPediaClusterLifecycle
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!