Commit Graph

246 Commits

Author SHA1 Message Date
Dan McPherson 616e5e35fd Fix typo (#476) 2018-10-29 15:18:33 -07:00
Evan Anderson 31ec1a3e92 Fix Dart service.yaml (indentation) and indicate that local dart is only needed for local development. (#477) 2018-10-26 17:07:32 -07:00
Jonas Finnemann Jensen 6dc822ef81 Added a serving sample for dart (#452) 2018-10-26 11:52:32 -07:00
Zhiming Peng c9430eece7 Create Hello World program with Kotlin (#381)
* Create Hello World program with Kotlin

* Modify Readme by addressing Grant's comments

* Update to gradle official image

* Update dockerfile by addressing ivan's comment

* Read port from env by addressing samodell's comment

* Update Readme by addressing samodell's comment

* svc->service
2018-10-26 11:34:32 -07:00
Joseph Burnett 70455a3cda Use PORT environment variable. (#468) 2018-10-24 15:59:31 -07:00
Adam Ross dbdf3c922c serving/helloworld-rust: respect the PORT env var (#464) 2018-10-24 12:22:31 -07:00
Adam Ross 070c88b24a serving/helloworld-go: Respect the PORT env var (#457) 2018-10-24 12:04:31 -07:00
Adam Ross 421f44e47a serving/helloworld-haskell: respect the port env var (#463) 2018-10-24 11:47:48 -07:00
Adam Ross 3935463648 serving/helloworld-csharp: respect the port env var (#462) 2018-10-24 11:47:42 -07:00
Adam Ross 224ef9c272 serving/helloworld-php: Respect the PORT env var (#460)
* serving/helloworld-php: Respect the PORT env var

* serving/helloworld-php: add a comment to explain sed command
2018-10-24 11:47:37 -07:00
Adam Ross e3516ffaf9 serving/helloworld-nodejs: Respect the PORT env var (#458) 2018-10-24 11:47:31 -07:00
Mike Helmick 195e853c83 Update the serving Elixir example to freeze to 1.6 and to be compatible with Google Cloud Build (#461)
* Add an elixir language sample using the phoenix framework to the knative serving samples.

* Add links to Elixir and Phoenix Web sites.

* remove giant package-lock.json

* change -go to -elixir in readme.

* Update the Elixir example so that it builds with Google's Cloud Build service. Add an approprite .gcloudignore file so that this can be done using the gcloud command line tool.
2018-10-22 15:22:31 -07:00
Joseph Burnett d1b78c4832 Make the Clojure greeting unscary. (#465) 2018-10-22 14:10:30 -07:00
Joseph Burnett d731dda0b0 Clojure helloworld serving sample (#453)
* Hello world server.

* Build uberjar for docker image.

* Add README.

* Add Cloure to helloworld sample list.

* Revert to generic dockerhub url.

* Update core.clj in README.
2018-10-15 14:46:27 -07:00
Simone Gotti 33f0b2f9c7 Close response body in autoscale-go sample test program (#432)
The test program doesn't close the http response Body causing the connection to
not be released and the creation of new connections until the exhaustion of the
process file descriptors.
2018-10-11 11:40:27 -07:00
Vincent Demeester af3d2d83eb Fix accessing-logs URL (#437)
The namespace is `knative-monitoring` instead of `monitoring`

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2018-10-09 07:12:25 -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
Nghia Tran 3944f6ec80 Add instruction to use LetsEncrypt through CertManager. (#352)
* Add instruction to use LetsEncrypt through CertManager.

* Split GCP specific instruction to its own file.

* Rename using-cert-mananger-on-gcp.md to using-cert-manager-on-gcp.md

* Update using-an-ssl-cert.md

* Update using-cert-manager-on-gcp.md

* Update instruction based on PR feedback.

* Fix code snippet highlighting.

* Update using-cert-manager-on-gcp.md

* Update per PR feedback

* Update per PR feedback.

* Doc edits
2018-10-04 14:42:24 -07:00
Brett Johnson b9432ee5a5 Updating Container Engine to new name (#439) 2018-10-04 09:43:24 -07:00
Joseph Burnett 6d21cd89cb Update README.md (#413)
Update autoscale-go serving sample with ContainerConcurrency changes (#1917).
2018-10-01 14:27:23 -07:00
Naomi Seyfer acd1adff92 Make example use the PORT env var instead of 8080 (#415) 2018-09-25 12:08:20 -07:00
RichieEscarez 0be86f6ff2
Remove incorrect kibana and elasticsearch pods (#402) 2018-09-21 13:46:32 -07:00
RichieEscarez 2dbecf0485
Fix directory name (#405) 2018-09-21 13:35:49 -07:00
John Howard b0b911fdca Fix typo in accessing-metrics command (#396) 2018-09-19 11:53:21 -07:00
Yanwei Guo 12e3364b2d Move the document and fluent image sample from serving repo to docs repo (#259)
* add doccument

* add reasons for plugins

* Formatted file

* add more details

* fix links

* Remove typo and duplicate steps +

+ made a few edits for clarity and consistency
2018-09-18 15:23:19 -07:00
Tyler Auerbeck d630a8fa81 Remove &image yaml anchors (#399) 2018-09-17 11:47:18 -07:00
Ahmet Alp Balkan a50281602f telemetry: document sd/prom manifest locations (#392)
By reading the docs, I can't tell where are these config/monitoring stuff.

So I'm adding sub-steps to (a) clone repo + cd + checkout to the release tag,
then (b) apply them.

Please /cc someone who knows about this stuff to verify.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-09-12 13:36:17 -07:00
Ahmet Alp Balkan f3c3580410 fix case sensitive #section anchors (#391)
Looks like anchors are case-sensitive. GitHub Markdown rendering creates
lower-case-section-anchors.

How many more of these there are, I'm not sure. But when I searched like

    ag --md '#[A-Z]'

This is the only such markdown page with such uppercase anchor references,
so I'm just fixing this page. Sorry for long commit message.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-09-12 12:21:16 -07:00
RichieEscarez 0304e7a85c cleanup remaining kubectl shorthand -o flags (#394)
* Cleanup remaining kubectl shorthand -o flags

* cleanup remaining kubectl shorthand -o flags

* cleanup remaining kubectl shorthand -o flags

* cleanup remaining kubectl shorthand -o flags
2018-09-12 10:46:16 -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
Ahmet Alp Balkan 648ac8a6a2 source-to-url-go: support multi-line base64 output (#389)
* source-to-url-go: support multi-line base64 output

if my password is long "echo password | base64" will yield in a multiline
string that can confuse users about how to put that thing in Kubernetes
Secret manifest.

Adding -w0 (and for macOS/BSD base64(1), -b0) solves that problem.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* slight revision of Note
2018-09-10 13:19:34 -07:00
Tyler Auerbeck 35c991aa95 Remove flag package import (#373) 2018-09-10 12:42:15 -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
Philipp Thun 37cbf823e8 Fix link to Error Conditions and Reporting page... (#364)
... that resides in the knative/serving repository.
2018-08-29 14:11:11 -07:00
Zhimin Xiang 6d564f81b2 Update ExternalDNS setup doc to require Cloud DNS scope when creating a cluster (#356)
* Require Cloud DNS scope when setting up external DNS

* fix typos

* Updates to markdown formatting; wording tweaks
2018-08-27 16:07:11 -07:00
David Buckley 135aea43b0 remove redundant step in source-to-url deployment (#346) 2018-08-24 11:15:59 -07:00
Zhimin Xiang 26a432a20f Doc to introduce how to install ExternalDNS within Knative (#325)
* doc to introduce how to install ExternalDNS

* address comments

* Wording edits

* address comments

* Wording update

* adding Google Cloud DNS link
2018-08-21 13:42:58 -07:00
Gaurav Abbi 1b52510c44 Add a helloworld sample for haskell (#316)
* Add a helloworld sample for haskell

* Use stack as the build tool
* Use scotty as a web framework
* Use docker multi-stage build to create a smaller runtime image

* Apply review comments on the README.md

* Apply language review comments

- Fix `service.yaml` indentation
- Change heading for sample code recreation
2018-08-21 09:07:58 -07:00
Sam O'Dell b45eee13da Correct name of .yaml file (#330) 2018-08-13 11:28:56 -07:00
doddatpivotal 258d5c040c Clarifies working directory to run command (#329)
* Clarifies working directory to run command

* Add link to Serving
2018-08-13 11:25:55 -07:00
Babatunde Olu-Isa c69898d06a Update accessing-logs.md (#327)
removed typo from document.
2018-08-13 08:40:55 -07:00
Averi Kitsch 8a96ccc39f Update Telemetry readmes (#248)
* telemetry draft

* style updates to logging pages

* moved elasticsearch instructions

* telemetry draft

* style updates to logging pages

* moved elasticsearch instructions

* move elastic search instructions back to installation page

* Add more details to specific steps

* fix markdown
2018-08-13 03:34:55 -07:00
Justin Grayston b8ceb24758 Add applying the knative route and config (#307)
Closes #306
2018-08-10 11:37:56 -07:00
Mike Helmick 8c2b7f60d8 Add an elixir language sample using the phoenix framework to the knat… (#298)
* Add an elixir language sample using the phoenix framework to the knative serving samples.

* Add links to Elixir and Phoenix Web sites.

* remove giant package-lock.json

* change -go to -elixir in readme.
2018-08-08 09:53:12 -07:00
Ryan Gregg 765589015c Remove space (#305) 2018-08-01 16:45:37 -07:00
James Bowes 3cc16b0373 Fix broken links in blue/green sample (#296) 2018-07-30 15:47:37 -07:00
Paul Czarkowski cc19f3970f fix source-to-url-go sample to use secret (#253)
* fix source-to-url-go sample to use secret

* fix pluralization for manifests
2018-07-30 13:39:36 -07:00
Chih-Chieh c43067e9c6 fixed typo in Hello World Spring Boot sample (#294) 2018-07-30 11:16:37 -07:00
Tyler Britten cac78d0494 Fix Typo in link (#284)
Link 404ed, fixed the typo
2018-07-27 14:12:35 -07:00
Jason Hall f4642e3147 Use stringData for build secrets (#280) 2018-07-26 13:59:35 -07:00
Marek Bartík a8a3ac176e fix typo in filename (#277)
sample.yaml -> service.yaml
2018-07-26 10:49:35 -07:00
Marek Bartík 8d7f477b87 fix wrong file name in the example (#275)
sample.yaml -> service.yaml
2018-07-26 10:23:35 -07:00
Mike Rostermund 4a83d87f3f Fix typo in comment (#271) 2018-07-25 13:39:34 -07:00
Sam O'Dell 3d9cc5ef4e Edits to Thumbnailer sample (#231)
* [WIP] Updates to Thumbnailer sample

* More edits

* More edits

* Update README.md

* Removing jq and 'service'

* Removing another 'service'

* Add language about external dependencies
2018-07-25 13:35:34 -07:00
Averi Kitsch 7b14350fa3 update Rest-API sample (#233)
* update Rest-api sample

* updates for PR comments
2018-07-25 13:19:35 -07:00
Nathan Hearnsberger 4db067317b Fixed Source to URL link (#269) 2018-07-25 10:16:35 -07:00
Ryan Gregg 2ed2a9cb38 Fix a domain typo (#258) 2018-07-24 15:21:34 -07:00
Ferran Rodenas 8d838046f6 Fix link typo: telemtry -> telemetry (#241) 2018-07-24 07:33:35 -07:00
Joseph Burnett cca2e039b5 More autoscale sample details (#242)
* Adding bloat and sleep commands to the sample.

* Run all three in parallel.

* Load test tool.

* Concurreny and qps settings for load test.

* Formating tweaks.

* Change health check address.

* Move load test into subdirectory.

* Delete hey Dockerfile now that we have our own load tester.

* Output resource usage summary from autoscale.go and total requests from load.go.

* Rename sample.yaml as service.yaml to match other samples.

* Update README to run new load test.

* A few README fixes.

* Stop test after duration.

* Add files via upload

* Add files via upload

* Add dashboard screenshots.

* Further experiments.

* Add metrics prerequisite.

* Replace Configuration and Revision with Service.

* Remove docs from image path.

* Revert edits to helloworld-go.
2018-07-24 07:14:34 -07:00
Mustafa Demirhan 094fdbbd1a Fixes to monitoring component installation. (#238) 2018-07-23 15:11:34 -07:00
Ryan Gregg 5f6deed9ca
Update gke-assigning-static-ip-address.md 2018-07-22 22:12:44 -07:00
Sam O'Dell b3feaf4164 Buildpack sample edits (#222)
* First edits to dotnet buildpack

* Updates to buildpack nodejs sample

* More edits to dotnet sample

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Making Ryan's suggested changes - dotnet

* Making Ryan's suggested changes - nodejs
2018-07-22 16:21:39 -07:00
Ivan Nikittin 68502bb573 Fixing language in the source to url sample (#189)
* Fixing language in the source to url sample

* Update README.md

* Update README.md

* Update README.md
2018-07-22 16:21:34 -07:00
Averi Kitsch 9379197eee add Traffic Splitting sample (#227)
* Add traffic splitting tutorial

* Add traffic splitting tutorial

* remind the user of env vars
2018-07-20 16:48:33 -07:00
Sam O'Dell 996815a363 Edits to build-private-go sample (#213)
* Edits to build-private-go sample

* More edits

* Fixing broken link

* Final edits

* Small tweaks to formatting; code comments

* Making Ryan's edits
2018-07-20 15:28:33 -07:00
Kent Rancourt 13a3f1bfa4 improve blue/green demo doc (#226) 2018-07-20 15:14:33 -07:00
Mark Chmarny 72e232b765
In case they don't have cert
before the assuming you have a cert
2018-07-20 11:31:17 -07:00
Sam O'Dell 5678b48964
Adding back --ignore-not-found=true flag 2018-07-20 11:27:22 -07:00
Ryan Gregg d0b78289f0
Update the gitwebhook sample (#215)
* Clean up sample

* Swap token IDs to the right values

* Set format to json

* Remove old yaml
2018-07-20 10:23:30 -07:00
Ryan Gregg 654804a423
Add verification step 2018-07-20 10:00:58 -07:00
Ryan Gregg 528ada8409
Update outbound-network-access.md 2018-07-20 09:55:45 -07:00
Ryan Gregg 273075e61a
Wrap text for easier reading 2018-07-20 09:54:39 -07:00
Jason Hall 67cae4aaac Add install instructions from public GitHub repo (#192)
* Use public build template URLs

* include buildpack samples
2018-07-20 09:33:33 -07:00
Mustafa Demirhan 73a2cae3e4 Documentation and sample fixes. (#197) 2018-07-19 17:02:32 -07:00
Ivan Nikittin eb81d13f40
Update README.md 2018-07-19 16:38:41 -07:00
Ivan Nikittin 048be0ce9f
Update README.md 2018-07-19 16:38:12 -07:00
Averi Kitsch 05ca189f7a Updated Routing Sample Readme (#198)
* Updated Routing Sample Readme

* Updates for MD rendering

* Fix length of env var command
2018-07-19 15:59:56 -07:00
Kent Rancourt 63cf27ed31 fix dockerhub auth in source-to-url example (#209) 2018-07-19 15:44:32 -07:00
Nghia Tran 8f413e239f How to use paid SSL cert with Knative (#146)
* Add simple SSL instruction.

* Remove whitespaces.

* Revise based on the comments

* Add license footer

* Add LetsEncrypt instructions

* Remove TLS limitation
2018-07-19 15:33:33 -07:00
Ryan Gregg c81e11176e Add license footer and text (#204) 2018-07-19 12:05:32 -07:00
Averi Kitsch 9e5d6a9788 Update Sample Readme (#199)
* add all samples to readme

* Few small edits
2018-07-19 10:10:33 -07:00
Ivan Nikittin df76c841a3
Title change to map to the use case 2018-07-18 18:03:11 -07:00
Ivan Nikittin b6ab55ed7e
Update using-a-custom-domain.md 2018-07-18 17:59:59 -07:00
Ivan Nikittin f1f6680619
Update README.md 2018-07-18 17:57:33 -07:00
Ivan Nikittin b8b334372c
Grammar and style edits 2018-07-18 17:45:59 -07:00
Ivan Nikittin ada4aef803 Delete setting-up-ingress-static-ip.md (#186)
This is a duplicate of https://github.com/knative/docs/blob/master/serving/
2018-07-18 17:05:32 -07:00
Ivan Nikittin 834b964e0f
Small updates to align with top-level readme text 2018-07-18 15:48:15 -07:00
Ivan Nikittin 8fbe2979f0
Update README.md 2018-07-18 15:22:01 -07:00
Sam O'Dell 98af565b55
Fixing broken link 2018-07-18 14:23:42 -07:00
Sam O'Dell 686ed5affe
Fixing broken links 2018-07-18 14:22:57 -07:00
Sam O'Dell 777226c5d7
Grammar/style tweaks 2018-07-18 14:20:33 -07:00
Sam O'Dell e0887a5370
Adds note about exiting watch mode 2018-07-18 14:17:17 -07:00
Sam O'Dell 911ca4117a
Fixes numbered list formatting 2018-07-18 14:16:22 -07:00
Sam O'Dell da93795496
Grammar edits 2018-07-18 14:12:34 -07:00
Sam O'Dell ce83fd9e29
typo fix 2018-07-18 14:10:33 -07:00
Sam O'Dell cec538bc75
Update README.md 2018-07-18 14:10:09 -07:00
Ivan Nikittin 8f6014530d
Delete auto-scaling-with-knative.md
Now, it's all in a sample https://github.com/knative/docs/tree/master/serving/samples/autoscale-go
2018-07-18 13:35:09 -07:00
Ivan Nikittin ca7137884b
Reorder and add links 2018-07-18 13:32:35 -07:00
Averi Kitsch 086635384c update Autoscale Readme (#184)
* Draft of Sample Readme

* Updated Autoscale Readme

* Revert "Draft of Sample Readme"

This reverts commit 00c25a7f88.

* fix perl file
2018-07-18 13:17:31 -07:00