diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/all_process.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/all_process.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/all_process.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/00-old/all_process.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/process-a.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-a.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/process-a.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-a.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/process-a2.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-a2.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/process-a2.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-a2.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/process-b.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-b.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/process-b.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-b.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/process-c.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-c.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/process-c.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-c.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-c2.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-c2.yaml new file mode 100644 index 0000000..649a80e --- /dev/null +++ b/aws_cluster/aws_kops_prod/spot_node_yaml/00-old/process-c2.yaml @@ -0,0 +1,20 @@ +apiVersion: kops.k8s.io/v1alpha2 +kind: InstanceGroup +metadata: + labels: + kops.k8s.io/cluster: k8s-prod.datasaker.io + name: k8s-prod-process-c2 +spec: + image: ami-0409b7ddbc59e3222 + machineType: m6i.xlarge + manager: CloudGroup + maxSize: 1 + minSize: 1 + nodeLabels: + datasaker/group: process + kops.k8s.io/instancegroup: k8s-prod-process-c2 + role: Node + rootVolumeSize: 100 + subnets: + - ap-northeast-2c + diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-data-druid-c2.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-data-druid-c2.yaml new file mode 100644 index 0000000..b98fdc5 --- /dev/null +++ b/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-data-druid-c2.yaml @@ -0,0 +1,31 @@ +apiVersion: kops.k8s.io/v1alpha2 +kind: InstanceGroup +metadata: + creationTimestamp: "2022-11-02T01:50:52Z" + generation: 7 + labels: + kops.k8s.io/cluster: k8s-prod.datasaker.io + name: k8s-prod-data-druid-c2 +spec: + image: ami-0409b7ddbc59e3222 + kubelet: + anonymousAuth: false + nodeLabels: + node-role.kubernetes.io/node: "" + machineType: m5a.4xlarge + manager: CloudGroup + maxSize: 1 + minSize: 1 + mixedInstancesPolicy: + onDemandAboveBase: 0 + onDemandBase: 0 + spotAllocationStrategy: capacity-optimized + nodeLabels: + datasaker/druid-size: large + datasaker/group: data-druid + kops.k8s.io/instancegroup: k8s-prod-data-druid-c2 + role: Node + subnets: + - ap-northeast-2c + taints: + - prod/data-druid:NoSchedule diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-process-c3.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-process-c3.yaml new file mode 100644 index 0000000..0e4927c --- /dev/null +++ b/aws_cluster/aws_kops_prod/spot_node_yaml/k8s-prod-process-c3.yaml @@ -0,0 +1,24 @@ +apiVersion: kops.k8s.io/v1alpha2 +kind: InstanceGroup +metadata: + labels: + kops.k8s.io/cluster: k8s-prod.datasaker.io + name: k8s-prod-process-c3 +spec: + image: ami-0409b7ddbc59e3222 + machineType: m5a.xlarge + manager: CloudGroup + maxSize: 1 + minSize: 1 + mixedInstancesPolicy: + onDemandAboveBase: 0 + onDemandBase: 0 + spotAllocationStrategy: capacity-optimized + nodeLabels: + datasaker/group: process + datasaker/group2: stream-process + kops.k8s.io/instancegroup: k8s-prod-process-c3 + role: Node + rootVolumeSize: 100 + subnets: + - ap-northeast-2c diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-a.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-a.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-a.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-a.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-a2.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-a2.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-a2.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-a2.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-b.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-b.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-b.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-b.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-c.yaml b/aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-c.yaml similarity index 100% rename from aws_cluster/aws_kops_prod/spot_node_yaml/std/rel-process-c.yaml rename to aws_cluster/aws_kops_prod/spot_node_yaml/rel-process-c.yaml diff --git a/aws_cluster/aws_kops_prod/spot_node_yaml/std/asdfasdf b/aws_cluster/aws_kops_prod/spot_node_yaml/std/asdfasdf deleted file mode 100644 index e69de29..0000000