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
  • s

    some-doctor-62800

    08/26/2019, 6:37 PM
    But to do it all in golang makes sense, they wouldn't want to do m*n work
  • s

    some-doctor-62800

    08/26/2019, 6:37 PM
    m = supported langs n = providers
  • s

    some-doctor-62800

    08/26/2019, 6:38 PM
    all the diffing lives there too
  • s

    some-doctor-62800

    08/26/2019, 6:38 PM
    I could get a tunnel btw with node-pty
  • h

    high-translator-22614

    08/26/2019, 6:38 PM
    i come from SaltStack places, so I would do configuration like that from Salt and have pulumi say "make a minion on this cloud with these values attached" and have salt do the actual fiddling on the server. (Of course, that pulumi-salt glue doesn't exist yet...)
  • s

    some-doctor-62800

    08/26/2019, 6:39 PM
    that would mean I'd have to move everything for k8s into salt/ansible etc
  • h

    high-translator-22614

    08/26/2019, 6:40 PM
    depends on what you're doing?
  • s

    some-doctor-62800

    08/26/2019, 6:40 PM
    bringing the cluster up from pulumi and provisioning it
  • h

    high-translator-22614

    08/26/2019, 6:40 PM
    like, you keep talking about SSH, which reads to me like you're configuring VMs?
  • s

    some-doctor-62800

    08/26/2019, 6:40 PM
    I need a jump host to get to the kube api server
  • h

    high-translator-22614

    08/26/2019, 6:40 PM
    oh, you're spinning up cloud VMs to bring up a kubernetes cluster?
  • s

    some-doctor-62800

    08/26/2019, 6:41 PM
    pulumi isn't on the same network
  • s

    some-doctor-62800

    08/26/2019, 6:41 PM
    well, a managed cluster but that also spins up instances
  • h

    high-translator-22614

    08/26/2019, 6:41 PM
    no wonder i'm so confused, you're crossing layers
  • s

    some-doctor-62800

    08/26/2019, 6:41 PM
    yes 🙂
  • h

    high-translator-22614

    08/26/2019, 6:42 PM
    ok, absolutely break those up
  • s

    some-doctor-62800

    08/26/2019, 6:42 PM
    those are already
  • s

    some-doctor-62800

    08/26/2019, 6:42 PM
    I just have some infra global changes too which do need kube api access
  • s

    some-doctor-62800

    08/26/2019, 6:42 PM
    so most of the provisioning happens in a separate downlevel stack
  • s

    some-doctor-62800

    08/26/2019, 6:43 PM
    cluster + iam provisioning should happen in that infra stack
  • s

    some-doctor-62800

    08/26/2019, 6:43 PM
    now I'll probably move that iam provisioning to the services stack
  • h

    high-translator-22614

    08/26/2019, 6:46 PM
    if it was me, and i was writing from scratch, and I use Salt to manage the cluster itself--it handles very well configuring and managing long-lived VMs, and even provides building blocks for automation, monitoring etc. I would then use pulumi to deploy applications to that fabric--it handles cloud-native service configuration very well, were you need to say "make sure this service exists" and things like on-going operational concerns are completely handled for you. That said, neither of those assumptions apply to you (you are not me, and you are not starting from scratch), and tbh I'm not sure how to get pulumi to do salt's/ansible's/puppet's job.
    e
    • 2
    • 2
  • q

    quick-action-34599

    08/26/2019, 6:46 PM
    Does this
    import
    option currently exist in Pulumi or is it just planned? https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/#adopting-existing-resources
    h
    w
    • 3
    • 15
  • h

    high-translator-22614

    08/26/2019, 6:46 PM
    (i assume it can; i know people do it with tf)
  • s

    some-doctor-62800

    08/26/2019, 6:47 PM
    @high-translator-22614 I actually think pulumi can handle managing vms fine, as longs as you don't make them pets
  • s

    some-doctor-62800

    08/26/2019, 6:47 PM
    we're using container optimized os from google anyway
  • s

    some-doctor-62800

    08/26/2019, 6:47 PM
    that's fairly immutable already
  • h

    high-translator-22614

    08/26/2019, 6:47 PM
    ok
  • s

    some-doctor-62800

    08/26/2019, 6:48 PM
    so it's hard to manage anything past cloud-init basically
  • s

    some-doctor-62800

    08/26/2019, 6:48 PM
    without replace
Powered by Linen
Title
s

some-doctor-62800

08/26/2019, 6:48 PM
without replace
View count: 1