Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten the number of steps to run pulumi up #312

Open
hausdorff opened this issue Dec 4, 2018 · 2 comments
Open

Shorten the number of steps to run pulumi up #312

hausdorff opened this issue Dec 4, 2018 · 2 comments
Labels
area/cli Impacts the Pulumi CLI awaiting-feedback Blocked on input from the author kind/enhancement Improvements or new features

Comments

@hausdorff
Copy link
Contributor

As I was testing StatefulSet I realized that my default when I want to "just try" something is to:

  1. Copy a bit of YAML into a file.
  2. kubectl apply -f

rather than to (e.g.):

  1. Run pulumi new.
  2. Copy a bit of YAML into a file.
  3. Write k8s.yaml.ConfigFile for that file.
  4. pulumi up

It would be great to make it as easy to use Pulumi as it is to use kubectl. Some ideas off the top of the head:

  • Allow pulumi new to take a file/URL to Kubernetes manifests which creates an app that points at the relevant YAML.
  • Create a pulumi convert which will generate a "real" Pulumi program based on the YAML.

cc @joeduffy @lukehoban @lblackstone

@hausdorff hausdorff added kind/feature area/cli Impacts the Pulumi CLI labels Dec 4, 2018
@joeduffy joeduffy added this to the 0.21 milestone Dec 18, 2018
@lukehoban lukehoban removed this from the 0.21 milestone Mar 9, 2019
@lukehoban lukehoban assigned lblackstone and unassigned hausdorff Nov 27, 2019
@brandonkal
Copy link

brandonkal commented Jan 2, 2020

For the simple "try kubernetes things out" case, one idea is that YAML could have its own simple language provider that would not require installing node modules and other project boilerplate. Instead, the user adds a #@pulumi pragma to the top of the yaml file and runs pulumi up.

To take it one step further, Pulumi.yaml project config could be defined as a custom resource that does not get applied to the cluster, like the Sources resource in kbld to reduce files to a single portable multi-doc file.

@infin8x infin8x added kind/enhancement Improvements or new features and removed kind/feature labels Jul 10, 2021
@lblackstone lblackstone removed their assignment Jul 14, 2023
@rshade
Copy link
Contributor

rshade commented Jan 16, 2025

@rshade rshade added the awaiting-feedback Blocked on input from the author label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Impacts the Pulumi CLI awaiting-feedback Blocked on input from the author kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

7 participants