{Service}
{Adapt.rule<ServiceProps>(({ handle, ...props }) => {
if (props.key === "UrlRouter") {
return <ServiceDeployment config={config} {...props} {...testPodProps} serviceProps={{ loadBalancerIP: "35.236.65.222" }} />;
} else {
return <ServiceDeployment config={config} {...props} {...testPodProps} />;
}
})}
{...testPodProps}
and the prod style does not. testPodProps
just modify the terminationGracePeriodSeconds
value for Pods to kill them without giving them a chance to shut down. That's typically bad practice for real Pods.