https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
general
  • h

    helpful-advantage-49286

    05/13/2019, 6:27 PM
    the issue is the stuff i want to change isn’t exposed by k8s
  • h

    helpful-advantage-49286

    05/13/2019, 6:28 PM
    (i want to have the LB just proxy traffic to another service, basically SNI-based https->http for a help site that is hosted somewhere else)
  • h

    helpful-advantage-49286

    05/13/2019, 6:29 PM
    I am about to just push up a tiny nginx container that does that proxying and point the backend at that, but its not optimal considering GLB can do it directly.
  • s

    salmon-account-74572

    05/13/2019, 6:33 PM
    Let me see if I understand the situation. You have an ingress controller on a K8s cluster that is exposed via a Service of type LoadBalancer (and thus creates a GCP LB). You want the ingress controller to direct traffic to a site that is external to the Kubernetes cluster, is that correct?
  • h

    helpful-advantage-49286

    05/13/2019, 6:35 PM
    no, its an ingress, not a loadbalancer
  • h

    helpful-advantage-49286

    05/13/2019, 6:36 PM
    which due to me using GCP causes it to be backed by GLB
  • h

    helpful-advantage-49286

    05/13/2019, 6:36 PM
    And yes, I want it to proxy traffic from
    help.domain
    to
    some.other.domain
  • s

    salmon-account-74572

    05/13/2019, 6:39 PM
    OK. Which ingress controller are you using? Not all of them support what you're trying to do.
  • h

    helpful-advantage-49286

    05/13/2019, 6:40 PM
    GLBC
  • s

    salmon-account-74572

    05/13/2019, 6:44 PM
    Gotcha. Reviewing the GLBC docs, it's unclear if it supports your use case. I haven't used it personally, so I can't say. My initial guess would be that it probably won't support your use case, and you're probably better off just using a GCP LB directly instead of trying to manage it through Kubernetes ingress objects.
  • s

    salmon-account-74572

    05/13/2019, 6:45 PM
    I think the Nginx controller supports this use case, if memory serves correctly.
  • h

    helpful-advantage-49286

    05/13/2019, 6:45 PM
    the cert is managed inside k8s
  • h

    helpful-advantage-49286

    05/13/2019, 6:45 PM
    so I kinda have to go in via the main GCP LB
  • h

    helpful-advantage-49286

    05/13/2019, 6:45 PM
    I think I am going to just run nginx inside a container and have it proxy for now
  • h

    helpful-advantage-49286

    05/13/2019, 6:45 PM
    get deeper later on
  • s

    salmon-account-74572

    05/13/2019, 6:46 PM
    Sure
  • b

    better-rainbow-14549

    05/13/2019, 7:12 PM
    thats how i do that on azure - a combination of cert-manager helm and nginx-ingress running inside the cluster
  • b

    better-rainbow-14549

    05/13/2019, 7:13 PM
    works fine with the azure loadbalancer since we never have to interact with it directly
  • f

    full-dress-10026

    05/13/2019, 7:25 PM
    I see the ability to tag ecs services was added in this pr: https://github.com/pulumi/pulumi-awsx/pull/179/files. It does not seem to include
    tags
    for
    awsx.ecs.FargateService
    . Was there a reason this was omitted?
    l
    • 2
    • 15
  • h

    helpful-advantage-49286

    05/13/2019, 7:31 PM
    @better-rainbow-14549 yeah, figured as much
  • h

    helpful-advantage-49286

    05/13/2019, 7:31 PM
    @salmon-account-74572 thanks!
  • h

    helpful-advantage-49286

    05/13/2019, 7:51 PM
    It seems like switching to the ingress-nginx may be a good idea in the near term anyway!
  • f

    freezing-flag-53289

    05/13/2019, 9:26 PM
    I’m trying to write a run time test based on this blog post. I copied the bucket test from the Runtime Testing, but it fails to build. Am I doing something wrong, or is this just a bad dependency in the package? https://blog.pulumi.com/testing-your-infrastructure-as-code-with-pulumi
    ❯ go test -v
    go: finding <http://github.com/pulumi/pulumi/pkg/testing/integration|github.com/pulumi/pulumi/pkg/testing/integration> latest
    go: finding <http://github.com/pulumi/pulumi/pkg/testing|github.com/pulumi/pulumi/pkg/testing> latest
    go: finding <http://github.com/pulumi/pulumi/pkg|github.com/pulumi/pulumi/pkg> latest
    go: finding <http://github.com/Nvveen/Gotty|github.com/Nvveen/Gotty> v0.0.0-20170406111628-a8b993ba6abd
    go: <http://github.com/Nvveen/Gotty@v0.0.0-20170406111628-a8b993ba6abd|github.com/Nvveen/Gotty@v0.0.0-20170406111628-a8b993ba6abd>: unknown revision a8b993ba6abd
    go: error loading module requirements
    -.go
  • g

    green-morning-1318

    05/13/2019, 9:35 PM
    @freezing-flag-53289 I had that too this weekend. You can solve that by adding
    replace <http://github.com/Nvveen/Gotty|github.com/Nvveen/Gotty> => <http://github.com/ijc25/Gotty|github.com/ijc25/Gotty> v0.0.0-20170406111628-a8b993ba6abd
    to your
    go.mod
    file
    👍 1
  • g

    green-morning-1318

    05/13/2019, 9:36 PM
    that solved the issue for me 🙂
  • w

    wide-judge-30323

    05/14/2019, 1:29 AM
    I'm seeing some unexpected behaviour managing s3 events with
    bucket.onObjectCreated
    and
    bucket.onObjectRemoved
    . If I have multiple events defined (which is perfectly valid in s3), removing 1 removes them ALL. Is this a known bug?
    w
    • 2
    • 3
  • d

    dazzling-scientist-80826

    05/14/2019, 9:03 PM
    I’m getting the following error:
    The Pulumi runtime detected that 114 promises were still active
        at the time that the process exited. There are a few ways that this can occur:
          * Not using `await` or `.then` on a Promise returned from a Pulumi API
          * Introducing a cyclic dependency between two Pulumi Resources
          * A bug in the Pulumi Runtime
    It definitely is the second case: a cyclic dependency, but I’m not sure how to break the cycle. I’ve got a lambda that closes over a function that constructs a config/context object sort of thing, but another lambda that needs the arn of that first lambda - is there some general trick to break the cycle in this sort of situation?
    c
    b
    • 3
    • 3
  • o

    orange-tailor-85423

    05/14/2019, 9:55 PM
    big panic trying to add config to GCS buckets - will file a bug if it looks appropriate:
  • o

    orange-tailor-85423

    05/14/2019, 9:56 PM
    -.ts
  • s

    stocky-spoon-28903

    05/14/2019, 9:57 PM
    Nasty. Please report! Especially if you have a repro
Powered by Linen
Title
s

stocky-spoon-28903

05/14/2019, 9:57 PM
Nasty. Please report! Especially if you have a repro
View count: 1