Commit Graph

1187 Commits

Author SHA1 Message Date
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 1a99a80a3f Tweaks to custom install for v0.3 (#779)
* Tweaks to custom install for v0.3

* More tweaks from comments
2019-01-18 17:30:32 -08:00
Adam Harwayne b850378d5c Debugging tutorial for Knative Eventing (#785)
* Initial work on a debugging tutorial for Knative Eventing.

* Address comments and small improvements.
2019-01-18 07:57:33 -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
Sam O'Dell 560d2e778a Typo fix (#787) 2019-01-17 15:45:31 -08:00
Grant Rodgers 032563dd02 Document default channels for users and operators (#723)
* Document default channels for users and operators

Features described were added in
https://github.com/knative/eventing/pull/580.

* Link to default-channels.md in eventing README

Adds a Configuration heading for topics unrelated to Getting Started.

* Briefly describe default channels in heading

Co-Authored-By: grantr <grantr@gmail.com>

* Update in response to feedback

Better README flow.
Explain why default channels can't have arguments.
2019-01-17 15:40:31 -08:00
Steren 530b5ee51d fix Dockerfile comment (#783)
* fix Dockerfile comment

* fix readme
2019-01-17 11:25:31 -08:00
Sam O'Dell 380269c43c Update subscriber.yaml from gcp-pubsub sample to v0.3 (#778)
* Update subscriber.yaml from gcp-pubsub sample to v3.0

* Update subscriber.yaml
2019-01-17 11:08:31 -08:00
Sam O'Dell 39e9c199ea Update builder-contract.md (#782)
* Update builder-contract.md

* Update build/builder-contract.md

Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
2019-01-17 10:52:31 -08:00
Sam O'Dell 1c15c8e5f4 Improvements to spacing and install wording (#784)
* Improvements to spacing

* Updates wording for what's included in the installs
2019-01-17 10:45:31 -08:00
Ville Aikas 228fe6135d update version to v0.3.0 (#777)
* update version to v0.3.0

* remove outdated pubsub instructions and point to sources
2019-01-16 16:03:31 -08:00
Matthias Wessendorf 461ea79462 Using latest minishift, which does default to OKD 3.11.0 (#485) 2019-01-16 15:25:31 -08:00
aslom a9838d68c6 Update kube-version to 1.10.7 (#397)
* Update kube-version to 1.10.7


```
knative1 $ ibmcloud cs cluster-create --name=$CLUSTER_NAME \
>   --zone=$CLUSTER_ZONE \
>   --kube-version=1.10.3 \
>   --machine-type=b2c.4x16 \
>   --workers=3
Creating cluster...
FAILED

A previous patch was specified. Only the most recent patch for a particular minor version can be specified during cluster-create.  To list supported Kubernetes versions, run 'ibmcloud ks kube-versions'. (E0156)
Incident ID: 5533234a-df08-478b-b298-ab0ddbe67dfe
knative1 $ ibmcloud ks kube-versions
OK
Version
1.8.15 (deprecated, unsupported in 9 days)
1.9.10
1.10.7 (default)
1.11.2
To assess the differences across versions, see https://console.bluemix.net/docs/containers/cs_versions.html#cs_versions.
```

After change:

```
knative1 $  ibmcloud cs cluster-create --name=$CLUSTER_NAME \
>       --zone=$CLUSTER_ZONE \
>       --kube-version=1.10.7 \
>       --machine-type=b2c.4x16 \
>       --workers=3
Creating cluster...
OK
```

* No longer use --kube-version to avoid need to change instructions

* Update Knative-with-IKS.md
2019-01-16 15:22:31 -08:00
Russ Taylor 86f4134171 Fixes #385 (#470)
Explains parameters like `build.knative.dev/git-0` under the examples.
This could be explained _somewhat_ more in the comments in the examples
themselves. If we think that approach would be preferable, I'm happy to
update this.
2019-01-16 15:18: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
Guang Ya Liu 5adffc4a8e Adding IBM Cloud Private install to index. (#774) 2019-01-16 14:07: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
Sam O'Dell 6710dfa703 Update custom install for v.0.3 (#771) 2019-01-16 09:03:31 -08:00
Grant Rodgers 78ed03f84b Add a tutorial for writing an event source (#715)
* Add a tutorial for writing an event source

Also published at https://github.com/grantr/event-source-the-hard-way.
Reference code at https://github.com/grantr/sample-source.

Currently only goes through writing the controller. Writing a dispatcher
is TODO.

* Add SampleSource as a MetaSource

Not sure if this counts as a meta source, but it's not a real source
either. Maybe there should be a category for example sources?

* Update for review feedback

Labs now called Steps
Move tools section to readme
Move create repo to bootstrap
Move alternatives section to end of readme
Delete empty step

* Fix typo

* Update for feedback

Reword target audience sentence.
Move TODO to a comment so it's invisible.
Mention more clearly the existing sink resolution helpers.

* Link to knative code when it's referenced
2019-01-16 08:57:31 -08:00
Vadim Raskin 7ff023dc3a Bump required kube version to 1.11 to align with v0.3.0 release (#767)
* Bump required version of kube to align with v0.3.0 release

* Leave kubectl version on 1.10
2019-01-16 08:47: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
Adriano Cunha 166b4d6cfd Disable markdown link checks (#773)
Addresses #772.
2019-01-15 16:55:30 -08:00
Grant Rodgers d46c836ae5 GCPPubSubSource moved to contrib (#770) 2019-01-15 15:30:30 -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
Grant Rodgers fb4bb9254e Use release.yaml instead of eventing.yaml (#762)
eventing.yaml doesn't install the in-memory provisioner, release.yaml
does. Since the provisioner is required to run the samples, we should be
telling users to install release.yaml.
2019-01-15 10:21:31 -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
Adriano Cunha b6732c9216 Update presubmit tests (#769)
Fixes #750.

* disable markdown linting
* ignore localhost links when checking for dead links in markdown files

Bonus: fix link in README.md
2019-01-15 10:09:30 -08:00
Ville Aikas 97c14659d1 Note about outbound access (#764)
* Add a note about enabling outbound access

* fix bold tags

* more rejiggering

* deal with existing lint issues, change to header as per linter

* remove subheader
2019-01-14 15:23: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
Eric Sauer 4bdb19e384 Adding missing scc binding for istio on openshift (#743) 2019-01-10 12:46:43 -08:00
Sam O'Dell f97bb690fc Update installs to 3.0 releases; fixing error in some install commands (#741) 2019-01-10 11:35:42 -08:00
Brendan 8d25caa761 Fix syntax of Knative install command (#736) 2019-01-10 08:53:42 -08:00
Sam O'Dell 88bd58a7c5 Organizing install guides; adding link to Custom Install guide. (#565)
* Organizing install guides; adding link to Custom Install guide.

* Adding links to samples for all components.

* Updating install versions

* Resolving conflicts, updating README

* update to Serving 0.2.3

* update to Serving 0.2.3

* update to Serving 0.2.3

* update to Serving 0.2.3

* update to Serving 0.2.3

* update to Serving 0.2.3
2019-01-09 20:16: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
RichieEscarez d7eae8b3fb Add custom install and Knative codelab links (#720)
* Add custom install and Knative codelab links

* remove custom install 

forgot that https://github.com/knative/docs/pull/565/files exists

* remove colon
2019-01-09 09:48:42 -08:00
Doug Davis 7ee2d22014 Tweaks docs to create Istio CRDs first - part 2 (#731)
Continuation of #717 - get the rest of the install docs

Signed-off-by: Doug Davis <dug@us.ibm.com>
2019-01-08 17:34:42 -08:00
Doug Davis 5560ccbb98 Tweaks docs to create Istio CRDs first (#717)
* Tweaks docs to create Istio CRDs first

Closes #540

If people are ok with this change I'll make similar modifications to the other
instruction files too.

Signed-off-by: Doug Davis <dug@us.ibm.com>

* Update Knative-with-IKS.md
2019-01-08 17:06:42 -08:00
Ahmet Alp Balkan df7c2b5dff api-reference: Add API reference docs (#714)
Generated with https://github.com/ahmetb/gen-crd-api-reference-docs and
this patch includes the script to self-serve this process. I hope to improve
this stuff in the future, for now it works fine.

Fixes #636.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-01-08 12:45:41 -08:00
Galo Navarro 0e9baf68aa docs: add AWS SQS source to README (#708)
Signed-off-by: Galo Navarro <anglorvaroa@gmail.com>
2019-01-08 10:34:42 -08:00
zxxa f31d7106a1 Update doc for knative deploy on IBMCloudPrivate (#660)
* Update doc for knative deploy on IBMCloudPrivate

* Simplify IBMCloudPrivate Installation Steps

* Change configuration order

* Re-add lost edits + improvements and fixes

Redo the overwritten commit, clarify security policy steps, fix indentation errors
2019-01-07 15:16:41 -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
mattmoor-sockpuppet 0f52b96b7a golang format tools (#711)
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-07 09:16:41 -08:00
Roland Huß 4108969408 fix(README): tiny cosmetic formatting fix (#703) 2019-01-04 10:18:40 -08:00
Roland Huß ad7a9b9fcb fix(README): "repository" -> "registry" (#704)
I'm supposing you are referring to an image registry here (and not a git repository).
2019-01-04 10:03:40 -08:00
Adam Harwayne 48a13abbfb Event Sources List (#701)
* Initial work on a list of Knative event sources.

* Initial generator code.

* Vendor the yaml.v2 dependency.

* Typo

* Remove new lines.

* Link to Sources.md from README.md.

* Add a warning that this is a generated file to Sources.md.

* Generate README.md, rather than Sources.yaml.

* Rename SourcesTemplate to ReadmeTemplate.

* Rewording.

* Make the generated file message invisible.
2019-01-04 09:05:40 -08:00