From a311b22292b4192d4ba3ea267db88c7916661a2f Mon Sep 17 00:00:00 2001 From: sp-yduck Date: Wed, 6 Dec 2023 13:20:47 +0000 Subject: [PATCH] remove qcow2 type example --- README.md | 2 - .../metal3-ubuntu2204-k8s127.yaml | 57 ------------------- 2 files changed, 59 deletions(-) delete mode 100644 examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml diff --git a/README.md b/README.md index a24dcb9..6c562d4 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,6 @@ CAPPX relies on a few prerequisites which have to be already installed in the us To build your custom node image, you can use [kubernetes-sigs/image-builder](https://github.com/kubernetes-sigs/image-builder) project. -Also there are some available out-of-box images published other communities such as [Metal3](https://github.com/metal3-io). For example https://artifactory.nordix.org/ui/native/metal3/images/. Example MD can be found [metal3-ubuntu2204-k8s127.yaml](examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml). - If it isn't possible to pre-install those prerequisites in the image, you can always deploy and execute some custom scripts through the `ProxmoxMachine.spec.cloudInit` or `KubeadmConfig`. Example MD can be found [ubuntu2204.yaml](examples/machine_deployment/ubuntu2204.yaml). ## Compatibility diff --git a/examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml b/examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml deleted file mode 100644 index 3fb671a..0000000 --- a/examples/machine_deployment/metal3-ubuntu2204-k8s127.yaml +++ /dev/null @@ -1,57 +0,0 @@ -apiVersion: cluster.x-k8s.io/v1beta1 -kind: MachineDeployment -metadata: - name: ${CLUSTER_NAME}-md-2 - namespace: ${NAMESPACE} - labels: - cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}' -spec: - clusterName: ${CLUSTER_NAME} - replicas: ${WORKER_MACHINE_COUNT} - selector: - matchLabels: {} - template: - spec: - bootstrap: - configRef: - apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 - kind: KubeadmConfigTemplate - name: ${CLUSTER_NAME}-md-2 - clusterName: ${CLUSTER_NAME} - infrastructureRef: - apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 - kind: ProxmoxMachineTemplate - name: ${CLUSTER_NAME}-md-2 - version: v1.27.1 - ---- - -apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 -kind: KubeadmConfigTemplate -metadata: - name: ${CLUSTER_NAME}-md-2 - namespace: ${NAMESPACE} - labels: - cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}' -spec: - template: - spec: - joinConfiguration: - nodeRegistration: - kubeletExtraArgs: - cloud-provider: external - ---- - -apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 -kind: ProxmoxMachineTemplate -metadata: - name: ${CLUSTER_NAME}-md-2 - namespace: ${NAMESPACE} - labels: - cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}' -spec: - template: - spec: - image: - url: https://artifactory.nordix.org/artifactory/metal3/images/k8s_v1.27.1/UBUNTU_22.04_NODE_IMAGE_K8S_v1.27.1.qcow2 \ No newline at end of file