GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content
* Make navigation and doc generation work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make search work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-specific layouts into layouts/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs partials into layouts/partials/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Share a common header and footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product & pricing pages, modify main nav
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bring images under assets, docs images under assets/images/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Link to the docs home page, fix image ref
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add containers, serverless, kubernetes topics
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add careers
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add compete, compete -> migrate
Signed-off-by: Christian Nunciato <c@nunciato.org>
* About, contact
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add legal
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add partner content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add webinar
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add why-pulumi
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add GitHub redirect, support
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add blog
* Add blog - update post frontmatter
* Update content/_index.md
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
* Remove drafts & redundant fonts, move asset dirs up a level
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reconcile blog navigation
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Migrate some blog content (#1147)
* Reconcile www, blog and docs footer items (#1141)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Clean up blog layout (#1148)
* Migrate more blog posts (#1157)
* Replace Bootstrap with TailwindCSS
* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor the docs home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs single, list and section layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor quickstart-clouds partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reposition config items to fix syntax highlighting
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace syntax CSS theme with Monokai
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a dark blue for links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add the beginnings of Sass color settings
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a Sass file for langchoose
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give no-select its own Sass also, since it’s a partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give docs single and list templates more width for main content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add some padding to the TOC, since we don’t have proper gutters yet
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix button on Quickstart home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* TOC styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Quickstart clouds
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Padding to left and right columns
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Black for TOC
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs/aws to use its own layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix the AWS tech partner image
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust AWS layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-home markup into a layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Format the mini-toc
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reduce subhead sizes a bit
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove snowflake styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Extract some Sass partials
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Define initial purple and blue palettes, use numbered colors instead
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor blog templates
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make blog summary a partial, style pagination
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix expanded URLs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Rename Documentation to Reference
Signed-off-by: Christian Nunciato <c@nunciato.org>
* A smattering of minor adjustments
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Selection state for tags
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Delete more Bootstrap
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Comment the banner
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore footer links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Legal layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove unused layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor careers page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use top-level URLs for legal docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add RSS for the blog (#1170)
* Add RSS for the blog
* Cleanup team data (#1195)
* Cleanup team data
* Add missing newlines at EOF
* Blog content as of 6/16 (#1196)
* Blog content layout tweaks
* Migrated blog content (as of Sun 6/16)
* Address PR feedback, replace links to pulumi.io
* Add fusion stack
Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.
* Fix broken links
* Fix broken images in fusion branch (#1207)
Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.
* Integrate www content (#1208)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Highlight currently selected section tab (#1216)
* Remove unused partials (#1215)
These are no longer referenced, so they can be removed.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content as of 6/24 (#1218)
* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks
* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository
* Port happy-birthday-to-pulumi-open-source
* Commit updates to package-lock.json
* Link cleanups and other fixes
* Remove 'wip' tag
* Restore meta_* fields, tidy up some frontmatter (#1214)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add search (#1217)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide `.language-prologue-*` by default (#1212)
So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.
* Limit team members to those with status “active” (#1219)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix links to datadog provider
* Remove top margin from code snippets under lang tabs (#1223)
* Update MBR DNA logo (#1222)
* Add links to cloud logos (#1221)
And use `logo-aws_white.png` for AWS
* Remove unnecessary aliases (#1210)
Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.
* Pricing page updates (#1224)
* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API docs (#1227)
* Update tsdocgen paths
* Updated API docs
* Fix broken images (#1228)
Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.
* Fix Hugo build warning about non-relative ref/relref page reference (#1229)
* Fix page titles and errant anchors (#1226)
* Prevent anchors on the home page
* Fix page titles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a robots.txt file (#1225)
This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.
It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content fixes (#1231)
* Correct post dates, titles
* Revert to previous tags
* Unify tags, adjust for display
* Replace short, social summaries with longer ones
* Use a fixed height for the utility bar (#1232)
When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix TOC expansion for the tour (#1234)
We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.
* Add syntax highlighing to layout templates (#1238)
This change adds a partial for highlighting code snippets in layouts.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add home-page video (#1240)
Also makes a few slight adjustments to improve mobile layout on the home page.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog layout and styling improvements (#1237)
* Use explicit code blcoks with language
* Fix sort order for Author and Tag listings
* Make sidebar toggleable on mobile
* Resize "poster" image for blog listings
* Crop photos to be square
* Add posted date, post tags to blog footer
* Add recent posts lists to sidebar
* Add syntax highlighting to some missed posts
* Fix Hugo build warning
* Adjust sidebar styling
* Cleanup the /docs page (#1239)
* Cleanup /docs/aws layouts to match other docs sections
* Cleanup /docs pages
- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav
* Add `.btn-secondary` and use it in a few places
* Remove unnecessary cursor setting (#1245)
Should be using the default here. I was debugging and forgot to switch this back before committing.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update the home page video (#1244)
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* API doc styling improvements (#1247)
* Update API doc styling for Python
Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.
* Only emit the <h1>.Title</h1> if there is a .Title
The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.
* Update _pygments.scss to select .highlight instead of .chroma
The syntax highlighted code generated by Hugo looks like:
```
<div class="highlight">
<pre class="chroma">
<code class="language-foo">
...
</code>
</pre>
</div>
```
And our styles looks like:
```
.chroma .k { ... }
.chroma .kc { ... }
...
```
This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.
This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.
In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.
```
.highlight .k { ... }
.highlight .kc { ... }
...
```
* Update API doc styling for Node.js
* Various mobile adjustments and cleanup (#1250)
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix bug in lang chooser (#1249)
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.
If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.
This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* More small fixes (#1254)
* Make the header more responsive
Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bottom-align the image on the whitepaper layout
Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add team@pulumi link to the footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore the newsroom and investors sections
Somehow these got dropped! :scream:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add hero background glows (#1257)
Also deletes unused templates.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide scrollbars if not needed (#1256)
* Improve Pricing page responsiveness, fix a few other small things (#1259)
* Fix section link on the Why Pulumi page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Capitalize Kubernetes in copy
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust image sizes on Whitepaper page
Properly size them on both mobile and desktop.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix paging on mobile
Decrease padding to prevent overflow.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Improve Pricing page layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace home page video with carousel (#1260)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Change Segment module to WWW (#1265)
* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)
* Move older 'pulumi.io' stacks to infrastructure-old
* Add new 'www.pulumi.com' infrastructure folder
* Scripts to hook up to CI/CD
* Switch back to using generic Travis worker
* Add alias to CDN for staging.pulumi.io
* Remove alias to staging.pulumi.io
* Do not use named profiles for deployments
There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.
For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.
* Remove CloudFront alias entirely
* Add hover menu (#1266)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD (#1267)
* Hook up new www.pulumi.com/production stack to CI/CD
* Correct Makefile syntax
* Migrate blog posts as of 7/2 (#1268)
* Fix Makefile syntax
* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
---
title: Kubernetes with Pulumi
layout: kubernetes
url: /kubernetes
2022-10-23 20:39:49 -07:00
meta_desc: Pulumi provides a single infrastructure as code workflow for Kubernetes and underlying infrastructure, using general-purpose languages and YAML.
GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content
* Make navigation and doc generation work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make search work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-specific layouts into layouts/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs partials into layouts/partials/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Share a common header and footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product & pricing pages, modify main nav
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bring images under assets, docs images under assets/images/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Link to the docs home page, fix image ref
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add containers, serverless, kubernetes topics
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add careers
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add compete, compete -> migrate
Signed-off-by: Christian Nunciato <c@nunciato.org>
* About, contact
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add legal
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add partner content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add webinar
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add why-pulumi
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add GitHub redirect, support
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add blog
* Add blog - update post frontmatter
* Update content/_index.md
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
* Remove drafts & redundant fonts, move asset dirs up a level
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reconcile blog navigation
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Migrate some blog content (#1147)
* Reconcile www, blog and docs footer items (#1141)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Clean up blog layout (#1148)
* Migrate more blog posts (#1157)
* Replace Bootstrap with TailwindCSS
* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor the docs home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs single, list and section layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor quickstart-clouds partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reposition config items to fix syntax highlighting
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace syntax CSS theme with Monokai
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a dark blue for links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add the beginnings of Sass color settings
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a Sass file for langchoose
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give no-select its own Sass also, since it’s a partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give docs single and list templates more width for main content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add some padding to the TOC, since we don’t have proper gutters yet
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix button on Quickstart home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* TOC styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Quickstart clouds
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Padding to left and right columns
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Black for TOC
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs/aws to use its own layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix the AWS tech partner image
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust AWS layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-home markup into a layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Format the mini-toc
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reduce subhead sizes a bit
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove snowflake styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Extract some Sass partials
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Define initial purple and blue palettes, use numbered colors instead
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor blog templates
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make blog summary a partial, style pagination
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix expanded URLs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Rename Documentation to Reference
Signed-off-by: Christian Nunciato <c@nunciato.org>
* A smattering of minor adjustments
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Selection state for tags
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Delete more Bootstrap
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Comment the banner
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore footer links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Legal layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove unused layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor careers page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use top-level URLs for legal docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add RSS for the blog (#1170)
* Add RSS for the blog
* Cleanup team data (#1195)
* Cleanup team data
* Add missing newlines at EOF
* Blog content as of 6/16 (#1196)
* Blog content layout tweaks
* Migrated blog content (as of Sun 6/16)
* Address PR feedback, replace links to pulumi.io
* Add fusion stack
Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.
* Fix broken links
* Fix broken images in fusion branch (#1207)
Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.
* Integrate www content (#1208)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Highlight currently selected section tab (#1216)
* Remove unused partials (#1215)
These are no longer referenced, so they can be removed.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content as of 6/24 (#1218)
* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks
* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository
* Port happy-birthday-to-pulumi-open-source
* Commit updates to package-lock.json
* Link cleanups and other fixes
* Remove 'wip' tag
* Restore meta_* fields, tidy up some frontmatter (#1214)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add search (#1217)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide `.language-prologue-*` by default (#1212)
So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.
* Limit team members to those with status “active” (#1219)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix links to datadog provider
* Remove top margin from code snippets under lang tabs (#1223)
* Update MBR DNA logo (#1222)
* Add links to cloud logos (#1221)
And use `logo-aws_white.png` for AWS
* Remove unnecessary aliases (#1210)
Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.
* Pricing page updates (#1224)
* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API docs (#1227)
* Update tsdocgen paths
* Updated API docs
* Fix broken images (#1228)
Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.
* Fix Hugo build warning about non-relative ref/relref page reference (#1229)
* Fix page titles and errant anchors (#1226)
* Prevent anchors on the home page
* Fix page titles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a robots.txt file (#1225)
This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.
It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content fixes (#1231)
* Correct post dates, titles
* Revert to previous tags
* Unify tags, adjust for display
* Replace short, social summaries with longer ones
* Use a fixed height for the utility bar (#1232)
When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix TOC expansion for the tour (#1234)
We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.
* Add syntax highlighing to layout templates (#1238)
This change adds a partial for highlighting code snippets in layouts.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add home-page video (#1240)
Also makes a few slight adjustments to improve mobile layout on the home page.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog layout and styling improvements (#1237)
* Use explicit code blcoks with language
* Fix sort order for Author and Tag listings
* Make sidebar toggleable on mobile
* Resize "poster" image for blog listings
* Crop photos to be square
* Add posted date, post tags to blog footer
* Add recent posts lists to sidebar
* Add syntax highlighting to some missed posts
* Fix Hugo build warning
* Adjust sidebar styling
* Cleanup the /docs page (#1239)
* Cleanup /docs/aws layouts to match other docs sections
* Cleanup /docs pages
- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav
* Add `.btn-secondary` and use it in a few places
* Remove unnecessary cursor setting (#1245)
Should be using the default here. I was debugging and forgot to switch this back before committing.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update the home page video (#1244)
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* API doc styling improvements (#1247)
* Update API doc styling for Python
Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.
* Only emit the <h1>.Title</h1> if there is a .Title
The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.
* Update _pygments.scss to select .highlight instead of .chroma
The syntax highlighted code generated by Hugo looks like:
```
<div class="highlight">
<pre class="chroma">
<code class="language-foo">
...
</code>
</pre>
</div>
```
And our styles looks like:
```
.chroma .k { ... }
.chroma .kc { ... }
...
```
This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.
This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.
In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.
```
.highlight .k { ... }
.highlight .kc { ... }
...
```
* Update API doc styling for Node.js
* Various mobile adjustments and cleanup (#1250)
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix bug in lang chooser (#1249)
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.
If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.
This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* More small fixes (#1254)
* Make the header more responsive
Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bottom-align the image on the whitepaper layout
Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add team@pulumi link to the footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore the newsroom and investors sections
Somehow these got dropped! :scream:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add hero background glows (#1257)
Also deletes unused templates.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide scrollbars if not needed (#1256)
* Improve Pricing page responsiveness, fix a few other small things (#1259)
* Fix section link on the Why Pulumi page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Capitalize Kubernetes in copy
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust image sizes on Whitepaper page
Properly size them on both mobile and desktop.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix paging on mobile
Decrease padding to prevent overflow.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Improve Pricing page layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace home page video with carousel (#1260)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Change Segment module to WWW (#1265)
* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)
* Move older 'pulumi.io' stacks to infrastructure-old
* Add new 'www.pulumi.com' infrastructure folder
* Scripts to hook up to CI/CD
* Switch back to using generic Travis worker
* Add alias to CDN for staging.pulumi.io
* Remove alias to staging.pulumi.io
* Do not use named profiles for deployments
There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.
For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.
* Remove CloudFront alias entirely
* Add hover menu (#1266)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD (#1267)
* Hook up new www.pulumi.com/production stack to CI/CD
* Correct Makefile syntax
* Migrate blog posts as of 7/2 (#1268)
* Fix Makefile syntax
* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
2020-08-13 11:10:36 -07:00
aliases:
- /cloudnative
GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content
* Make navigation and doc generation work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make search work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-specific layouts into layouts/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs partials into layouts/partials/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Share a common header and footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product & pricing pages, modify main nav
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bring images under assets, docs images under assets/images/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Link to the docs home page, fix image ref
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add containers, serverless, kubernetes topics
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add careers
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add compete, compete -> migrate
Signed-off-by: Christian Nunciato <c@nunciato.org>
* About, contact
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add legal
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add partner content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add webinar
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add why-pulumi
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add GitHub redirect, support
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add blog
* Add blog - update post frontmatter
* Update content/_index.md
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
* Remove drafts & redundant fonts, move asset dirs up a level
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reconcile blog navigation
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Migrate some blog content (#1147)
* Reconcile www, blog and docs footer items (#1141)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Clean up blog layout (#1148)
* Migrate more blog posts (#1157)
* Replace Bootstrap with TailwindCSS
* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor the docs home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs single, list and section layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor quickstart-clouds partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reposition config items to fix syntax highlighting
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace syntax CSS theme with Monokai
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a dark blue for links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add the beginnings of Sass color settings
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a Sass file for langchoose
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give no-select its own Sass also, since it’s a partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give docs single and list templates more width for main content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add some padding to the TOC, since we don’t have proper gutters yet
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix button on Quickstart home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* TOC styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Quickstart clouds
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Padding to left and right columns
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Black for TOC
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs/aws to use its own layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix the AWS tech partner image
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust AWS layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-home markup into a layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Format the mini-toc
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reduce subhead sizes a bit
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove snowflake styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Extract some Sass partials
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Define initial purple and blue palettes, use numbered colors instead
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor blog templates
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make blog summary a partial, style pagination
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix expanded URLs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Rename Documentation to Reference
Signed-off-by: Christian Nunciato <c@nunciato.org>
* A smattering of minor adjustments
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Selection state for tags
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Delete more Bootstrap
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Comment the banner
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore footer links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Legal layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove unused layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor careers page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use top-level URLs for legal docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add RSS for the blog (#1170)
* Add RSS for the blog
* Cleanup team data (#1195)
* Cleanup team data
* Add missing newlines at EOF
* Blog content as of 6/16 (#1196)
* Blog content layout tweaks
* Migrated blog content (as of Sun 6/16)
* Address PR feedback, replace links to pulumi.io
* Add fusion stack
Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.
* Fix broken links
* Fix broken images in fusion branch (#1207)
Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.
* Integrate www content (#1208)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Highlight currently selected section tab (#1216)
* Remove unused partials (#1215)
These are no longer referenced, so they can be removed.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content as of 6/24 (#1218)
* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks
* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository
* Port happy-birthday-to-pulumi-open-source
* Commit updates to package-lock.json
* Link cleanups and other fixes
* Remove 'wip' tag
* Restore meta_* fields, tidy up some frontmatter (#1214)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add search (#1217)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide `.language-prologue-*` by default (#1212)
So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.
* Limit team members to those with status “active” (#1219)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix links to datadog provider
* Remove top margin from code snippets under lang tabs (#1223)
* Update MBR DNA logo (#1222)
* Add links to cloud logos (#1221)
And use `logo-aws_white.png` for AWS
* Remove unnecessary aliases (#1210)
Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.
* Pricing page updates (#1224)
* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API docs (#1227)
* Update tsdocgen paths
* Updated API docs
* Fix broken images (#1228)
Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.
* Fix Hugo build warning about non-relative ref/relref page reference (#1229)
* Fix page titles and errant anchors (#1226)
* Prevent anchors on the home page
* Fix page titles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a robots.txt file (#1225)
This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.
It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content fixes (#1231)
* Correct post dates, titles
* Revert to previous tags
* Unify tags, adjust for display
* Replace short, social summaries with longer ones
* Use a fixed height for the utility bar (#1232)
When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix TOC expansion for the tour (#1234)
We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.
* Add syntax highlighing to layout templates (#1238)
This change adds a partial for highlighting code snippets in layouts.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add home-page video (#1240)
Also makes a few slight adjustments to improve mobile layout on the home page.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog layout and styling improvements (#1237)
* Use explicit code blcoks with language
* Fix sort order for Author and Tag listings
* Make sidebar toggleable on mobile
* Resize "poster" image for blog listings
* Crop photos to be square
* Add posted date, post tags to blog footer
* Add recent posts lists to sidebar
* Add syntax highlighting to some missed posts
* Fix Hugo build warning
* Adjust sidebar styling
* Cleanup the /docs page (#1239)
* Cleanup /docs/aws layouts to match other docs sections
* Cleanup /docs pages
- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav
* Add `.btn-secondary` and use it in a few places
* Remove unnecessary cursor setting (#1245)
Should be using the default here. I was debugging and forgot to switch this back before committing.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update the home page video (#1244)
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* API doc styling improvements (#1247)
* Update API doc styling for Python
Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.
* Only emit the <h1>.Title</h1> if there is a .Title
The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.
* Update _pygments.scss to select .highlight instead of .chroma
The syntax highlighted code generated by Hugo looks like:
```
<div class="highlight">
<pre class="chroma">
<code class="language-foo">
...
</code>
</pre>
</div>
```
And our styles looks like:
```
.chroma .k { ... }
.chroma .kc { ... }
...
```
This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.
This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.
In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.
```
.highlight .k { ... }
.highlight .kc { ... }
...
```
* Update API doc styling for Node.js
* Various mobile adjustments and cleanup (#1250)
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix bug in lang chooser (#1249)
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.
If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.
This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* More small fixes (#1254)
* Make the header more responsive
Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bottom-align the image on the whitepaper layout
Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add team@pulumi link to the footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore the newsroom and investors sections
Somehow these got dropped! :scream:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add hero background glows (#1257)
Also deletes unused templates.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide scrollbars if not needed (#1256)
* Improve Pricing page responsiveness, fix a few other small things (#1259)
* Fix section link on the Why Pulumi page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Capitalize Kubernetes in copy
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust image sizes on Whitepaper page
Properly size them on both mobile and desktop.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix paging on mobile
Decrease padding to prevent overflow.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Improve Pricing page layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace home page video with carousel (#1260)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Change Segment module to WWW (#1265)
* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)
* Move older 'pulumi.io' stacks to infrastructure-old
* Add new 'www.pulumi.com' infrastructure folder
* Scripts to hook up to CI/CD
* Switch back to using generic Travis worker
* Add alias to CDN for staging.pulumi.io
* Remove alias to staging.pulumi.io
* Do not use named profiles for deployments
There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.
For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.
* Remove CloudFront alias entirely
* Add hover menu (#1266)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD (#1267)
* Hook up new www.pulumi.com/production stack to CI/CD
* Correct Makefile syntax
* Migrate blog posts as of 7/2 (#1268)
* Fix Makefile syntax
* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
hero:
2020-08-12 04:16:44 -07:00
title: Kubernetes Superpowers
GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content
* Make navigation and doc generation work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make search work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-specific layouts into layouts/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs partials into layouts/partials/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Share a common header and footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product & pricing pages, modify main nav
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bring images under assets, docs images under assets/images/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Link to the docs home page, fix image ref
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add containers, serverless, kubernetes topics
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add careers
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add compete, compete -> migrate
Signed-off-by: Christian Nunciato <c@nunciato.org>
* About, contact
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add legal
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add partner content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add webinar
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add why-pulumi
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add GitHub redirect, support
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add blog
* Add blog - update post frontmatter
* Update content/_index.md
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
* Remove drafts & redundant fonts, move asset dirs up a level
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reconcile blog navigation
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Migrate some blog content (#1147)
* Reconcile www, blog and docs footer items (#1141)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Clean up blog layout (#1148)
* Migrate more blog posts (#1157)
* Replace Bootstrap with TailwindCSS
* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor the docs home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs single, list and section layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor quickstart-clouds partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reposition config items to fix syntax highlighting
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace syntax CSS theme with Monokai
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a dark blue for links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add the beginnings of Sass color settings
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a Sass file for langchoose
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give no-select its own Sass also, since it’s a partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give docs single and list templates more width for main content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add some padding to the TOC, since we don’t have proper gutters yet
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix button on Quickstart home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* TOC styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Quickstart clouds
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Padding to left and right columns
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Black for TOC
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs/aws to use its own layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix the AWS tech partner image
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust AWS layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-home markup into a layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Format the mini-toc
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reduce subhead sizes a bit
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove snowflake styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Extract some Sass partials
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Define initial purple and blue palettes, use numbered colors instead
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor blog templates
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make blog summary a partial, style pagination
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix expanded URLs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Rename Documentation to Reference
Signed-off-by: Christian Nunciato <c@nunciato.org>
* A smattering of minor adjustments
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Selection state for tags
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Delete more Bootstrap
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Comment the banner
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore footer links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Legal layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove unused layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor careers page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use top-level URLs for legal docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add RSS for the blog (#1170)
* Add RSS for the blog
* Cleanup team data (#1195)
* Cleanup team data
* Add missing newlines at EOF
* Blog content as of 6/16 (#1196)
* Blog content layout tweaks
* Migrated blog content (as of Sun 6/16)
* Address PR feedback, replace links to pulumi.io
* Add fusion stack
Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.
* Fix broken links
* Fix broken images in fusion branch (#1207)
Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.
* Integrate www content (#1208)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Highlight currently selected section tab (#1216)
* Remove unused partials (#1215)
These are no longer referenced, so they can be removed.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content as of 6/24 (#1218)
* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks
* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository
* Port happy-birthday-to-pulumi-open-source
* Commit updates to package-lock.json
* Link cleanups and other fixes
* Remove 'wip' tag
* Restore meta_* fields, tidy up some frontmatter (#1214)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add search (#1217)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide `.language-prologue-*` by default (#1212)
So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.
* Limit team members to those with status “active” (#1219)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix links to datadog provider
* Remove top margin from code snippets under lang tabs (#1223)
* Update MBR DNA logo (#1222)
* Add links to cloud logos (#1221)
And use `logo-aws_white.png` for AWS
* Remove unnecessary aliases (#1210)
Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.
* Pricing page updates (#1224)
* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API docs (#1227)
* Update tsdocgen paths
* Updated API docs
* Fix broken images (#1228)
Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.
* Fix Hugo build warning about non-relative ref/relref page reference (#1229)
* Fix page titles and errant anchors (#1226)
* Prevent anchors on the home page
* Fix page titles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a robots.txt file (#1225)
This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.
It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content fixes (#1231)
* Correct post dates, titles
* Revert to previous tags
* Unify tags, adjust for display
* Replace short, social summaries with longer ones
* Use a fixed height for the utility bar (#1232)
When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix TOC expansion for the tour (#1234)
We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.
* Add syntax highlighing to layout templates (#1238)
This change adds a partial for highlighting code snippets in layouts.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add home-page video (#1240)
Also makes a few slight adjustments to improve mobile layout on the home page.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog layout and styling improvements (#1237)
* Use explicit code blcoks with language
* Fix sort order for Author and Tag listings
* Make sidebar toggleable on mobile
* Resize "poster" image for blog listings
* Crop photos to be square
* Add posted date, post tags to blog footer
* Add recent posts lists to sidebar
* Add syntax highlighting to some missed posts
* Fix Hugo build warning
* Adjust sidebar styling
* Cleanup the /docs page (#1239)
* Cleanup /docs/aws layouts to match other docs sections
* Cleanup /docs pages
- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav
* Add `.btn-secondary` and use it in a few places
* Remove unnecessary cursor setting (#1245)
Should be using the default here. I was debugging and forgot to switch this back before committing.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update the home page video (#1244)
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* API doc styling improvements (#1247)
* Update API doc styling for Python
Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.
* Only emit the <h1>.Title</h1> if there is a .Title
The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.
* Update _pygments.scss to select .highlight instead of .chroma
The syntax highlighted code generated by Hugo looks like:
```
<div class="highlight">
<pre class="chroma">
<code class="language-foo">
...
</code>
</pre>
</div>
```
And our styles looks like:
```
.chroma .k { ... }
.chroma .kc { ... }
...
```
This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.
This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.
In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.
```
.highlight .k { ... }
.highlight .kc { ... }
...
```
* Update API doc styling for Node.js
* Various mobile adjustments and cleanup (#1250)
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix bug in lang chooser (#1249)
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.
If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.
This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* More small fixes (#1254)
* Make the header more responsive
Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bottom-align the image on the whitepaper layout
Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add team@pulumi link to the footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore the newsroom and investors sections
Somehow these got dropped! :scream:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add hero background glows (#1257)
Also deletes unused templates.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide scrollbars if not needed (#1256)
* Improve Pricing page responsiveness, fix a few other small things (#1259)
* Fix section link on the Why Pulumi page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Capitalize Kubernetes in copy
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust image sizes on Whitepaper page
Properly size them on both mobile and desktop.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix paging on mobile
Decrease padding to prevent overflow.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Improve Pricing page layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace home page video with carousel (#1260)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Change Segment module to WWW (#1265)
* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)
* Move older 'pulumi.io' stacks to infrastructure-old
* Add new 'www.pulumi.com' infrastructure folder
* Scripts to hook up to CI/CD
* Switch back to using generic Travis worker
* Add alias to CDN for staging.pulumi.io
* Remove alias to staging.pulumi.io
* Do not use named profiles for deployments
There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.
For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.
* Remove CloudFront alias entirely
* Add hover menu (#1266)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD (#1267)
* Hook up new www.pulumi.com/production stack to CI/CD
* Correct Makefile syntax
* Migrate blog posts as of 7/2 (#1268)
* Fix Makefile syntax
* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
body: >
2022-10-23 20:39:49 -07:00
Pulumi lets you use a single infrastructure as code workflow for managing cloud native resources and infrastructure with software engineering. Eliminate complex YAML, JSON, and DSLs by using your favorite programming languages and automate deployments to AWS, Azure, Google Coud,
and 100+ providers.
2020-08-12 15:17:58 -07:00
cta_text: See what's new
2020-08-12 04:16:44 -07:00
video_section:
title: Pulumi In Action
2020-08-12 15:17:58 -07:00
subtitle: Watch how easy it is to set up Amazon Elastic Kubernetes Service (EKS) in 5 minutes with Pulumi.
2020-08-12 04:16:44 -07:00
youtube_video_id: yA40w1ryMu8
video_title: Watch how easy it is to setup Amazon Elastic Kubernetes Service (EKS) in 5 minutes with Pulumi.
kubernetes_overview:
title: Cloud Native Engineering with Pulumi
description: |
Pulumi streamlines Kubernetes cluster configuration, management, and app workload deployments to your clusters.
With Pulumi for Kubernetes you can:
ide:
tabs:
- title: index.ts
language: typescript
code: |
import * as pulumi from "@pulumi/pulumi ";
import * as kubernetes from "@pulumi/kubernetes ";
2020-08-24 11:59:47 -07:00
// Create a K8s namespace.
2020-08-12 04:16:44 -07:00
const devNamespace = new kubernetes.core.v1.Namespace("devNamespace", {
metadata: {
name: "dev",
},
});
2020-08-24 11:59:47 -07:00
// Deploy the K8s nginx-ingress Helm chart into the created namespace.
2020-08-12 04:16:44 -07:00
const nginxIngress = new kubernetes.helm.v3.Chart("nginx-ingress", {
chart: "nginx-ingress",
namespace: devNamespace.metadata.name,
fetchOpts:{
2021-03-12 09:07:00 -06:00
repo: "https://charts.helm.sh/stable/",
2020-08-12 04:16:44 -07:00
},
});
- title: __main__ .py
language: python
code: |
import pulumi_kubernetes as kubernetes
2020-08-24 11:59:47 -07:00
# Create a K8s namespace.
2020-08-12 04:16:44 -07:00
dev_namespace = kubernetes.core.v1.Namespace(
"devNamespace",
metadata={
"name": "dev",
})
2020-08-24 11:59:47 -07:00
# Deploy the K8s nginx-ingress Helm chart into the created namespace.
2020-08-12 04:16:44 -07:00
nginx_ingress = kubernetes.helm.v3.Chart(
"nginx-ingress",
kubernetes.helm.v3.ChartOpts(
chart="nginx-ingress",
namespace=dev_namespace.metadata["name"],
fetch_opts=kubernetes.helm.v3.FetchOpts(
2021-03-12 09:07:00 -06:00
repo="https://charts.helm.sh/stable/",
2020-08-12 04:16:44 -07:00
),
),
)
- title: main.go
language: go
code: |
package main
import (
2021-04-20 00:37:26 -07:00
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1"
"github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/helm/v3"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
2020-08-12 04:16:44 -07:00
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
2020-08-24 11:59:47 -07:00
// Create a K8s namespace.
2020-08-12 04:16:44 -07:00
ns, err := corev1.NewNamespace(ctx, "devNamespace", & corev1.NamespaceArgs{
Metadata: & metav1.ObjectMetaArgs{
Name: pulumi.String("dev"),
},
})
if err != nil {
return err
}
2020-08-24 11:59:47 -07:00
// Deploy the K8s nginx-ingress Helm chart into the created namespace.
2020-08-12 04:16:44 -07:00
_, err = helm.NewChart(ctx, "nginx-ingress", helm.ChartArgs{
Chart: pulumi.String("nginx-ingress"),
Namespace: ns.Metadata.ApplyT(func(metadata interface{}) string {
return *metadata.(*metav1.ObjectMeta).Name
}).(pulumi.StringOutput),
FetchArgs: helm.FetchArgs{
2021-03-12 09:07:00 -06:00
Repo: pulumi.String("https://charts.helm.sh/stable/"),
2020-08-12 04:16:44 -07:00
},
})
if err != nil {
return err
}
return nil
})
}
- title: MyStack.cs
language: csharp
code: |
using Pulumi;
using Kubernetes = Pulumi.Kubernetes;
class MyStack : Stack
{
public MyStack()
{
2020-08-24 11:59:47 -07:00
// Create a K8s namespace.
2020-08-12 04:16:44 -07:00
var devNamespace = new Kubernetes.Core.V1.Namespace("devNamespace", new Kubernetes.Types.Inputs.Core.V1.NamespaceArgs
{
Metadata = new Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs
{
Name = "dev",
},
});
2020-08-24 11:59:47 -07:00
// Deploy the K8s nginx-ingress Helm chart into the created namespace.
2020-08-12 04:16:44 -07:00
var nginx = new Kubernetes.Helm.V3.Chart("nginx-ingress", new Kubernetes.Helm.ChartArgs
{
Chart = "nginx-ingress",
Namespace = devNamespace.Metadata.Apply(x => x.Name),
FetchOptions = new Kubernetes.Helm.ChartFetchArgs
{
2021-03-12 09:07:00 -06:00
Repo = "https://charts.helm.sh/stable/"
2020-08-12 04:16:44 -07:00
},
});
}
}
2022-05-03 21:23:32 -07:00
- title: Main.java
language: java
code: |
package com.pulumi.example.infra;
import com.pulumi.Context;
import com.pulumi.Exports;
import com.pulumi.Pulumi;
import com.pulumi.kubernetes.core_v1.Namespace;
import com.pulumi.kubernetes.core_v1.NamespaceArgs;
import com.pulumi.kubernetes.meta_v1.inputs.ObjectMetaArgs;
import com.pulumi.kubernetes.helm.sh_v3.Release;
import com.pulumi.kubernetes.helm.sh_v3.ReleaseArgs;
import com.pulumi.kubernetes.helm.sh_v3.inputs.RepositoryOptsArgs;
public class Main {
public static void main(String[] args) {
Pulumi.run(Main::stack);
}
private static Exports stack(Context ctx) {
var devNamespace = new Namespace("devNamespace", NamespaceArgs.builder()
.metadata(ObjectMetaArgs.builder()
.name("dev")
.build())
.build());
var nginxIngress = new Release("nginx-ingress", ReleaseArgs.builder()
.chart("nginx-ingress)
.namespace(devNamespace.metadata.name)
.repositoryOpts(RepositoryOptsArgs.builder()
.repo("https://charts.helm.sh/stable/")
.build())
.build());
return ctx.exports();
}
}
- title: Pulumi.yaml
language: yaml
code: |
name: simple-kubernetes
runtime: yaml
resources:
devNamespace:
type: kubernetes:core:Namespace
properties:
metadata:
name: "dev"
nginxIngress:
type: kubernetes:helm.sh:Chart
properties:
chart: "nginx-ingress"
namespace: ${devNamespace.metadata.name}
fetchOpts:
repo: "https://charts.helm.sh/stable/"
2020-08-12 04:16:44 -07:00
list:
- Manage Kubernetes clusters on all major cloud providers.
- Increase productivity using the full ecosystem of dev tools such as IDE auto-completion, type & error checking, linting, refactoring, and test frameworks to validate Kubernetes clusters, app workloads, or both.
2023-05-15 15:25:28 -07:00
- Automate Kubernetes deployments with CI/CD integrations for [Flux ](/blog/pulumi-kubernetes-new-2022/#integration-with-flux-sources ), [Spinnaker ](/blog/unlocking-spinnaker-with-pulumi/ ), [Octopus ](/blog/deploying-with-octopus-and-pulumi/ ), [GitHub Actions ](/blog/continuous-delivery-to-any-cloud-using-github-actions-and-pulumi/ ), [GitLab ](/blog/continuous-delivery-with-gitlab-and-pulumi-on-amazon-eks/ ), [Azure DevOps ](/blog/cd-made-easy-with-pulumi-and-azure-pipelines/ ) and [more ](/docs/using-pulumi/continuous-delivery/ ).
- Seamlessly manage both Kubernetes and cloud resources using GitOps with the [Pulumi Kubernetes Operator ](/docs/using-pulumi/continuous-delivery/pulumi-kubernetes-operator/ ).
2022-10-26 07:22:15 -07:00
- Use Kubernetes [Server-Side Apply ](/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/ ) to safely manage shared Kubernetes resources with Pulumi and your existing controllers.
2020-08-12 15:17:58 -07:00
cta: Learn More
cta_url: "/blog/new-kubernetes-superpowers"
2020-08-12 04:16:44 -07:00
superpowers:
- title: Run On Any Cloud
cta: Learn more
2023-05-15 15:25:28 -07:00
cta_url: "/docs/clouds/kubernetes/get-started/"
2020-08-12 04:16:44 -07:00
icon_type: cloud
description: |
2020-08-12 15:17:58 -07:00
Support for all clouds including Amazon Elastic Kubernetes Service (EKS), Azure
Kubernetes Service (AKS), Google Kubernetes Engine (GKE), DigitalOcean Kubernetes
(DOKS), and more, with dozens of integrations with popular infrastructure service
providers.
2020-08-12 04:16:44 -07:00
- title: Reduce Provisioning Time
cta: Learn more
2023-05-15 15:25:28 -07:00
cta_url: "/docs/clouds/kubernetes/get-started/"
2020-08-12 04:16:44 -07:00
icon_type: provisioning
description: |
With Pulumi you are able to take advantage of the features of programming languages,
helping you reduce boilerplate code and ultimately ship Kubernetes infrastructure and
applications faster with greater consistency.
- title: Automate Delivery
cta: Learn more
2023-05-15 16:14:38 -07:00
cta_url: "/docs/using-pulumi/continuous-delivery/"
2020-08-12 04:16:44 -07:00
icon_type: delivery
description: |
You can integrate Pulumi directly with your favorite CI/CD and SCM systems to
continuously deliver Kubernetes infrastructure and applications. Improve the velocity
and visibility into your deployments from simple to complex global environments.
- title: Smart Architecture
cta: Learn more
2023-05-15 15:25:28 -07:00
cta_url: "/docs/concepts/"
2020-08-12 04:16:44 -07:00
icon_type: architecture
description: |
YAML and templated DSLs force you to write the same boilerplate code over and over.
Pulumi’ s Kubernetes library allows you to codify those patterns and best practices so
you can stop reinventing the wheel and start inventing the platforms of the future.
- title: Be Proactive, Not Reactive
cta: Learn more
2023-05-15 17:51:16 -07:00
cta_url: "/docs/using-pulumi/crossguard"
2020-08-12 04:16:44 -07:00
icon_type: policy
description: |
When you enable Pulumi's Policy as Code feature, you instantly gain the power to
prevent mistakes from being deployed. Enforce security, compliance, cost controls,
and best practices using policies defined in modern languages.
- title: Reduce Deployment Complexity
cta: Learn more
2023-05-15 17:51:16 -07:00
cta_url: "/docs/using-pulumi/testing"
2020-08-12 04:16:44 -07:00
icon_type: testing
description: |
Deploying untested code can lead to some unexpected results. Pulumi lets you take advantage
of common tools, frameworks, and techniques to unit, integration, and property test your
Kubernetes infrastructure. Ensure your infrastructure is correct before and after deployment.
detail_sections:
- title: Continue using the tools you love
description: |
Pulumi has first-class support for popular Kubernetes tools, such as Helm, Kustomize,
2022-10-23 20:39:49 -07:00
YAML, Secret Managers, Open Policy Agent (OPA), Custom Resource Definitions (CRDs), and Server-Side Apply (SSA).
2020-08-12 04:16:44 -07:00
cta: Learn More
cta_url: "/blog/new-kubernetes-superpowers"
items:
- title: Everything In One Place
2021-04-20 00:37:26 -07:00
icon: cloud-with-nodes
icon_color: violet
2020-08-12 04:16:44 -07:00
description: Easily make the best use of existing Kubernetes tools such as Helm, and reduce the friction caused by multiple deployment tools and models across complex architectures.
- title: Efficient Adoption
2021-04-20 00:37:26 -07:00
icon: lightning
icon_color: yellow
2020-08-24 11:59:47 -07:00
description: There’ s no need to rewrite your existing Kubernetes configurations to get started with Pulumi. You can efficiently adopt existing K8s resources to deploy your application to save time and effort.
2020-08-12 04:16:44 -07:00
- title: Secrets Management
2021-04-20 00:37:26 -07:00
icon: security
icon_color: salmon
2020-08-12 04:16:44 -07:00
description: Use Pulumi to ensure secret data is encrypted in transit, at rest, and physically anywhere it gets stored. Bring your own preferred cloud encryption provider or use Pulumi's native secrets provider.
- title: Pulumi Kubernetes Operator
2021-04-20 00:37:26 -07:00
icon: pen
icon_color: fuchsia
2022-10-23 20:39:49 -07:00
description: Deploy both Kubernetes resources and cloud infrastructure from within the Kubernetes resource model using a GitOps workflow. Use Pulumi's Flux integration and many other CI/CD integrations.
2020-08-12 04:16:44 -07:00
- title: Kubernetes Best Practices with Pulumi Crosswalk
description: |
Create, deploy, and manage production-ready infrastructure leveraging hosted Kubernetes offerings such as Amazon Elastic Kubernetes Service (EKS), Azure Kubernetes Service (AKS), or Google Kubernetes Engine (GKE).
cta: Learn More
2023-05-15 16:50:57 -07:00
cta_url: "/docs/clouds/kubernetes/guides/"
2020-08-12 04:16:44 -07:00
items:
- title: Day 2 and Beyond
2021-04-20 00:37:26 -07:00
icon: cycle
icon_color: blue
2020-08-12 04:16:44 -07:00
description: By using Pulumi Crosswalk for Kubernetes, you can benefit from tried-and-true “Day Two and beyond” integrations and playbooks, improving your infrastructure security, manageability, and cost effectiveness.
- title: Accessible Kubernetes
2021-04-20 00:37:26 -07:00
icon: collab
icon_color: purple
2020-08-12 04:16:44 -07:00
description: Through Pulumi's Crosswalk for Kubernetes library extensions, the authorship experience has improved to make the Kubernetes API more accessible and approachable to operators and developers of all backgrounds.
- title: Focus on Delivering Value
2021-04-20 00:37:26 -07:00
icon: nodes
icon_color: salmon
2020-08-12 04:16:44 -07:00
description: With Pulumi you'll focus more on functionality and business logic of your Kubernetes infrastructure and applications, and less on low-level implementation details.
- title: Avoid Pitfalls
2021-04-20 00:37:26 -07:00
icon: code
icon_color: yellow
2020-08-24 11:59:47 -07:00
description: Discover solutions to the hardest Kubernetes problems to avoid mitigating pitfalls around infrastructure, security, governance, reliability, and maintainability of the K8s cluster, its workloads, and underlying resources.
2019-11-21 14:33:47 -08:00
contact_us_form:
section_id: contact
2020-08-12 04:16:44 -07:00
hubspot_form_id: 30017141-1093-4b94-b0eb-20aabc08447b
headline: Want a demo?
2019-11-21 14:33:47 -08:00
quote:
2020-08-12 04:16:44 -07:00
title: See why the world’ s best engineering teams use Pulumi + Kubernetes to enable true collaboration between developers and operators.
name: Fernando Carletti
name_title: Head of DevOps, Credijusto
2019-11-21 14:33:47 -08:00
content: |
2020-08-12 04:16:44 -07:00
Pulumi enables our teams to deploy, scale and manage Kubernetes clusters in a fraction of the time that it took them previously, by giving them the ability to work with the languages they already know, bypassing YAML and unwieldy DSLs. It helps bring together application and infrastructure developers by eliminating silos and reducing friction in their workflows and interactions. We're excited that Pulumi Crosswalk for Kubernetes will simplify our infrastructure provisioning even further, advancing application lifecycle management throughout our organization.
GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content
* Make navigation and doc generation work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make search work
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-specific layouts into layouts/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs partials into layouts/partials/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Share a common header and footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product & pricing pages, modify main nav
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bring images under assets, docs images under assets/images/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Link to the docs home page, fix image ref
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add containers, serverless, kubernetes topics
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add careers
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add compete, compete -> migrate
Signed-off-by: Christian Nunciato <c@nunciato.org>
* About, contact
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add legal
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add product
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add partner content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add webinar
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add why-pulumi
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add GitHub redirect, support
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add blog
* Add blog - update post frontmatter
* Update content/_index.md
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
* Remove drafts & redundant fonts, move asset dirs up a level
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reconcile blog navigation
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Migrate some blog content (#1147)
* Reconcile www, blog and docs footer items (#1141)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Clean up blog layout (#1148)
* Migrate more blog posts (#1157)
* Replace Bootstrap with TailwindCSS
* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor the docs home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs single, list and section layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor quickstart-clouds partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reposition config items to fix syntax highlighting
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace syntax CSS theme with Monokai
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a dark blue for links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add the beginnings of Sass color settings
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a Sass file for langchoose
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give no-select its own Sass also, since it’s a partial
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Give docs single and list templates more width for main content
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add some padding to the TOC, since we don’t have proper gutters yet
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix button on Quickstart home page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* TOC styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Quickstart clouds
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Padding to left and right columns
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Black for TOC
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor docs/aws to use its own layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix the AWS tech partner image
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust AWS layouts
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Move docs-home markup into a layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Format the mini-toc
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Reduce subhead sizes a bit
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove snowflake styles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Extract some Sass partials
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Define initial purple and blue palettes, use numbered colors instead
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor blog templates
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Make blog summary a partial, style pagination
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix expanded URLs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Rename Documentation to Reference
Signed-off-by: Christian Nunciato <c@nunciato.org>
* A smattering of minor adjustments
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Selection state for tags
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Delete more Bootstrap
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Comment the banner
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore footer links
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Legal layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Remove unused layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Refactor careers page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use top-level URLs for legal docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add RSS for the blog (#1170)
* Add RSS for the blog
* Cleanup team data (#1195)
* Cleanup team data
* Add missing newlines at EOF
* Blog content as of 6/16 (#1196)
* Blog content layout tweaks
* Migrated blog content (as of Sun 6/16)
* Address PR feedback, replace links to pulumi.io
* Add fusion stack
Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.
* Fix broken links
* Fix broken images in fusion branch (#1207)
Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.
* Integrate www content (#1208)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Highlight currently selected section tab (#1216)
* Remove unused partials (#1215)
These are no longer referenced, so they can be removed.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content as of 6/24 (#1218)
* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks
* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository
* Port happy-birthday-to-pulumi-open-source
* Commit updates to package-lock.json
* Link cleanups and other fixes
* Remove 'wip' tag
* Restore meta_* fields, tidy up some frontmatter (#1214)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add search (#1217)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide `.language-prologue-*` by default (#1212)
So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.
* Limit team members to those with status “active” (#1219)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix links to datadog provider
* Remove top margin from code snippets under lang tabs (#1223)
* Update MBR DNA logo (#1222)
* Add links to cloud logos (#1221)
And use `logo-aws_white.png` for AWS
* Remove unnecessary aliases (#1210)
Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.
* Pricing page updates (#1224)
* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API docs (#1227)
* Update tsdocgen paths
* Updated API docs
* Fix broken images (#1228)
Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.
* Fix Hugo build warning about non-relative ref/relref page reference (#1229)
* Fix page titles and errant anchors (#1226)
* Prevent anchors on the home page
* Fix page titles
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add a robots.txt file (#1225)
This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.
It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog content fixes (#1231)
* Correct post dates, titles
* Revert to previous tags
* Unify tags, adjust for display
* Replace short, social summaries with longer ones
* Use a fixed height for the utility bar (#1232)
When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix TOC expansion for the tour (#1234)
We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.
* Add syntax highlighing to layout templates (#1238)
This change adds a partial for highlighting code snippets in layouts.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add home-page video (#1240)
Also makes a few slight adjustments to improve mobile layout on the home page.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Blog layout and styling improvements (#1237)
* Use explicit code blcoks with language
* Fix sort order for Author and Tag listings
* Make sidebar toggleable on mobile
* Resize "poster" image for blog listings
* Crop photos to be square
* Add posted date, post tags to blog footer
* Add recent posts lists to sidebar
* Add syntax highlighting to some missed posts
* Fix Hugo build warning
* Adjust sidebar styling
* Cleanup the /docs page (#1239)
* Cleanup /docs/aws layouts to match other docs sections
* Cleanup /docs pages
- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav
* Add `.btn-secondary` and use it in a few places
* Remove unnecessary cursor setting (#1245)
Should be using the default here. I was debugging and forgot to switch this back before committing.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update the home page video (#1244)
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* API doc styling improvements (#1247)
* Update API doc styling for Python
Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.
* Only emit the <h1>.Title</h1> if there is a .Title
The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.
* Update _pygments.scss to select .highlight instead of .chroma
The syntax highlighted code generated by Hugo looks like:
```
<div class="highlight">
<pre class="chroma">
<code class="language-foo">
...
</code>
</pre>
</div>
```
And our styles looks like:
```
.chroma .k { ... }
.chroma .kc { ... }
...
```
This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.
This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.
In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.
```
.highlight .k { ... }
.highlight .kc { ... }
...
```
* Update API doc styling for Node.js
* Various mobile adjustments and cleanup (#1250)
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix bug in lang chooser (#1249)
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.
If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.
This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* More small fixes (#1254)
* Make the header more responsive
Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Bottom-align the image on the whitepaper layout
Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add team@pulumi link to the footer
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Restore the newsroom and investors sections
Somehow these got dropped! :scream:
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Add hero background glows (#1257)
Also deletes unused templates.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hide scrollbars if not needed (#1256)
* Improve Pricing page responsiveness, fix a few other small things (#1259)
* Fix section link on the Why Pulumi page
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Capitalize Kubernetes in copy
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Adjust image sizes on Whitepaper page
Properly size them on both mobile and desktop.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Fix paging on mobile
Decrease padding to prevent overflow.
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Improve Pricing page layout
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Replace home page video with carousel (#1260)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Change Segment module to WWW (#1265)
* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)
* Move older 'pulumi.io' stacks to infrastructure-old
* Add new 'www.pulumi.com' infrastructure folder
* Scripts to hook up to CI/CD
* Switch back to using generic Travis worker
* Add alias to CDN for staging.pulumi.io
* Remove alias to staging.pulumi.io
* Do not use named profiles for deployments
There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.
For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.
* Remove CloudFront alias entirely
* Add hover menu (#1266)
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD (#1267)
* Hook up new www.pulumi.com/production stack to CI/CD
* Correct Makefile syntax
* Migrate blog posts as of 7/2 (#1268)
* Fix Makefile syntax
* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
---