sparse-intern-71089
04/11/2022, 6:15 AMlittle-cartoon-10569
04/11/2022, 6:20 AMfuture-window-78560
04/11/2022, 11:00 AMlukere="<http://gcr.io/anyltest7/luke_re@sha256:9bfb91bffa2480ad1dea425e4955563c1f3fa219c355ae98d7a3c3af1f72e25b|gcr.io/anyltest7/luke_re@sha256:9bfb91bffa2480ad1dea425e4955563c1f3fa219c355ae98d7a3c3af1f72e25b>"
app_labels1 = { 'app': 'lukere' }
app_dep = k8s.apps.v1.Deployment('lukere-deployment',
name="lukere-deployment",
spec={
'selector': { 'matchLabels': app_labels1 },
'replicas': 3,
#'nam'
'template': {
'metadata': { 'labels': app_labels1 },
'spec': {
'containers': [{
'name': 'lukere',
'image': lukere,
}],
},
},
},
)
app_svc = k8s.core.v1.Service('lukere-service',
name="lukere-service",
metadata={ 'labels': app_labels1 },
spec={
'type': 'LoadBalancer',
'ports': [{ 'port': 80, 'targetPort': 8000, 'protocol': 'TCP' }],
'selector': app_labels1,
}
)
little-cartoon-10569
04/11/2022, 8:19 PMlittle-cartoon-10569
04/11/2022, 8:20 PMlittle-cartoon-10569
04/11/2022, 8:22 PMfuture-window-78560
04/11/2022, 8:45 PMlittle-cartoon-10569
04/11/2022, 8:54 PMfuture-window-78560
04/13/2022, 2:29 AMNo 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