Matt Moore
21f8ba899a
Fix up the GRPC sample in preparation for 0.4 ( #903 )
2019-02-19 07:15:48 -08:00
Matt Moore
eea4cea138
This adds a simple sample demonstrating Secret Volumes ( #852 )
...
This requires this new feature available in 0.4: https://github.com/knative/serving/pull/3061
2019-02-19 07:12:46 -08:00
mattmoor-sockpuppet
5cf66b78e7
Format markdown ( #913 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-02-19 06:50:47 -08:00
Dan Gerdesmeier
fc28f9071c
Update Serving Rest API example ( #881 )
...
* Update Serving Rest API example
This change updates the sample to use a Knative Service instead of a
Route and Configuration directly.
It also updates the instructions to:
* Add links to relevant external documentation
* Clarify steps and actions occuring in each step
* Use label selectors for querying child resources
* Require Knative 0.3 to simplify instructions
* Add missing backticks
* Updating numbering to use 1.
2019-02-15 17:10:44 -08:00
Dan Gerdesmeier
8016ad1a48
Address comments from #802 ( #901 )
...
The previous PR has already been merged. This one addresses outstanding
comments on pull request #802 .
2019-02-15 16:11:44 -08:00
Dan Gerdesmeier
53d7f688d4
Update metrics and ingress gateway documentation ( #802 )
...
* Update metrics and ingress gateway documentation
This change updates the metrics, logging, and ingress documentation with
information from documents in the Knative Serving repository. This is an
effort to centralize our user documentation in a single place.
This should allow us to remove the following files from Knative Serving
as they now contain either duplicative or out-dated information.
* https://github.com/knative/serving/blob/master/docs/telemetry.md
*
https://github.com/knative/serving/blob/master/docs/setting-up-custom-ingress-gateway.md
*
https://github.com/knative/serving/blob/master/docs/setting-up-ingress-static-ip.md
* Update serving/gke-assigning-static-ip-address.md
Co-Authored-By: dgerd <dangerd@google.com>
* Address comments
* Add TODO
2019-02-15 15:15:45 -08:00
mattmoor-sockpuppet
0728c5230b
Format markdown ( #894 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-02-14 06:50:44 -08:00
sullis
a71f1b9ab4
sbt 1.2.8 ( #871 )
2019-02-13 09:47:43 -08:00
Nghia Tran
df7afb0856
Update cluster-local-route.md ( #889 )
2019-02-13 08:34:43 -08:00
mattmoor-sockpuppet
a5d6ea8f7e
Format markdown ( #884 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-02-08 06:53:41 -08:00
Matt Moore
4037374784
Manually run prettier.io ( #880 )
...
* Manually run prettier.io
Trying to fix the stuff that hits prettier.io bugs.
* Fix prettier.io issues.
2019-02-07 16:04:41 -08:00
Viktor Klang (√)
e36f0d806f
Addressing a kubectl typo in helloworld-scala README ( #870 )
2019-02-04 08:44:39 -08:00
Viktor Klang (√)
0aba63a9e3
Adding a Serving sample for Scala which uses Akka HTTP ( #848 )
2019-02-01 20:52:38 -08:00
Steren
0d0f53a0ab
Node.js sample: Use index.js instead of app.js. ( #849 )
...
* Use index.js instead of app.js.
index.js is the more idiomatic for Node.js developers.
Indeed, it is the default value that npm start uses if no start script is provided.
* Update package.json
* Update README.md
* Update package.json
2019-01-31 10:35:37 -08:00
Dan Gerdesmeier
579de42707
Collapse documents from Knative Serving to docs repo ( #803 )
...
This collapses changes from application-deubgging-guide and
performance-investigation-guide in the Knative serving repo into the
debugging-application-issuses and debugging-performance-issues documents
in the documents repo.
2019-01-30 10:31:38 -08:00
Steren
996a43d378
Simplify Node.js package.json ( #825 )
...
* Simplify Node.js package.json
Since this is a Hello World, I do not think we need the `homepage`, `bugs` and `repository` attributes of package.json, but instead I suggest to keep it short in order to show the actual simplicity of the sample
* README missed the dependencies
2019-01-30 10:11:21 -08:00
Averi Kitsch
0d4c5c2dac
Add Community Sample Directory ( #805 )
...
* Move extra helloworld samples
* Add documentation for community samples
* Update readmes
2019-01-28 14:08:37 -08:00
Adam Ross
921aa488a9
serving/samples: remove EXPOSE directive from helloworld ( #644 )
...
* serving/samples: remove EXPOSE directive from helloworld
* serving/samples: update ENV PORT comment for clarified purpose
* serving/samples: update README for Dockerfile changes
2019-01-24 10:10:34 -08:00
Steren
5b5341f6f5
Use template literals in node sample ( #801 )
...
* Use template literals in node sample
* update README
2019-01-23 16:18:34 -08:00
Yanwei Guo
43bea1b3d5
update setting-up-a-logging-plugin.md ( #688 )
2019-01-23 10:16:35 -08:00
Zou Nengren
49494addfa
add default port for dart app ( #792 )
2019-01-23 10:12:34 -08:00
mattmoor-sockpuppet
1f82af8489
golang format tools ( #798 )
...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
`goimports -w $(find -name '*.go' | grep -v vendor)`
2019-01-22 16:23:33 -08:00
Steren
4448fd631a
Shell Hello World ( #753 )
...
* Shell Hello World
* Add README
* Create service.yaml
* Update README.md
* make linter happy
* Address feedback
* sample
* handle stder
* newline
* Update serving/samples/helloworld-shell/invoke.go
Co-Authored-By: steren <steren.giannini@gmail.com>
* indetation
* go sample
* Update serving/samples/helloworld-shell/README.md
Co-Authored-By: steren <steren.giannini@gmail.com>
* Update serving/samples/helloworld-shell/README.md
Co-Authored-By: steren <steren.giannini@gmail.com>
2019-01-22 11:50:22 -08:00
Sam O'Dell
75195f43cb
Updates monitoring in installs; rewrite of ICP install ( #786 )
...
* Updates monitoring; rewrite of ICP install
* Update install/Knative-with-ICP.md
Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
* Update install/Knative-with-ICP.md
Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
* Update install/Knative-with-ICP.md
Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
2019-01-17 15:53:31 -08:00
Steren
73e1ce86cd
Refactor Node.js sample to use arrow functions ( #749 )
2019-01-17 15:50:31 -08:00
Steren
530b5ee51d
fix Dockerfile comment ( #783 )
...
* fix Dockerfile comment
* fix readme
2019-01-17 11:25:31 -08:00
Nghia Tran
6a52303145
Update SSL and IP address docs to work with istio-ingressgateway. ( #776 )
...
* Update SSL and IP address docs to work with istio-ingressgateway.
* Change quoting per PR feedback.
2019-01-16 14:11:31 -08:00
Nghia Tran
9048eebd45
Instruction to make a Route/KService visible only inside cluster. ( #694 )
...
* Instruction to make a Route/KService visible only inside cluster.
* Address PR feedbacks.
* Remove redundant punctuations.
2019-01-16 10:34:31 -08:00
Nghia Tran
01b818c33f
Update docs to use correct ingress gateway service. ( #700 )
...
* Update docs to use correct ingress gateway service.
* Update wording of knative-ingressgateway deprecation.
* Update wording of knative-ingressgateway deprecation per feeeback.
2019-01-16 08:42:31 -08:00
Mustafa Demirhan
7766388b8f
Update installation instructions for logs, metrics and traces ( #763 )
...
* Update instructions to install logging and monitoring components.
* Update serving/installing-logging-metrics-traces.md
Co-Authored-By: mdemirhan <4033879+mdemirhan@users.noreply.github.com>
2019-01-15 11:16:30 -08:00
Steren
2078ae3723
Add link to image in Dockerhub ( #747 )
...
* Add link to image in Dockerhub
Mainly for consistency with other samples.
* also README
* Fixes indentation issue causing build test failure
* fix bullet list indentation
* attempt #2 -- fixing build failure
2019-01-15 10:18:31 -08:00
Ville Aikas
caed7ee6d0
use consistent env variables from install section ( #759 )
...
* use consistent env variables from install section
* fix existing lint problems causing test failures
2019-01-14 11:54:31 -08:00
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
Steren
67eef0f91b
Remove license header ( #744 )
...
This is a 30 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:06:26 -08:00
Adriano Cunha
49126fcc43
Add real build/unit presubmit tests ( #734 )
...
Addresses #66 .
Addresses #67 .
* Update test-infra to use the default build/unit test runners, which includes building go code and linting markdown files.
* Remove the integration tests, as they only start Knative Serving, which is irrelevant for this repo.
Bonuses:
* fix unbuildable `grpc-ping-go` sample
* remove test-infra import hack from `Gopack.lock` and `update-deps.sh`
2019-01-10 14:23:42 -08:00
mattmoor-sockpuppet
a6e62ae1ad
Format markdown ( #721 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-01-09 09:51:42 -08:00
Steren
1ef00e4f9e
Swift sample ( #710 )
...
* wift sample
* nodejs -> swift
* newline
* newline
* newline
* Update README.md
Minor wording changes, including:
-Using the present tense (instead of future).
-Using articles and nouns for file names ("kubectl" > "the kubectl command") - better for translation.
2019-01-07 13:37:40 -08:00
Matt Moore
fc6ccd7024
Manually run prettier.io ( #713 )
...
We've been having issues with prettier.io on one of the autoscaling markdown files, so I manually fixed that file so that it wouldn't trigger the issue and ran prettier.io over the repo using the normal @mattmoor-sockpuppet command.
2019-01-07 09:45:41 -08:00
Adam Ross
72f1777628
serving/samples/helloworld-php: use development php.ini ( #699 )
...
* serving/samples/helloworld-php: use development php.ini
* serving/samples/helloworld-php: update README
2019-01-03 15:19:39 -08:00
Joseph Burnett
69f5e6cd94
Add annotations to autoscale-go sample. ( #685 )
...
* Set target concurrency to 10 for more consistent testing.
* Use hey instead of /load-generator.
* Add panic mode to Algorithm section.
* Add Customization section with annotations.
* Add link to Kubecon demo.
* Update Other Experiments with hey commands.
* Clarify customized examples.
* Update Other Experiments comments to reflect limited test duration.
2018-12-28 10:10:37 -08:00
mattmoor-sockpuppet
3f9959f289
Format markdown ( #675 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2018-12-21 08:49:36 -08:00
RichieEscarez
15709fb082
Update old monitoring namespaces ( #674 )
...
* monitoring namespace to knative-monitoring
fixes : #407
* update to serving 0.2.3
2018-12-20 15:33:35 -08:00
Gaurav Abbi
a13a629e42
Add refernce to helloworld haskell section ( #672 )
2018-12-20 09:12:37 -08:00
Adam Ross
2a5147bd9b
serving/samples: update helloworld-nodejs to nodejs v10 ( #651 )
2018-12-19 11:39:35 -08:00
mattmoor-sockpuppet
58b37a4d18
Format markdown ( #669 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2018-12-19 10:35:35 -08:00
RichieEscarez
8be95b2089
Add link to source code ( #666 )
2018-12-18 17:33:35 -08:00
csamak
07bcdda117
Restore code in the helloworld-haskell README ( #661 )
...
The code was deleted in 41462c6
2018-12-17 21:40:34 -08:00
Ying Chun Guo
df75e7e488
fix an error in README of serving/sample/telemetry-go ( #659 )
2018-12-17 13:45:34 -08:00
mattmoor-sockpuppet
ef7ef10833
Format markdown ( #658 )
...
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2018-12-12 08:47:16 -08:00
Yifan Ge
7f185c4d08
Update service.yaml in the gitwebhook sample ( #648 )
...
Change the image name to match the instructions in README.
2018-12-11 13:44:16 -08:00