- Only currently runs on Linux w/ Vagrant/Libvirt
- tilt
- kind
- checkout image builder to...
- checkout sandbox to...
- checkout cluster-api to ...
Currently the kubeadm config and workflow is centered around a single control plane node and any number of worker nodes. This requires additional workarounds when trying to bootstrap and manage clusters with an HA control plane. I believe there is a path forward that would help streamline the effort required to stand up a fully managed HA control plane including etcd.
- Etcd Config Changes
- Modify the local etcd config to have an additional parameter for exposing etcd ports or to expose the ports by default
- Add a attribute to override the exposed advertised ip, preferably by choosing an interface to use for detection
- Make API Server Load Balancer config more explicit instead of just overriding the api config
- Add new attribute to specify a load balancer, which will implicitly set the api config if not explicitly set
- Control Plane join/extend workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modprobe nbd | |
qemu-nbd --connect=/dev/nbd0 ./focal-server-cloudimg-amd64.img | |
partprobe /dev/nbd0 | |
mkdir /mnt/image | |
mount /dev/nbd0p1 /mnt/image | |
cd /mnt/image | |
mount -t proc /proc proc/ | |
mount --rbind /sys sys/ | |
mount --rbind /dev dev/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
dhcp net0 | |
kernel http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.6/4.6.1/rhcos-live-kernel-x86_64 console=ttyS1,115200n8 coreos.live.rootfs_url=http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.6/4.6.1/rhcos-live-rootfs.x86_64.img coreos.inst.install_dev=/dev/sda rd.net.timeout.carrier=30 coreos.inst.platform_id=packet coreos.inst.persistent-kargs="console=ttyS1,115200n8" | |
initrd http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.6/4.6.1/rhcos-live-initramfs.x86_64.img | |
boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker images | grep v0.3.5 | |
gcr.io/k8s-staging-cluster-api-aws/cluster-api-aws-controller v0.3.5 ac2f43f6c00b 49 years ago 68.1MB | |
detiberyeti~$ docker tag ac2f43f6c00b gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller:v0.3.5 | |
detiberyeti~$ docker push gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller:v0.3.5 | |
The push refers to repository [gcr.io/k8s-staging-cluster-api/cluster-api-aws-controller] | |
813b69fcb0db: Pushed | |
87c747af6dc3: Layer already exists | |
44873b569cf3: Mounted from k8s-staging-cluster-api-aws/cluster-api-aws-controller |
detiberyeti~gosrck8s.iokubernetes⚓ c27b913fdd$ make clean
+++ [0319 13:32:05] Verifying Prerequisites....
+++ [0319 13:32:05] Removing _output directory
Removing pkg/generated/openapi/zz_generated.openapi.go ..
Removing test/e2e/generated/bindata.go ..
detiberyeti~gosrck8s.iokubernetes⚓ c27b913fdd$ time make all && time make all
+++ [0319 13:32:23] Building go targets for linux/amd64:
./vendor/k8s.io/code-generator/cmd/deepcopy-gen
+++ [0319 13:32:34] Building go targets for linux/amd64:
NewerOlder