Skip to content

Commit

Permalink
Pulumi
Browse files Browse the repository at this point in the history
Bug: T345387
  • Loading branch information
vivian-rook committed Sep 5, 2023
1 parent 1b3c59a commit 7e7a975
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pulumi/Pulumi.paws-codfw.yaml
Original file line number Diff line number Diff line change
@@ -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
39 changes: 39 additions & 0 deletions pulumi/Pulumi.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7e7a975

Please sign in to comment.