sparse-intern-71089
10/19/2022, 4:50 PMwhite-helicopter-55877
10/22/2022, 5:17 PMcontroller.service.loadBalancerIP
directive. Using
const regEngineIngress = new k8s.helm.v3.Chart(
"sample-engine-ingress",
{
repo: "<http://kubernetes.github.io|kubernetes.github.io>",
chart: "ingress-nginx",
version: "4.3.0",
fetchOpts: {
repo: "<https://kubernetes.github.io/ingress-nginx>",
},
namespace: clusterSvcsNamespace.metadata.name,
values: {
controller: {
replicaCount: 2,
nodeSelector: {
"kubernetes\.io/os": "linux",
},
service: {
loadBalancerIP: publicIp.ipAddress,
}
}
},
},
{ provider: k8sProvider },
);
That way, the public IP is assigned and since the public IP gets a A record automatically, it works nicely.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