Skip to content

Commit

Permalink
migrate to new instances (#118)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal authored Jun 24, 2024
1 parent 3c9ab4d commit b0100b6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions e2e/configs/full.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: k8s
serverComponents:
ubuntu:
version: ubuntu-22.04
version: ubuntu-24.04
username: hcloud-user
architecture: x86
kubernetes:
Expand All @@ -20,7 +20,7 @@ datacenter: fsn1-dc14
masterServers:
namepattern: master-%d
placementgroupname: master-placement-group
servertype: cx21
servertype: cx22
labels:
role: master
waittimeinretry: 3s
Expand Down Expand Up @@ -50,73 +50,73 @@ preStartScript: ""
postStartScript: ""
cluster-autoscaler:
autoscalingGroups:
- name: CX21:FSN1:cx21-fsn1
- name: CX22:FSN1:cx22-fsn1
minSize: 0
maxSize: 20
- name: CPX21:FSN1:cpx21-fsn1
minSize: 0
maxSize: 20
- name: CX31:FSN1:cx31-fsn1
- name: CX32:FSN1:cx32-fsn1
minSize: 0
maxSize: 20
- name: CPX31:FSN1:cpx31-fsn1
minSize: 0
maxSize: 20
- name: CX41:FSN1:cx41-fsn1
- name: CX42:FSN1:cx42-fsn1
minSize: 0
maxSize: 20
- name: CPX41:FSN1:cpx41-fsn1
minSize: 0
maxSize: 20
- name: CX51:FSN1:cx51-fsn1
- name: CX52:FSN1:cx52-fsn1
minSize: 0
maxSize: 20
- name: CPX51:FSN1:cpx51-fsn1
minSize: 0
maxSize: 20
- name: CX21:NBG1:cx21-nbg1
- name: CX22:NBG1:cx22-nbg1
minSize: 0
maxSize: 20
- name: CPX21:NBG1:cpx21-nbg1
minSize: 0
maxSize: 20
- name: CX31:NBG1:cx31-nbg1
- name: CX32:NBG1:cx32-nbg1
minSize: 0
maxSize: 20
- name: CPX31:NBG1:cpx31-nbg1
minSize: 0
maxSize: 20
- name: CX41:NBG1:cx41-nbg1
- name: CX42:NBG1:cx42-nbg1
minSize: 0
maxSize: 20
- name: CPX41:NBG1:cpx41-nbg1
minSize: 0
maxSize: 20
- name: CX51:NBG1:cx51-nbg1
- name: CX52:NBG1:cx52-nbg1
minSize: 0
maxSize: 20
- name: CPX51:NBG1:cpx51-nbg1
minSize: 0
maxSize: 20
- name: CX21:HEL1:cx21-hel1
- name: CX22:HEL1:cx22-hel1
minSize: 0
maxSize: 20
- name: CPX21:HEL1:cpx21-hel1
minSize: 0
maxSize: 20
- name: CX31:HEL1:cx31-hel1
- name: CX32:HEL1:cx32-hel1
minSize: 0
maxSize: 20
- name: CPX31:HEL1:cpx31-hel1
minSize: 0
maxSize: 20
- name: CX41:HEL1:cx41-hel1
- name: CX42:HEL1:cx42-hel1
minSize: 0
maxSize: 20
- name: CPX41:HEL1:cpx41-hel1
minSize: 0
maxSize: 20
- name: CX51:HEL1:cx51-hel1
- name: CX52:HEL1:cx52-hel1
minSize: 0
maxSize: 20
- name: CPX51:HEL1:cpx51-hel1
Expand Down
2 changes: 1 addition & 1 deletion examples/charts/test/templates/test-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
spec:
nodeSelector:
topology.kubernetes.io/region: {{ $location }}
node.kubernetes.io/instance-type: cx21
node.kubernetes.io/instance-type: cx22
volumes:
- name: my-csi-volume
persistentVolumeClaim:
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func defaultConfig() Type {
MasterServers: masterServers{
NamePattern: "master-%d",
PlacementGroupName: "master-placement-group",
ServerType: "cx21",
ServerType: "cx22",
Labels: serverLabels,
WaitTimeInRetry: waitTimeInRetry,
RetryTimeLimit: retryTimeLimit,
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
secretString = "<secret>"
defaultLocation = hcloudLocationEUFalkenstein
defaultDatacenter = hcloudLocationEUFalkenstein + "-dc14"
defaultAutoscalerInstances = "cx21,cpx21,cx31,cpx31,cx41,cpx41,cx51,cpx51"
defaultAutoscalerInstances = "cx22,cpx21,cx32,cpx31,cx42,cpx41,cx52,cpx51"
hcloudLocationEUFalkenstein = "fsn1"
hcloudLocationEUNuremberg = "nbg1"
hcloudLocationEUHelsinki = "hel1"
Expand Down

0 comments on commit b0100b6

Please sign in to comment.