sparse-intern-71089
07/24/2020, 3:26 PMwet-noon-14291
07/24/2020, 4:47 PMnumerous-artist-1705
07/24/2020, 4:52 PMnumerous-artist-1705
07/24/2020, 4:53 PMwet-noon-14291
07/24/2020, 5:58 PMwet-noon-14291
07/24/2020, 5:58 PMwet-noon-14291
07/28/2020, 10:41 PMlet appDeployCe =
deployment {
name "MyDeploy"
deploymentSpec {
replicas 1
LabelSelectorArgs(
MatchLabels = inputMap ["app", input "nginx" ]
)
podTemplateSpec {
ObjectMetaArgs(Labels = appLabels)
podSpec {
containers [
input
(ContainerArgs(
Name = input "nginx",
Image = input "nginx",
Ports = inputList [
input
(ContainerPortArgs(
ContainerPortValue = input 80
))
])
)
]
}
}
}
}
There are a lot of improvement to be done, but this is a good start.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by