Skip to content

Commit

Permalink
fix: remove amd_opteron mentions (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
glimberea authored Sep 5, 2024
1 parent 5421ebf commit a430400
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 22 deletions.
4 changes: 2 additions & 2 deletions cluster/local/integration_tests_k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
time: "23:40:58"
name: exampleK8sNodepool
nodeCount: 1
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
Expand Down Expand Up @@ -233,7 +233,7 @@ spec:
forProvider:
name: exampleK8sNodepool
nodeCount: 1
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
Expand Down
3 changes: 1 addition & 2 deletions docs/api/compute-engine/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ In order to configure the IONOS Cloud Resource, the user can set the `spec.forPr
* `cpuFamily` (string)
* description: CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions;
available CPU architectures can be retrieved from the datacenter resource.
* possible values: "AMD_OPTERON";"INTEL_SKYLAKE";"INTEL_XEON"
* possible values: "INTEL_SKYLAKE";"INTEL_XEON"
* `datacenterConfig` (object)
* description: DatacenterConfig contains information about the datacenter resource
on which the server will be created.
Expand Down Expand Up @@ -227,4 +227,3 @@ The corresponding resource definition can be found [here](https://github.com/ion
## Resource Instance Example

An example of a resource instance can be found [here](https://github.com/ionos-cloud/crossplane-provider-ionoscloud/tree/master/examples/ionoscloud/compute/server.yaml).

3 changes: 1 addition & 2 deletions docs/api/compute-engine/serverset.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Version increases if the Server is re-created due to an immutable field changing
* `cpuFamily` (string)
* description: CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions;
available CPU architectures can be retrieved from the datacenter resource.
* possible values: "AMD_OPTERON";"INTEL_SKYLAKE";"INTEL_XEON"
* possible values: "INTEL_SKYLAKE";"INTEL_XEON"
* `nics` (array)
* description: NICs are the network interfaces of the server.
* properties:
Expand Down Expand Up @@ -314,4 +314,3 @@ The corresponding resource definition can be found [here](https://github.com/ion
## Resource Instance Example

An example of a resource instance can be found [here](https://github.com/ionos-cloud/crossplane-provider-ionoscloud/tree/master/examples/ionoscloud/compute/serverset.yaml).

3 changes: 1 addition & 2 deletions docs/api/compute-engine/statefulserverset.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Version increases if the Server is re-created due to an immutable field changing
* `cpuFamily` (string)
* description: CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions;
available CPU architectures can be retrieved from the datacenter resource.
* possible values: "AMD_OPTERON";"INTEL_SKYLAKE";"INTEL_XEON"
* possible values: "INTEL_SKYLAKE";"INTEL_XEON"
* `nics` (array)
* description: NICs are the network interfaces of the server.
* properties:
Expand Down Expand Up @@ -372,4 +372,3 @@ The corresponding resource definition can be found [here](https://github.com/ion
## Resource Instance Example

An example of a resource instance can be found [here](https://github.com/ionos-cloud/crossplane-provider-ionoscloud/tree/master/examples/ionoscloud/compute/statefulserverset.yaml).

2 changes: 1 addition & 1 deletion examples/composition/claim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ spec:
clusterName: testK8sCluster
clusterPublic: true
nodepoolName: testK8sNodepool
nodepoolCpuFamily: AMD_OPTERON
nodepoolCpuFamily: INTEL_XEON
2 changes: 1 addition & 1 deletion examples/composition/composite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ spec:
clusterName: testK8sClusterXR
clusterPublic: true
nodepoolName: testK8sNodepoolXR
nodepoolCpuFamily: AMD_OPTERON
nodepoolCpuFamily: INTEL_XEON
2 changes: 1 addition & 1 deletion examples/composition/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
forProvider:
name: exampleK8sNodepool
nodeCount: 1
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
Expand Down
2 changes: 1 addition & 1 deletion examples/ionoscloud/compute/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
cores: 2
ram: 2048
availabilityZone: AUTO
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
datacenterConfig:
datacenterIdRef:
name: example
Expand Down
2 changes: 1 addition & 1 deletion examples/ionoscloud/compute/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
cores: 4
ram: 2048
availabilityZone: AUTO
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
datacenterConfig:
datacenterIdRef:
name: example
Expand Down
2 changes: 1 addition & 1 deletion examples/ionoscloud/dataplatform/dataplatformcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ spec:
datacenterIdRef:
name: example
name: exampleCluster
version: "23.11"
version: "24.3"
providerConfigRef:
name: example
2 changes: 1 addition & 1 deletion examples/ionoscloud/dataplatform/dataplatformnodepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
nodeCount: 2
# Note: If the CPU Family is not set, the Crossplane Provider
# will set the first one offered by the Datacenter.
# cpuFamily: AMD_OPTERON
# cpuFamily: INTEL_XEON
# coresCount: 1
# ramSize: 2048
# availabilityZone: AUTO
Expand Down
2 changes: 1 addition & 1 deletion examples/ionoscloud/k8s/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
nodeCount: 1
# Note: If the CPU Family is not set, the Crossplane Provider
# will set the first one offered by the Datacenter.
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
Expand Down
2 changes: 1 addition & 1 deletion examples/ionoscloud/k8s/k8s-nodepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
nodeCount: 1
# Note: If the CPU Family is not set, the Crossplane Provider
# will set the first one offered by the Datacenter.
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
Expand Down
2 changes: 1 addition & 1 deletion examples/server-composition/claim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
serverName: server
cores: 4
ram: 2048
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
6 changes: 3 additions & 3 deletions examples/server-composition/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
cores: 4
ram: 2048
availabilityZone: AUTO
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
patches:
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.serverName
Expand Down Expand Up @@ -102,7 +102,7 @@ spec:
cores: 4
ram: 2048
availabilityZone: AUTO
cpuFamily: AMD_OPTERON
cpuFamily: INTEL_XEON
patches:
- type: FromCompositeFieldPath
fromFieldPath: spec.parameters.serverName
Expand Down Expand Up @@ -348,4 +348,4 @@ spec:
patches:
- type: FromCompositeFieldPath
fromFieldPath: spec.resourceRefs[0].name
toFieldPath: spec.forProvider.datacenterConfig.datacenterIdRef.name
toFieldPath: spec.forProvider.datacenterConfig.datacenterIdRef.name
2 changes: 1 addition & 1 deletion internal/controller/serverset/serverset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const (
server1Name = "serverset-server-0-0"
server2Name = "serverset-server-1-0"
serverNotReadyName = "server-not-ready"
serverSetCPUFamily = "AMD_OPTERON"
serverSetCPUFamily = "INTEL_XEON"
serverSetCores = 2
serverSetRAM = 4096
serverSetName = "serverset"
Expand Down

0 comments on commit a430400

Please sign in to comment.