Skip to content

As a user, I want more explicit commands in order to make iknite use simpler #159

Description

@antoinemartin

Here is the envisionned commands:

  • init: Creation of the configuration file.
  • prepare: Download the related images (this would need to be able to store them in containerd format).
  • configure: Configure the local vm (or better config).
  • start: start the cluster.
  • kustomize: Perform the cluster kustomization.
  • stop: stop the cluster.
  • status: status of the cluster (already existing).
  • reset: reset the cluster.
  • destroy: destroy the cluster. In particular, clear the etcd data and delete the cluster's PKI.

In particular, currently the service starts with the init command and it should be the start command. The current configure command needs to become the kustomize command.

Maybe the prepare command should make the appropriate vm configuration, that is:

  • Make sure the needed kernel modules are loaded.
  • Check that the API server ip address is bound to the main interface.
  • Check that the cluster domain name is properly mapped to the ip address.
  • Prevent the kubelet from starting as an OpenRC service.
  • Ensure that Iknite is started by OpenRC.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Prevent from working as expected with no workaroudenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions