From 8e15f981c6d63f0b623c1af876b40cf1b7609973 Mon Sep 17 00:00:00 2001 From: sncariad <148149940+sncariad@users.noreply.github.com> Date: Tue, 2 Dec 2025 19:00:49 -0800 Subject: [PATCH] Update from-kubernetes.md Fixing guestbook github urls --- .../guides/migration/migrating-to-pulumi/from-kubernetes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/iac/guides/migration/migrating-to-pulumi/from-kubernetes.md b/content/docs/iac/guides/migration/migrating-to-pulumi/from-kubernetes.md index 2572c152326a..988b74029405 100644 --- a/content/docs/iac/guides/migration/migrating-to-pulumi/from-kubernetes.md +++ b/content/docs/iac/guides/migration/migrating-to-pulumi/from-kubernetes.md @@ -30,7 +30,7 @@ The Kubernetes package provides the `yaml` module which defines two resource typ * `ConfigFile`: deploy a single Kubernetes YAML file * `ConfigGroup`: deploy a collection of Kubernetes YAML files together -By defining these resources in code, you can deploy off-the-shelf Kubernetes YAML files without needing to change them. Pulumi understands the full topology of resource objects inside those YAML files. The examples below show how to do both — first a single YAML file and then a group of them — using the standard [Kubernetes Guestbook Application](https://github.com/kubernetes/examples/tree/master/guestbook). +By defining these resources in code, you can deploy off-the-shelf Kubernetes YAML files without needing to change them. Pulumi understands the full topology of resource objects inside those YAML files. The examples below show how to do both — first a single YAML file and then a group of them — using the standard [Kubernetes Guestbook Application](https://github.com/kubernetes/examples/tree/master/web/guestbook). ### Deploying a Single Kubernetes YAML File @@ -40,7 +40,7 @@ To deploy the Kubernetes Guestbook Application using a single YAML file, first d ```bash $ curl -L --remote-name \ - https://raw.githubusercontent.com/kubernetes/examples/master/guestbook/all-in-one/guestbook-all-in-one.yaml + https://raw.githubusercontent.com/kubernetes/examples/master/web/guestbook/all-in-one/guestbook-all-in-one.yaml ``` This Pulumi program uses `ConfigFile` to read that YAML file, provision the resources inside it, and export the resulting IP addresses: @@ -181,7 +181,7 @@ To deploy the Kubernetes Guestbook Application using a collection of YAML files, $ mkdir yaml $ pushd yaml $ curl -L --remote-name \ - "https://raw.githubusercontent.com/kubernetes/examples/master/guestbook/{frontend-deployment,frontend-service,redis-master-deployment,redis-master-service,redis-replica-deployment,redis-replica-service}.yaml" + "https://raw.githubusercontent.com/kubernetes/examples/master/web/guestbook/{frontend-deployment,frontend-service,redis-master-deployment,redis-master-service,redis-replica-deployment,redis-replica-service}.yaml" $ popd ```