mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-31 11:31:10 +02:00
In order to DRY up all installation methods and mount methods, this PR introduces a few more runtime modes. The modes are then used to determine the strategy for creating and or mounting the paritions. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
129 lines
3.3 KiB
YAML
129 lines
3.3 KiB
YAML
apiVersion: cluster.k8s.io/v1alpha1
|
|
kind: Cluster
|
|
metadata:
|
|
annotations: null
|
|
name: talos-e2e-{{TAG}}-gcp
|
|
spec:
|
|
clusterNetwork:
|
|
pods:
|
|
cidrBlocks:
|
|
- 192.168.0.0/16
|
|
serviceDomain: cluster.local
|
|
services:
|
|
cidrBlocks:
|
|
- 10.96.0.0/12
|
|
providerSpec:
|
|
value:
|
|
apiVersion: talosproviderconfig/v1alpha1
|
|
kind: TalosClusterProviderSpec
|
|
platform:
|
|
config: |-
|
|
region: "us-central1"
|
|
project: "talos-testbed"
|
|
type: gce
|
|
controlplane:
|
|
count: 3
|
|
---
|
|
apiVersion: cluster.k8s.io/v1alpha1
|
|
kind: Machine
|
|
metadata:
|
|
labels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: master
|
|
name: talos-e2e-{{TAG}}-gcp-master-0
|
|
spec:
|
|
providerSpec:
|
|
value:
|
|
apiVersion: talosproviderconfig/v1alpha1
|
|
kind: TalosMachineProviderSpec
|
|
platform:
|
|
config: |-
|
|
zone: "us-central1-c"
|
|
project: "talos-testbed"
|
|
instances:
|
|
type: "n1-standard-2"
|
|
image: "https://www.googleapis.com/compute/v1/projects/talos-testbed/global/images/talos-e2e-{{TAG}}"
|
|
disks:
|
|
size: 50
|
|
type: gce
|
|
---
|
|
apiVersion: cluster.k8s.io/v1alpha1
|
|
kind: Machine
|
|
metadata:
|
|
labels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: master
|
|
name: talos-e2e-{{TAG}}-gcp-master-1
|
|
spec:
|
|
providerSpec:
|
|
value:
|
|
apiVersion: talosproviderconfig/v1alpha1
|
|
kind: TalosMachineProviderSpec
|
|
platform:
|
|
config: |-
|
|
zone: "us-central1-c"
|
|
project: "talos-testbed"
|
|
instances:
|
|
type: "n1-standard-2"
|
|
image: "https://www.googleapis.com/compute/v1/projects/talos-testbed/global/images/talos-e2e-{{TAG}}"
|
|
disks:
|
|
size: 50
|
|
type: gce
|
|
---
|
|
apiVersion: cluster.k8s.io/v1alpha1
|
|
kind: Machine
|
|
metadata:
|
|
labels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: master
|
|
name: talos-e2e-{{TAG}}-gcp-master-2
|
|
spec:
|
|
providerSpec:
|
|
value:
|
|
apiVersion: talosproviderconfig/v1alpha1
|
|
kind: TalosMachineProviderSpec
|
|
platform:
|
|
config: |-
|
|
zone: "us-central1-c"
|
|
project: "talos-testbed"
|
|
instances:
|
|
type: "n1-standard-2"
|
|
image: "https://www.googleapis.com/compute/v1/projects/talos-testbed/global/images/talos-e2e-{{TAG}}"
|
|
disks:
|
|
size: 50
|
|
type: gce
|
|
---
|
|
apiVersion: cluster.k8s.io/v1alpha1
|
|
kind: MachineDeployment
|
|
metadata:
|
|
labels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: worker
|
|
name: talos-e2e-{{TAG}}-gcp-workers
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: worker
|
|
template:
|
|
metadata:
|
|
labels:
|
|
cluster.k8s.io/cluster-name: talos-e2e-{{TAG}}-gcp
|
|
set: worker
|
|
spec:
|
|
providerSpec:
|
|
value:
|
|
apiVersion: talosproviderconfig/v1alpha1
|
|
kind: TalosMachineProviderSpec
|
|
platform:
|
|
config: |-
|
|
zone: "us-central1-c"
|
|
project: "talos-testbed"
|
|
instances:
|
|
type: "n1-standard-2"
|
|
image: "https://www.googleapis.com/compute/v1/projects/talos-testbed/global/images/talos-e2e-{{TAG}}"
|
|
disks:
|
|
size: 50
|
|
type: gce
|