Skip to content

suggestions for the cluster-spec repository #2

Open
@bxy4543

Description

@bxy4543

suggestions for the cluster-spec repository

  1. 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.
  2. I found that the cluster spec structure is too simple, we need to optimize it to meet more scenarios.
  3. 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.
  4. 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_
  5. Use the correct GroupVersion:
    The group is cluster.sealer.cool in the [definition](
    GroupVersion = schema.GroupVersion{Group: "cluster.sealer.cool", Version: "v2"}
    ) but sealer.cloud is used in the Clusterfile.
root@iZj6c5z9rk0weftpz32jeoZ:~# cat /root/.sealer/my-cluster/Clusterfile
apiVersion: sealer.cloud/v2
kind: Cluster

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions