Commit Graph

37 Commits

Author SHA1 Message Date
Bozhao a6960299d4
Add machine learning serving example using python ()
* Add machine learning serving example using python

* Update readme

* update base on comments

* add python bentoml to the sample's list

* Add trailing newline
2020-04-13 09:42:11 -07:00
RichieEscarez a446321306 404 Fixes and Cherry-picks from 0.10 ()
* Secrets use GOOGLE_APPLICATION_CREDENTIALS as key ()

* [DOC] Add alternative shell command to delete knative service  ()

* Update getting-started-knative-app.md

It is very useful when `kservice` are created via API and not with files.

* Delete the word "record" per review.

* Fix typo in microk8s doc ()

* Fix the Subscription's apiVersion in debugging. ()

Fix the Subscription's apiVersion in eventing debugging example.yaml file.

According to the api register in `https://github.com/knative/eventing/tree/master/pkg/apis/messaging`. 
The Subscription Kind should be in messaging.knative.dev/v1alpha1, while the original file is "eventing.knative.dev/v1alpha1".
If apply the original file, the error happened "error: unable to recognize "example.yaml": no matches for kind "Subscription" in version "eventing.knative.dev/v1alpha1""

This update fix this bug.

* minor typo fix ()

* fix small typo in sample READMEs ()

* fix more broken links

* fix broken links

* update old readfile syntax

* revert dynamic var

* link to folder not readfile source

* fix bad markdown

* fix broken titles and links
2019-12-13 15:29:54 -08:00
RichieEscarez a8a1032de0 fix broken links (from link checking report tool testing) ()
* remove missed file

* fix more broken links

* fix markdown only link errors
2019-11-11 19:33:22 -08:00
Matt Moore 1359104439 Drop the manual gateway resolution from samples. ()
This builds on these changes to allow us to drop the manual gateway resolution from our samples:
https://github.com/knative/docs/pull/1839
https://github.com/knative/docs/pull/1840
https://github.com/knative/docs/pull/1841

The expectation is that samples are run in an environment with DNS suitably configured, even if
that is simply `xip.io` for development.
2019-10-02 11:44:07 -07:00
Matt Moore bf0eefc64d Fix a minor typo () 2019-10-01 09:18:04 -07:00
Nils Schmidt 49ebc27142 Improve gke static ip assign doc ()
* Remove error-prone if branch for ingress gateway name detection<

* Add gke example image of desired external IP address state

* Remove knative-ingressgateway due to versioned docs

* Remove knative-ingressgateway due to versioned docs in whole repo

* Fix indention
2019-09-24 09:57:44 -07:00
Matt Moore 8adb5cbe47 Use v1 everywhere for 0.10 ()
/hold

Need to wait for the docs 0.9 release cut.
2019-09-23 16:02:16 -07:00
Averi Kitsch 89c6b549b4 [samples] R sample with R server ()
* draft

* R plumber sample

* update Readme
2019-09-10 13:27:29 -07:00
Averi Kitsch 2c2d37d58f [docs] Update R sample to use Go ()
* Update R sample to use Go

* Dockerfile updates

* Update ReadMe
2019-08-29 14:25:46 -07:00
RichieEscarez 22f717fd63 make branchnames dynamic () 2019-08-08 14:32:58 -07:00
Averi Kitsch 1be53a692f Hello World Sample for R ()
* Helloworld R sample

* readme

* actually save the readme

* Update Docker and app

* Update readme release

* Update readme to match code
2019-08-08 12:01:57 -07:00
RichieEscarez 9a92f43ca2 Fix rendering issues due to nested shortcodes ()
* Community - move frontmatter into README

* Serving - move frontmatter into README

* swap readfile calls from README.md to index.md

* Eventing - move frontmatter into README
2019-08-01 09:38:43 -07:00
Matt Moore 595c6e86ef Revert the use of Serving v1beta1. () 2019-06-27 11:06:07 -07:00
mattmoor-sockpuppet 8e20be6848 Format markdown ()
Produced via:
  `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
/assign @samodell
2019-06-19 07:27:59 -07:00
Matt Moore 7ad28abafb Move all serving stuff to v1beta1 apiVersion ()
* Clean up some stragglers to the beta shape.

* Migrate all serving apiVersion to v1beta1.
2019-06-18 15:31:46 -07:00
Dan Gerdesmeier 0cdad17da4 Update community samples to use v1beta1 APIs ()
Replace the use of `runLatest` with `template`.
2019-06-12 10:42:43 -07:00
Matt Moore d1733f7a2c Migrate serving samples away from features disabled in 0.7. ()
Eliminate several samples using JIT Builds.

Stop using `.status.domain` everywhere.

Fixes: 
2019-06-10 16:12:42 -07:00
Jonas Finnemann Jensen b31a9bc6f5 Explain upstream ONBUILD instructions () 2019-06-03 16:35:34 -07:00
mattmoor-sockpuppet bedcd15489 Format markdown ()
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-22 07:23:30 -07:00
RichieEscarez ad876253b4 Fix community samples sub menu ()
* missing _index.md + shorttitles

* typo
2019-05-21 11:20:27 -07:00
Graeme Rocher 4d0a8573e3 Add Micronaut Sample ()
* Add Micronaut Sample

* Updated Dockerfile to use AdoptOpenJDK.

* renamed directory

* removed .factorypath

* ignore .factorypath

* removed PORT from Dockerfile
updated `application.yml` to respect port env var, and using a reasonable default

* renamed helloworld-micronaut to helloworld-java-micronaut

* Added frontmatter _index.md, and added link in samples/README.md

* small typo and PR#1202
2019-05-20 06:04:29 -07:00
Himanshu Pandey 793f2f3e12 Removed ENV PORT from all Docker files ()
* Removed ENV PORT from Docker files

* Added back the ENV key
2019-05-13 08:49:40 -07:00
mattmoor-sockpuppet 8d62a0b066 Format markdown ()
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-08 14:13:38 -07:00
Kamesh Sampath 4d7064dcf9 (docs): add quarkus java example ()
* (docs): add sample for Java Quarkus

- Updated build for quarkus v0.13.1
- Added extra toolset to the base image
- refactored to new folder under community samples

Resolves: 

Signed-off-by: Kamesh Sampath <ksampath@redhat.com>

* (fix): upgrade to Quarkus v0.13.0

- removed test classes
- removed native image build

* (refactor): remove buildah native image script

- remove buildah native image script and use the one from the base builder img
- remove expose port

* Updated configurationt to get port from env var

* removed PORT env var.
reformatted README code blocks

* (chore): Review comment updates

- (refactor) added native image builder dockerfile
- (refactor) added comments MVN_CMD_ARGS to allow building Quarkus in JVM mode
- (chore) updated the knative build to use the new community samples path
- (chore): add other common IDE files to dockerignore

Signed-off-by: Kamesh Sampath <ksampath@redhat.com>

* updated readme

* Simplified quarkus example

* remove unnecessary dockerfiles

* Respect PORT environmental variable

* remove extra ls in Dockerfile

* Edit to get the user up and running

got a window to test and run the local side of the sample:
- added maven
- clarified code options
otherwise, left the rest of the content as is
2019-05-07 19:35:37 -07:00
Kevin Moore 0d8cfba60f More cleanup for helloworld-dart sample ()
Align README.md content with code content
Fix a spelling issue
Ignore files as appropriate
2019-05-07 09:09:40 -07:00
mattmoor-sockpuppet 429da39a46 Format markdown ()
* Format markdown

Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`

* Revert the bad portion of the auto-format
2019-04-28 08:13:30 -07:00
SataQiu 2def64f4ae fix some spelling mistakes of doc () 2019-04-24 12:47:30 -07:00
RichieEscarez 1d778b87fc add community _index.md files () 2019-04-22 11:48:28 -07:00
lIuDuI bafe7456dd Fix typo Knatve -> Knative ()
Signed-off-by: xichengliudui <1693291525@qq.com>
2019-04-18 11:10:26 -07:00
Ahmet Alp Balkan 3f8fbb2ba0 helloworld-go: install CA certs ()
* helloworld-go: install CA certs

All users who are querying any HTTPS endpoints will need this and won't understand why it's failing.

* address fixes

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-04-15 11:30:00 -07:00
mockturtl de30848e62 fix README ()
Replace pubspec field `private` with `publish_to`.  [ref](https://www.dartlang.org/tools/pub/pubspec#publish_to)

See @52f464f.
2019-04-15 10:51:01 -07:00
Kevin Moore 52f464f44e Update community Dart sample ()
* ignore .packages – this is machine-specific

* Fix pubspec - use `publish_to` instead of `private`

Order keys to follow convention

* update dependencies

* code cleanup
2019-04-10 11:18:58 -07:00
chaodaiG 451509735f move shell sample over to docs () 2019-03-26 10:26:50 -07:00
mattmoor-sockpuppet 01d4ba31ec Format markdown ()
* Format markdown

Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`

* Apply suggestions from code review

Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>

* Undo parts of auto-correction that result in diff.
2019-03-24 21:12:49 -07:00
RichieEscarez 3c04f86ad7 Merge website files into Master ()
* Add front matter to Build files ()

* Update README.md

* Adding front matter to builds.md

* Update installing-build-component.md

* Update README.md

Revert changes so Richie can handle this with the index file

* Update builder-contract.md

* Update personas.md

* Update auth.md

* Update creating-builds.md

* Update build-templates.md

* sentence case

* sentence case

* sentence case

* Adding frontmatter to /install/ ()

* Adds front matter to Serving ()

* Update accessing-logs.md

* Update accessing-metrics.md

* Update accessing-traces.md

* Update cluster-local-route.md

* Update debugging-application-issues.md

* Update debugging-performance-issues.md

* Update gke-assigning-static-ip-address.md

* Update installing-logging-metrics-traces.md

* Update outbound-network-access.md

* Update setting-up-a-logging-plugin.md

* Update using-a-custom-domain.md

* Update using-an-ssl-cert.md

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

* Update using-external-dns-on-gcp.md

* site index for fluentd folder ()

* add Hugo index files and frontmatter ()

* hugo build files for autogen refdocs ()

* move resources and readme ()

* site: add blog ()

* add blog folder

* switch to sentence case

* site: add community and contributing ()

* add _index.md files and front matter

* switch to sentance case caps

* fix weights

* Update community/samples/README.md

Co-Authored-By: RichieEscarez <rescarez@google.com>

* site: restructure content into a "docs" directory ()

* move content into a 'docs' directory

* inject additional 'docs' directory

* site: add build files and front matter to serving samples ()

* new _index.md files and front matter

* serving samples + fix urls

* remove file

* add PR#851 - channels ()

* Update README.md ()

* Remove README.md from all links ()

* Remove README.md from all links

* mend

* mend

* mend

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* fix links in community ()

* Update _index.md ()

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

Adds missing pointer to README

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* revert

* fix build links ()

* site: fix eventing links ()

* fix eventing links

* Update README.md

* fix install links ()

* site: fix serving links ()

* fix serving links

* Update using-external-dns-on-gcp.md

* remove hardcoded github link ()

* Update README.md ()

Fix links by removing md file extensions.

* Fix links ()

* Fix links

* Update installing-build-component.md

* Update builder-contract.md

* add missing hello-world directory ()

* Link fixes for Build ()

* Fix links

* Update installing-build-component.md

* Update builder-contract.md

* Update creating-builds.md

* Update builder-contract.md

* Update builds.md

* Update creating-builds.md

* Update installing-build-component.md

* Update installing-build-component.md

* Update creating-builds.md

* Update creating-builds.md

* Update builds.md

* Update build-templates.md

* convert to Hugo rel link

* Manually run prettier.io ()

* Manually run prettier.io

Trying to fix the stuff that hits prettier.io bugs.

* Fix prettier.io issues.

* Revert manual link fixes (use new build script instead) ()

* Revert "convert to Hugo rel link"

This reverts commit f1bbc8ebbc.

* Revert "Fix links ()"

This reverts commit 3a57ffed62.

* Revert "remove hardcoded github link ()"

This reverts commit fb7fdd9383.

* Revert "site: fix serving links ()"

This reverts commit f61514c1b4.

* Revert "fix install links ()"

This reverts commit 1fcf32b509.

* Revert "site: fix eventing links ()"

This reverts commit 880916567e.

* Revert "fix build links ()"

This reverts commit 847e08bf2e.

* Revert "fix links in community ()"

This reverts commit 0cd5a44baf.

* Revert "Remove README.md from all links ()"

This reverts commit 2029c8bccb.

* Revert "Update README.md ()"

This reverts commit 072c731155.

* Adding frontmatter to Gloo guide ()

*  adding frontmatter; cherry-picking commit into 0.3 ()

* Deploy using private registry ()

* new doc for deploying with private registry

* update last few steps

* header sizes

* capitalization

* updating with correct registry annotation and small edits

* wording

* formatting

* formatting

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* update based on feedback

* missing <

* adding tic marks for filename

* udpate with helloworld-go sample

* add testing application

* update return from helloworld app

* update readme with link to doc

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* adding frontmatter; cherry-picking commit into 0.3

* Update Knative-with-Minishift.md ()

Update to correct title (Openshift > Minishift), as mentioned by Ashleigh in the Docs WG.

* add type:docs + enable relative links ()

* Deleting an unnecessary file

accidentally copied in extra file

* update ref docs api build script and files ()

* all links must have ./ ()

* all links must have ./

* Update contributing/README.md

Co-Authored-By: RichieEscarez <rescarez@google.com>

* Update contributing/README.md

Co-Authored-By: RichieEscarez <rescarez@google.com>

* Update for clarity

* Update README.md

Fixing my poorly formatting suggestion

* ref tool steps + script ()

* Incorporate edits from  ()

* Incorporate edits from 

* Add "contributor" info link

* page-by-page link check fixes ()

* update readmes - source and site versions

* rename file to fix left nav

* rename file and remove folder to fix left nav
2019-03-20 13:48:47 -07:00
Matt Moore 4037374784 Manually run prettier.io ()
* 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
Averi Kitsch 0d4c5c2dac Add Community Sample Directory ()
* Move extra helloworld samples

* Add documentation for community samples

* Update readmes
2019-01-28 14:08:37 -08:00