diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index cec3e840..3e9e29e2 100644 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -33,5 +33,6 @@ export CONTROL_PLANE_SERVERCLASS=any export WORKER_SERVERCLASS=any export KUBERNETES_VERSION=v1.20.1 export CONTROL_PLANE_PORT=6443 -export CONTROL_PLANE_ENDPOINT=1.2.3.4 +export CONTROL_PLANE_ENDPOINT=192.168.1.24 clusterctl config cluster management-plane -i sidero > management-plane.yaml +kubectl delete -f management-plane.yaml diff --git a/bootstrap/environment.yaml b/bootstrap/environment.yaml new file mode 100644 index 00000000..f35e0863 --- /dev/null +++ b/bootstrap/environment.yaml @@ -0,0 +1,26 @@ +apiVersion: metal.sidero.dev/v1alpha1 +kind: Environment +metadata: + name: default +spec: + initrd: + url: https://github.com/talos-systems/talos/releases/download/v0.10.3/initramfs-amd64.xz + kernel: + args: + - console=tty0 + - console=ttyS0 + - consoleblank=0 + - earlyprintk=ttyS0 + - ima_appraise=fix + - ima_hash=sha512 + - ima_template=ima-ng + - init_on_alloc=1 + - initrd=initramfs.xz + - nvme_core.io_timeout=4294967295 + - printk.devkmsg=on + - pti=on + - random.trust_cpu=on + - slab_nomerge= + - talos.config=http://192.168.1.19:8081/configdata?uuid= + - talos.platform=metal + url: https://github.com/talos-systems/talos/releases/download/v0.10.3/vmlinuz-amd64 diff --git a/bootstrap/management-plane.yaml b/bootstrap/management-plane.yaml index cda13c2a..d5dec691 100644 --- a/bootstrap/management-plane.yaml +++ b/bootstrap/management-plane.yaml @@ -27,7 +27,7 @@ metadata: namespace: default spec: controlPlaneEndpoint: - host: 1.2.3.4 + host: 192.168.1.24 port: 6443 --- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 diff --git a/bootstrap/server.yaml b/bootstrap/server.yaml index b2436f0d..22be7b74 100644 --- a/bootstrap/server.yaml +++ b/bootstrap/server.yaml @@ -4,8 +4,6 @@ metadata: finalizers: - storage.finalizers.server.k8s.io name: d7a60000-720c-7a4c-81d5-1db10300eae2 - resourceVersion: "2263" - uid: 9dd66e1f-c1c4-4c99-98a7-2b50d675d362 spec: accepted: true configPatches: @@ -15,7 +13,7 @@ spec: cpu: manufacturer: Intel(R) Corporation version: Intel(R) Core(TM) i5-6600T CPU @ 2.70GHz - hostname: 192.168.1.4 + hostname: 192.168.1.24 system: family: MATE manufacturer: NEC