b

    boundless-telephone-98269

    7 months ago
    The reason why I need
    clusterIP
    to be of type
    pulumi.StringPtrOutput
    instead of
    pulumi.AnyOutput
    is because I'm passing it on into the environment variable of a kubernetes pod.
    a

    astonishing-solstice-53645

    7 months ago
    Is the pod and service in the same namespace? Kubernetes by default passes in services ip as env vars with a feature called service links.
    b

    boundless-telephone-98269

    7 months ago
    Ah, this approach also works!