sparse-intern-71089
10/11/2021, 10:47 AMsparse-spring-91820
10/11/2021, 10:48 AMconst ingress = new k8s.networking.v1.Ingress('nginx-ingress-rule', {
metadata: {
namespace,
annotations: { '<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>': 'nginx' },
},
spec: {
rules: [
{
// host: '<http://apps.example.com|apps.example.com>',
http: {
paths: [
{
path: '/',
pathType: 'Prefix',
backend: {
service: {
name: service.metadata.name,
port: {
number: 3000
}
}
}
}
]
}
}
]
}
}, options);
sparse-spring-91820
10/11/2021, 10:50 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