etcdadm-bootstrap-provider

command module
v1.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

Bootstrap provider for creating an etcd cluster using etcdadm

Using this with CAPI+CAPD:

  1. There are some changes required within CAPI and CAPD for the provisioning of external etcd clusters to work. Checkout this fork+branch locally:
https://github.com/mrajashree/cluster-api/tree/etcdadm_bootstrap
  1. Modify cluster-api/tilt-settings.json to add this provider:
{
  "default_registry": "",
  "provider_repos": ["../../mrajashree/etcdadm-bootstrap-provider"],
  "enable_providers": ["core","docker", "kubeadm-bootstrap", "kubeadm-control-plane", "etcdadm-bootstrap"],
  "kustomize_substitutions": {
    "ETCDADM_BOOTSTRAP_IMAGE": "mrajashree/etcdadm-bootstrap-provider:latest"
  }
}

  1. This provider has a tilt-provider.json that will be used by CAPI
  2. Create a Kind cluster, and run tilt up

Using this with CAPI+CAPA

  1. There are some security group changes required for CAPA, I made them based off of the PR that adds v1alpha4 to CAPA. Checkout the changes locally from this fork+branch:
https://github.com/mrajashree/cluster-api-provider-aws/tree/etcadm
  1. Modify cluster-api/tilt-settings.json to add this provider:
{
  "default_registry": "",
  "provider_repos": ["../cluster-api-provider-aws"],
  "enable_providers": ["core","docker", "aws", "kubeadm-bootstrap", "kubeadm-control-plane", "etcdadm-bootstrap"],
  "kustomize_substitutions": {
    "AWS_B64ENCODED_CREDENTIALS": "...",
    "ETCDADM_BOOTSTRAP_IMAGE": "mrajashree/etcdadm-bootstrap-provider:latest"
  }
}
  1. Create a Kind cluster, and run tilt up

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL