@@ -206,10 +206,14 @@ The YAML code in the following sections can be found in the [cafe-example folder
206206
207207# ## Create the application resources
208208
209- Apply the file _cafe.yaml_ with the contents with `kubectl` :
209+ Create the file _cafe.yaml_ with the following contents :
210+
211+ {{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe.yaml`>}}
212+
213+ Apply it using `kubectl` :
210214
211215` ` ` shell
212- kubectl apply -f "https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/ cafe-example/cafe .yaml"
216+ kubectl apply -f cafe.yaml
213217` ` `
214218
215219` ` ` text
@@ -235,20 +239,28 @@ tea-7b7d6c947d-d4qcf 1/1 Running 0 10s
235239
236240# ## Create Gateway and HTTPRoute resources
237241
238- Apply the file _gateway.yaml_ with the contents using `kubectl` :
242+ Create the file _gateway.yaml_ with the following contents :
243+
244+ {{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/gateway.yaml`>}}
245+
246+ Apply it using `kubectl` :
239247
240248` ` ` shell
241- kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/ gateway.yaml
249+ kubectl apply -f gateway.yaml
242250` ` `
243251
244252` ` ` text
245253gateway.gateway.networking.k8s.io/gateway created
246254` ` `
247255
248- Apply the file _cafe-routes.yaml_ with the contents using `kubectl` :
256+ Create the file _cafe-routes.yaml_ with the following contents :
257+
258+ {{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe-routes.yaml`>}}
259+
260+ Apply it using `kubectl` :
249261
250262` ` ` shell
251- kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/ cafe-routes.yaml
263+ kubectl apply -f cafe-routes.yaml
252264` ` `
253265
254266` ` ` text
0 commit comments