airshipctl/manifests/function/workers-capm3/machinedeployment.yaml
diwakar thyagaraj a384b4e46d Upgrade Kubernetes from 1.19.14 to 1.21.2
This upgrades Kubernetes version in airshipctl to v1.21.2

Depends on https://review.opendev.org/c/airship/image-builder/+/812013/

https: //github.com/airshipit/airshipctl/issues/589
Change-Id: I30ef2543d91f574e73a555bf67ab7ec2764a4411
Signed-off-by: diwakar thyagaraj <dt241s@att.com>
2021-11-01 08:17:32 +00:00

30 lines
747 B
YAML

apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
metadata:
name: worker-1
labels:
cluster.x-k8s.io/cluster-name: target-cluster
spec:
clusterName: target-cluster
replicas: 1
selector:
matchLabels:
cluster.x-k8s.io/cluster-name: target-cluster
template:
metadata:
labels:
cluster.x-k8s.io/cluster-name: target-cluster
spec:
clusterName: target-cluster
version: v1.21.2
bootstrap:
configRef:
name: worker-1
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha4
kind: KubeadmConfigTemplate
infrastructureRef:
name: worker-1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4
kind: Metal3MachineTemplate
---