Skip to content

Commit 60bf834

Browse files
authored
Update from-kubernetes.md (#16720)
Fixing guestbook github urls
1 parent 66e693e commit 60bf834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/iac/guides/migration/migrating-to-pulumi/from-kubernetes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Kubernetes package provides the `yaml` module which defines two resource typ
3030
* `ConfigFile`: deploy a single Kubernetes YAML file
3131
* `ConfigGroup`: deploy a collection of Kubernetes YAML files together
3232

33-
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).
33+
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).
3434

3535
### Deploying a Single Kubernetes YAML File
3636

@@ -40,7 +40,7 @@ To deploy the Kubernetes Guestbook Application using a single YAML file, first d
4040

4141
```bash
4242
$ curl -L --remote-name \
43-
https://raw.githubusercontent.com/kubernetes/examples/master/guestbook/all-in-one/guestbook-all-in-one.yaml
43+
https://raw.githubusercontent.com/kubernetes/examples/master/web/guestbook/all-in-one/guestbook-all-in-one.yaml
4444
```
4545

4646
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,
181181
$ mkdir yaml
182182
$ pushd yaml
183183
$ curl -L --remote-name \
184-
"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"
184+
"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"
185185
$ popd
186186
```
187187

0 commit comments

Comments
 (0)