mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Finalize base configuration
Update control plane and worker manifests Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
parent
0989c1d590
commit
36fd192530
2 changed files with 95 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ kind: AWSMachine
|
|||
metadata:
|
||||
name: capi-quickstart-controlplane-0
|
||||
spec:
|
||||
instanceType: t3.large
|
||||
instanceType: m5.large
|
||||
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io"
|
||||
sshKeyName: default
|
||||
---
|
||||
|
|
@ -44,3 +44,95 @@ spec:
|
|||
controllerManager:
|
||||
extraArgs:
|
||||
cloud-provider: aws
|
||||
---
|
||||
apiVersion: cluster.x-k8s.io/v1alpha2
|
||||
kind: Machine
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-1
|
||||
labels:
|
||||
cluster.x-k8s.io/control-plane: "true"
|
||||
cluster.x-k8s.io/cluster-name: "capi-quickstart"
|
||||
spec:
|
||||
version: v1.15.3
|
||||
bootstrap:
|
||||
configRef:
|
||||
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
|
||||
kind: KubeadmConfig
|
||||
name: capi-quickstart-controlplane-1
|
||||
infrastructureRef:
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
|
||||
kind: AWSMachine
|
||||
name: capi-quickstart-controlplane-1
|
||||
---
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
|
||||
kind: AWSMachine
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-1
|
||||
spec:
|
||||
instanceType: m5.large
|
||||
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io"
|
||||
sshKeyName: default
|
||||
---
|
||||
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
|
||||
kind: KubeadmConfig
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-1
|
||||
spec:
|
||||
initConfiguration:
|
||||
nodeRegistration:
|
||||
name: '{{ ds.meta_data.hostname }}'
|
||||
kubeletExtraArgs:
|
||||
cloud-provider: aws
|
||||
clusterConfiguration:
|
||||
apiServer:
|
||||
extraArgs:
|
||||
cloud-provider: aws
|
||||
controllerManager:
|
||||
extraArgs:
|
||||
cloud-provider: aws
|
||||
---
|
||||
apiVersion: cluster.x-k8s.io/v1alpha2
|
||||
kind: Machine
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-2
|
||||
labels:
|
||||
cluster.x-k8s.io/control-plane: "true"
|
||||
cluster.x-k8s.io/cluster-name: "capi-quickstart"
|
||||
spec:
|
||||
version: v1.15.3
|
||||
bootstrap:
|
||||
configRef:
|
||||
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
|
||||
kind: KubeadmConfig
|
||||
name: capi-quickstart-controlplane-2
|
||||
infrastructureRef:
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
|
||||
kind: AWSMachine
|
||||
name: capi-quickstart-controlplane-2
|
||||
---
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
|
||||
kind: AWSMachine
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-2
|
||||
spec:
|
||||
instanceType: m5.large
|
||||
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io"
|
||||
sshKeyName: default
|
||||
---
|
||||
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
|
||||
kind: KubeadmConfig
|
||||
metadata:
|
||||
name: capi-quickstart-controlplane-2
|
||||
spec:
|
||||
initConfiguration:
|
||||
nodeRegistration:
|
||||
name: '{{ ds.meta_data.hostname }}'
|
||||
kubeletExtraArgs:
|
||||
cloud-provider: aws
|
||||
clusterConfiguration:
|
||||
apiServer:
|
||||
extraArgs:
|
||||
cloud-provider: aws
|
||||
controllerManager:
|
||||
extraArgs:
|
||||
cloud-provider: aws
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
cluster.x-k8s.io/cluster-name: capi-quickstart
|
||||
nodepool: nodepool-0
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
cluster.x-k8s.io/cluster-name: capi-quickstart
|
||||
|
|
@ -35,7 +35,7 @@ metadata:
|
|||
spec:
|
||||
template:
|
||||
spec:
|
||||
instanceType: t3.large
|
||||
instanceType: m5.large
|
||||
iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io"
|
||||
sshKeyName: default
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue