Open
Description
suggestions for the cluster-spec repository
- The warehouse name is cluster-spec, but the warehouse contains not only the cluster spec structure, but also structures such as plugin, config, and cluster status.
- I found that the cluster spec structure is too simple, we need to optimize it to meet more scenarios.
- The cluster status structure should record the status of the cluster deployed by sealer, but I found that the status structure is empty, we should record all relevant status in the cluster status, such as config, plugin, and the base image of the cluster , application mirroring, etc.
- Our api version is not standardized, I found that there are v1, v1beta1, v2, in fact a correct version should be
v_alpine-=>v_beta-=>v_
- Use the correct GroupVersion:
The group iscluster.sealer.cool
in the [definition](cluster-spec/v2/groupversion_info.go
Line 29 in d9211fb
sealer.cloud
is used in the Clusterfile.
root@iZj6c5z9rk0weftpz32jeoZ:~# cat /root/.sealer/my-cluster/Clusterfile
apiVersion: sealer.cloud/v2
kind: Cluster
Metadata
Metadata
Assignees
Labels
No labels