diff --git a/pulumi/Pulumi.paws-codfw.yaml b/pulumi/Pulumi.paws-codfw.yaml new file mode 100644 index 00000000..877e805c --- /dev/null +++ b/pulumi/Pulumi.paws-codfw.yaml @@ -0,0 +1,13 @@ +--- + +encryptionsalt: v1:OmSkg8q3Cf0=:v1:fdlfGHhWwjqwfflB:B693Z4nQ//26jsrYR8LmzGaYcXCzEA== +config: + paws:name: dev + paws:workers: 2 + paws:volume-size: 20 + paws:external-network-id: wan-transport-codfw + paws:fixed-subnet: cloud-instances2-b-codfw + paws:fixed-network: cloud-instances2-b-codfw + paws:worker-flavor: g3.cores1.ram2.disk20 + paws:control-flavor: g3.cores1.ram2.disk20 + paws:image-name: Fedora-CoreOS-34 diff --git a/pulumi/Pulumi.yaml b/pulumi/Pulumi.yaml new file mode 100644 index 00000000..c7828c2b --- /dev/null +++ b/pulumi/Pulumi.yaml @@ -0,0 +1,39 @@ +--- + +name: paws +runtime: yaml +description: paws pumuli +outputs: + # Export the IP of the instance + #instance: ${instance.accessIpV4} + foo: ${clustertemplate1} + foo2: ${clustertemplate1.name} + kubeconfig: ${cluster1.kubeconfig} +resources: + cluster1: + type: openstack:containerinfra:Cluster + properties: + clusterTemplateId: ${clustertemplate1} + masterCount: 1 + name: paws-dev-pulumi + nodeCount: ${workers} + clustertemplate1: + type: openstack:containerinfra:ClusterTemplate + properties: + coe: kubernetes + dnsNameserver: 8.8.8.8 + dockerStorageDriver: overlay2 + dockerVolumeSize: ${volume-size} + externalNetworkId: ${external-network-id} + fixedSubnet: ${fixed-subnet} + fixedNetwork: lan-flat-cloudinstances2b + flavor: ${worker-flavor} + floatingIpEnabled: false + image: ${image-name} + labels: + kube_tag: "v1.23.15-rancher1-linux-amd64" + hyperkube_prefix: "docker.io/rancher/" + cloud_provider_enabled: "true" + masterFlavor: ${control-flavor} + name: paws-${name}-pulumi + networkDriver: flannel