Commit Graph

23 Commits

Author SHA1 Message Date
Steren 5de45fb22d Remove license header for Node.js sample (#745)
This is a 15 line trivial hello world, a 15 line license header adds unnecessary complexity.
Many other samples do not include a license header.
The license is already captured at the root of the repository.
2019-01-10 15:16:29 -08:00
Adam Ross 2a5147bd9b serving/samples: update helloworld-nodejs to nodejs v10 (#651) 2018-12-19 11:39:35 -08:00
mattmoor-sockpuppet c64c63a160 Format markdown (#626)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2018-12-04 14:34:25 -08:00
mattmoor-sockpuppet 41462c69e1 Format markdown (#620)
Produced via: `prettier --write --proseWrap=always $(find -name '*.md' | grep -v vendor)`
2018-12-03 13:54:25 -08:00
Jonas Finnemann Jensen b11a0d4de3 Fix example response (#451)
We specify `TARGET='Node.js Sample v1'` in `service.yaml`, so it would be surprising if this isn't printed in the response.
2018-11-29 13:48:23 -08:00
Averi Kitsch 803a5e5a94 update dockerfile to be consistent (#566) 2018-11-27 11:33:22 -08:00
Adam Ross ab11b92622 serving/samples/helloworld-nodejs: simplify and standardize Dockerfile (#507) 2018-11-19 17:03:19 -08:00
RichieEscarez 74ed0fd04a Use the ksvc shortname for services (#492)
* Replace services.serving.knative.dev with ksvc

* Replace -f with long flag --filename
2018-11-02 15:59:34 -07:00
Jonas Finnemann Jensen bff003dfe0 docker -> Dockerfile for syntax highlighting (#450)
* Fixed `docker` to `Dockerfile` for highlighting in markdown code fence

Instead of doing

        ```docker

We should do:

        ```Dockerfile

to get syntax highlighting on github.
2018-11-02 15:50:35 -07:00
Adam Ross e3516ffaf9 serving/helloworld-nodejs: Respect the PORT env var (#458) 2018-10-24 11:47:31 -07:00
Joseph Burnett d1b78c4832 Make the Clojure greeting unscary. (#465) 2018-10-22 14:10:30 -07:00
Steren 9ea6e2c65d Make samples less scary when no env var is provided (#443)
* Node.js

* Python

* csharp

* go

* other samples

* Fix Node README
2018-10-08 11:19:25 -07:00
Ryan Gregg 08ab237cb3 Revert ksvc changes (#442) 2018-10-05 14:30:24 -07:00
Tyler Auerbeck b2254cbb42 Update docs to use kubectl long flags (#372)
* Update docs to use kubectl long flags

* adding back in the --filename flag (lost when manually merged)

* notice a few missed

* notice a few missed '-f' flags

* change -o to --output
2018-09-12 09:46:03 -07:00
Sam O'Dell 00d6cec8ca services.serving.knative.dev -> ksvc, adding check install guide (#360)
* services.serving.knative.dev -> ksvc, adding check install guide

* Updating image to add outline

* Making Richie's suggested edits
2018-08-31 09:58:12 -07:00
Matt Moore 9b4b73936c Fix all of the `knative/install` links to point to `knative/docs/install`. (#126) 2018-07-13 17:21:35 -07:00
Nghia Tran b97fa65aec Update samples to not use Ingress. (#60)
* Update samples to not use Ingress.

This is follow-up of https://github.com/knative/serving/pull/1228.  We
moved to Istio v1alpha3 / Gateway which requires a different way to
get the external IP address to send traffic to our samples.

* Also update the command to find service domain.
2018-07-02 14:07:17 -07:00
Ryan Gregg c57f006f4c
Rename to example domain (#44) 2018-07-02 10:00:01 -07:00
Ryan Gregg dba77c7ab3 Add information about where docs go (#55)
* Add information about where docs go

* add samples too
2018-07-02 09:58:46 -07:00
Ryan Gregg 723b407c80
Convert hello world samples to using Docker (#42) 2018-06-28 16:03:16 -07:00
Sam O'Dell 32f9363548 Documentation-related updates to Go, Node, and C# samples (#21) 2018-06-26 14:57:53 -07:00
Ryan Gregg 29fdc3ad52 Rename to service.yaml (#12) 2018-06-25 09:29:04 -07:00
Ryan Gregg f288609da7 Hello world samples for Go, Node, and CSharp (#11)
* Add some hierachy

* Clone helloworld samples from serving

* add ignore files

* remove mac hidden files

* Finish readme

* Tweak formatting

* Update instructions

* Updating go

* Update yaml example

* Fix typo in service name.

* Update readme and yaml

* Update app yaml

* Ignore .vscode folder

* Fix missing newline at EOF

* Update sample to read env variable
2018-06-22 14:21:34 -07:00