Add m5.xlarge server class

This commit is contained in:
Khue Doan 2021-07-20 15:57:11 +07:00
parent 9f7633c2e7
commit 21c19e4cf5
No known key found for this signature in database
GPG Key ID: 4C1A90A461B3C27B
3 changed files with 17 additions and 30 deletions

View File

@ -27,7 +27,7 @@ metadata:
namespace: default
spec:
controlPlaneEndpoint:
host: 192.168.1.24
host: 192.168.1.110
port: 6443
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
@ -41,7 +41,7 @@ spec:
serverClassRef:
apiVersion: metal.sidero.dev/v1alpha1
kind: ServerClass
name: any
name: m5.xlarge
---
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
kind: TalosControlPlane
@ -81,7 +81,7 @@ metadata:
namespace: default
spec:
clusterName: management-plane
replicas: 0
replicas: 3
selector:
matchLabels: null
template:
@ -109,4 +109,4 @@ spec:
serverClassRef:
apiVersion: metal.sidero.dev/v1alpha1
kind: ServerClass
name: any
name: m5.xlarge

View File

@ -1,26 +0,0 @@
apiVersion: metal.sidero.dev/v1alpha1
kind: ServerClass
metadata:
name: nec
spec:
selector:
matchLabels:
common-label: "true"
matchExpressions:
- key: zone
operator: In
values:
- central
- east
- key: environment
operator: NotIn
values:
- prod
qualifiers:
cpu:
- manufacturer: "Intel(R) Corporation"
version: "Intel(R) Atom(TM) CPU C3558 @ 2.20GHz"
- manufacturer: Advanced Micro Devices, Inc.
version: AMD Ryzen 7 2700X Eight-Core Processor
system:
manufacturer: Dell Inc.

View File

@ -0,0 +1,13 @@
apiVersion: metal.sidero.dev/v1alpha1
kind: ServerClass
metadata:
name: m5.xlarge
spec:
qualifiers:
cpu:
- manufacturer: Intel(R) Corporation
version: Intel(R) Core(TM) i5-6600T CPU @ 2.70GHz
configPatches:
- op: replace
path: /machine/install/disk
value: /dev/sda