https://pulumi.com logo
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
  • f

    flat-insurance-25294

    01/14/2020, 7:27 PM
    Yeah, I’ve suggested in the past that maybe Pulumi should take over that. ALB is integral and doing it outside is such a shame and error prone. Especially with weakly typed yamls.
  • c

    creamy-potato-29402

    01/14/2020, 7:28 PM
    sorry—to clarify, the ALB is created on your behalf by EKS, when you use a Kubernetes resource like
    Service
    . If Pulumi interceded on your behalf it would almost certainly break something.
  • c

    creamy-potato-29402

    01/14/2020, 7:28 PM
    The kube controller in general expects to have total control of this resource.
  • c

    creamy-potato-29402

    01/14/2020, 7:30 PM
    happy to explain more in a thread—I was the original author of the kube stuff so I know it really well.
  • f

    flat-insurance-25294

    01/14/2020, 7:46 PM
    @creamy-potato-29402 Yeah, but it should be a different approach than using the ALB ingress controller. Setting up ALB with pulumi and point it to a serice or an ingress.
    w
    • 2
    • 2
  • f

    fresh-summer-65887

    01/14/2020, 8:11 PM
    I think I've found a bug and reported it here. https://github.com/pulumi/pulumi/issues/3748 If someone could give it a once over for anything obviously stupid (always a possibility!), it would be appreciated.
    g
    f
    • 3
    • 11
  • c

    creamy-potato-29402

    01/14/2020, 10:17 PM
    you can definitely use other ingress controllers. Contour provides Envoy-based load balancing, and nginx-ingress does, well, what it says on the box.
  • c

    creamy-potato-29402

    01/14/2020, 10:17 PM
    in general this is totally pluggable.
  • c

    creamy-potato-29402

    01/14/2020, 10:18 PM
    not sure I understand this second comment though.
  • f

    flat-insurance-25294

    01/14/2020, 10:22 PM
    The second comment is how it works today with the ALB ingress CRD. That’s the selling point of it, is that it bypasses k8 and connects ALB directly by keep tracking the pods and nodes and connecting the ALB directly. The approach I am suggesting is a little bit more “inferior” since it goes ALB -> K8 -> Nodes -> Pods
  • f

    flat-insurance-25294

    01/14/2020, 10:22 PM
    Is there a way to get pulumi version programmatically, thinking of using it for tagging AWS resources.
  • f

    flat-insurance-25294

    01/15/2020, 12:09 AM
    Also, is there a way to set configs programatically?
    h
    • 2
    • 1
  • o

    orange-ghost-99337

    01/15/2020, 12:33 AM
    can pulumi compare the local/remote state against actual resources before it apply the changes?
  • o

    orange-ghost-99337

    01/15/2020, 12:35 AM
    i created a resource(kubernetes configmap) using pulumi and deleted 'em manually.. when i tried to apply pulumi again, it says nothing to update
  • o

    orange-ghost-99337

    01/15/2020, 12:36 AM
    i remember reading some blog post that says pulumi compares the state with actual resources before it apply
  • o

    orange-ghost-99337

    01/15/2020, 12:37 AM
    apprently i don't remember where i saw that, but tried to find in pulumi doc.. i don't see anything such
    w
    • 2
    • 2
  • e

    early-musician-41645

    01/15/2020, 12:54 AM
    One of my Pulumi stacks is configured to fetch a helm chart from a repo. The repo is in an S3 bucket and using the s3 helm plugin. This works great when everything lives in
    us-west-2
    , the same region as the helm repo. However, when I try to run the stack when AWS_REGION=ap-northeast-1 I get an error while fetching the helm chart:
    fetch from s3: fetch object from s3: BucketRegionError: incorrect region, the bucket is not in 'ap-northeast-1' region at endpoint ''
    On the commandline I can prefix my helm fetch command like this:
    AWS_REGION=us-west-2 helm fetch...
    The pulumi code looks like this:
    export const splunkForwarder = new k8s.helm.v2.Chart("splunk-forwarder", {
        repo: "my-repo",
        version: "0.2.343",
        chart: "splunk-forwarder",
        namespace: namespaceName,
        values: forwarderValues,
    }, { dependsOn: [loggingNamespace, cluster], providers: { kubernetes: cluster.provider } });
    How can I tell it to use the
    us-west-2
    region for the helm fetch and to use the configured
    ap-northeast-1
    for all other resources?
    w
    g
    • 3
    • 7
  • l

    late-printer-99022

    01/15/2020, 7:20 AM
    Do anybody know how to add DNS record for 'ALB-Ingress-Controller' ?
  • l

    late-printer-99022

    01/15/2020, 7:32 AM
    Question - How to get this url e9275192-syngentaplatform--87b5-1276037906.us-east-1.elb.amazonaws.com as variable? I think, I need to pass it for creating Route53 DNS records.
    const router = new k8s.networking.v1beta1.Ingress(
      'syngenta-platform',
      {........}
    }
    • 1
    • 1
  • l

    late-printer-99022

    01/15/2020, 8:06 AM
    I am trying to figure out why routing is not working. Seems like some issue on the node.
  • l

    loud-whale-26029

    01/15/2020, 8:47 AM
    Hello everybody, trying to reach the Sign in page on site (Pulumi). Can not sign in.. page is blank and only Chat is available
  • l

    loud-whale-26029

    01/15/2020, 8:47 AM
    https://app.pulumi.com/
  • l

    loud-whale-26029

    01/15/2020, 8:49 AM
    Working now...
  • f

    flat-insurance-25294

    01/15/2020, 8:52 AM
    @late-printer-99022 You can get the ingress endpoint with pulimi, I haven’t tested it myself yet, but planning to.
  • l

    late-printer-99022

    01/15/2020, 8:53 AM
    @flat-insurance-25294 any idea, about why is it showing unhealthy ?
  • f

    flat-insurance-25294

    01/15/2020, 8:54 AM
    Are your pods unhealthy?
  • l

    late-printer-99022

    01/15/2020, 8:54 AM
    Pods are working fine. It respond to any url with 200 OK
  • l

    late-printer-99022

    01/15/2020, 8:54 AM
    I checked using port forward too
  • f

    flat-insurance-25294

    01/15/2020, 8:54 AM
    What kind of health checks is your ALB hitting?
  • l

    late-printer-99022

    01/15/2020, 8:56 AM
Powered by Linen
Title
l

late-printer-99022

01/15/2020, 8:56 AM
View count: 1