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.