Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bootstraping ClusterFactory-CE #3

Open
Darkness4 opened this issue Jun 24, 2022 · 0 comments
Open

Implement bootstraping ClusterFactory-CE #3

Darkness4 opened this issue Jun 24, 2022 · 0 comments

Comments

@Darkness4
Copy link

Darkness4 commented Jun 24, 2022

Specifications

  1. Setting up a repository for GitOps
    1. Ask for a token with repo permissions
    2. Ask if a public or private fork
      • Public fork: fork ClusterFactory-CE
      • Private fork: Create a fork using the bare clone technique
    3. Setup the private fork for updating
    4. Checkout to a stable version and create a branch
    5. Rename the examples directory and commit
    6. Indicate a tutorial about upstream updating
  2. K0s configuration
    1. Add the first node
      1. Ask for ssh configuration (user, port, address, pk path)
      2. Ask for role
      3. Ask for private interface and private address
      4. Ask for labels, recommends about labeling per zone even if single node.
    2. Ask for review by opening the EDITOR. The cfctl.yamlfile must contains comments about every options.
    3. Generate the final k0s configuration by stripping all comments when the EDITOR is closed.
    4. Add helm extensions:
      1. Configure Traefik
        1. Ask about the Load Balancer IP, show some recommendation and about which one to choose (internal or external)
        2. Reopen the editor and look for the ports
    5. Show a warning and ask for a Review (use git diff), commit and deploy k0s
  3. Core deployments
    1. MetalLB
      1. Ask for multi-zone or single zone
        • Multi-zone: Autoconfigure IPAddressPool, Ask for router BGP configuration
        • Single-zone: Autoconfigure IPAddressPool and ARP
    2. CoreDNS
      1. Ask for a domain name (example.com)
      2. Generate a coredns configuration with argocd.example.com and traefik.example.com. Genetrate Traefik routes and ArgoCD routes too.
    3. cert-manager
      1. Warn about cert-manager and about how to edit cert-manager directory
      2. Generate a CA
    4. Show a warning and ask for a Review (use git diff), commit, and deploy using script
@Darkness4 Darkness4 changed the title Implement bootstraping ClusterFactory-CD Implement bootstraping ClusterFactory-CE Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant