14e01c9b70
This patch set includes the manifest templates for the Workload cluster deployment for CAPZ v0.4.9. Also, added the new folder manifest/function/workers-capz and moved the manifests for v0.4.8 under it, as well as for v0.4.9 Change-Id: Ie08b6e7092f90ac8ee533c574a26eaf9b6600c5c
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
---
|
|
apiVersion: cluster.x-k8s.io/v1alpha3
|
|
kind: MachineDeployment
|
|
metadata:
|
|
name: target-cluster-md-0
|
|
namespace: default
|
|
spec:
|
|
clusterName: target-cluster
|
|
replicas: 3
|
|
selector:
|
|
matchLabels: null
|
|
template:
|
|
spec:
|
|
bootstrap:
|
|
configRef:
|
|
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
|
|
kind: KubeadmConfigTemplate
|
|
name: target-cluster-md-0
|
|
clusterName: target-cluster
|
|
infrastructureRef:
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
kind: AzureMachineTemplate
|
|
name: target-cluster-md-0
|
|
version: v1.18.10
|
|
---
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
kind: AzureMachineTemplate
|
|
metadata:
|
|
name: target-cluster-md-0
|
|
namespace: default
|
|
spec:
|
|
template:
|
|
spec:
|
|
location: eastus
|
|
osDisk:
|
|
diskSizeGB: 128
|
|
managedDisk:
|
|
storageAccountType: Premium_LRS
|
|
osType: Linux
|
|
sshPublicKey: ""
|
|
vmSize: Standard_D2s_v3
|
|
---
|
|
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
|
|
kind: KubeadmConfigTemplate
|
|
metadata:
|
|
name: target-cluster-md-0
|
|
namespace: default
|
|
spec:
|
|
template:
|
|
spec:
|
|
files:
|
|
- contentFrom:
|
|
secret:
|
|
key: worker-node-azure.json
|
|
name: target-cluster-md-0-azure-json
|
|
owner: root:root
|
|
path: /etc/kubernetes/azure.json
|
|
permissions: "0644"
|
|
joinConfiguration:
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
cloud-config: /etc/kubernetes/azure.json
|
|
cloud-provider: azure
|
|
name: '{{ ds.meta_data["local_hostname"] }}'
|
|
useExperimentalRetryJoin: true
|