Commit Graph

570 Commits

Author SHA1 Message Date
Adriano Cunha 5c7ec25226 Create presubmit and end-to-end test infrastructure (#68)
* Create presubmit and end-to-end test infrastructure

Partially addresses #65.

Note that build, unit and integration tests are currently placeholders for the real stuff (see #67, #66 and #30).

* Fixes:
* Correctly wait for knative/serving to be up
* Add proper E2E header, stating that no tests are run
2018-07-03 13:07:28 -07:00
Zhimin Xiang 88861c6cbb Replace Ingress/RouteRule in sample/knative-routing with VirtualService (#61)
* Replace Ingress/RouteRule in sample/knative-routing with VirtualService

* fix typos and update the graph

* fix typos
2018-07-03 08:48:02 -07:00
Zhimin Xiang f27c719d2e Replace Ingress with Gateway in the instruction of setting up static IP (#1456)
* Replace Ingress with Gateway

* fix typos

* fix typo
2018-07-02 21:49:19 -07:00
Zhimin Xiang 0500d5f629 Add instruction to set up local DNS and reference instructions of setting static IP (#46)
* 1. Add an instruction to set up local DNS. 2. reference the instruction of setting up static IP in this doc

* fix typo

* Use command line to add IP-domain record into /etc/hosts

* fix typo
2018-07-02 16:00:55 -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
Bernd Krannich 445c445e30 Fix Kibana UI link (#1435) 2018-07-02 01:03:19 -07:00
Jason Hall a1b43fbe48 Update Build vendor (#1384)
* Update build vendor, fix tests

* Update build.dev references

* update commit

* Update build vendor, fix tests

* update commit

* update

* update build/release.yaml

* Update samples to use revision instead of branch

* update dep
2018-07-01 19:38:26 -07:00
Steren b726c2f40d Simplify DNS instructions (#54)
* Simplify DNS instructions

- make it clearer that the `data:` snippet is truncated.
- Demonstrate the simple use case of using a single custom domain name for all routes.
- fix typo

* use example.com
2018-06-29 17:01:07 -07:00
Steren fce9337981 Minor fix for Go hello world curl output (#52) 2018-06-29 16:19:26 -07:00
Steren 4c2a1c19a0 do not use FQDN acronym, use the fully qualified name (#53) 2018-06-29 16:07:41 -07:00
jonjohnsonjr 7aa1bdaf3b gofmt telemetry.md example (#1393) 2018-06-29 15:56:38 -07:00
Nghia Tran 519d3c0611 Migrate to Istio v1alpha3 Gateway / VirtualService (#1228)
* Move to using Istio v1alpha3 API.

* Removing ingressInformer from controllers since we no longer need.

* Update typo and utilization target for HPA.

* Add README.md to explain how we create these types.

* Update per PR feedback

* Update per PR feedback.

* Add back the timeout settings.

The timeout headers were added when we used v1alpha2 in order to allow
more time for 0->1 scaling.  I accidentally undo that change when
moving to v1alpha3.  This adds it back.

* Run hack/update-codegen.sh.

* Update per PR feedback.

* Update per PR feedback.

* Update per PR feedback.
2018-06-29 11:33:36 -07:00
Sukhil Suresh eb9210501c Certain registries can now skip tag to digest resolving (#1390)
By default the controller is configured to skip resolving
for the following registries:
- ko.local
- dev.local

This should address issue #1093

Co-authored-by: Sukhil Suresh <ssuresh@pivotal.io>
2018-06-29 09:49:42 -07:00
Jason Hall bf5b1f5925 Move docs from build repo (#40) 2018-06-28 16:16:03 -07:00
Tanzeeb Khalili 20f7d305a9 Fixes Minikube documentation (#38) 2018-06-28 16:14:33 -07:00
Mark Fisher abd06afbe3 update the serving namespace and fix minor typo (#34) 2018-06-28 16:04:32 -07:00
Ryan Gregg 723b407c80
Convert hello world samples to using Docker (#42) 2018-06-28 16:03:16 -07:00
Ryan Gregg 031584d128
Move build stamples from knative/serving (#36) 2018-06-28 16:02:30 -07:00
jonjohnsonjr 73ae06d6cd Remove lingering use of glog (#1391)
* Remove lingering use of glog

We can't remove it as a dependency, since we need to set its verbosity
level in test/logging.go still.

We can't remove it from pkg/client/clientset/versioned/clientset.go
because it's generated.

This also leaves some references to glog in docs/telemetry.md, since
it's not clear what we should recommend.

* Remove generating logs section
2018-06-28 14:47:53 -07:00
Mark Fisher eff94c8833 fix install links in README (#33) 2018-06-28 10:15:07 -07:00
Thomas Risberg 9e1d72a7bc Add helloworld-java Spring Boot sample app (#31) 2018-06-28 10:02:26 -07:00
jonjohnsonjr ca31cf0407 Rename ela things (#1378)
Notably, ela-prow and elafros-e2e-tests, and image names are left.
2018-06-27 21:37:15 -07:00
Steren fdfd94d9f0 Add Rust sample (#19) 2018-06-27 21:18:50 -07:00
Christie Wilson ad4d987f60 Update minikube docs post rename (#1332)
The docs for setting up minikube were using the namespaces and
resource names from elafros instead of knative. The naming changed
slightly, e.g. a knative controller is now called `controller`
instead of `knative-serving-controller`, so one of the loops had
to be broken into 2 statements.

Added steps about redeploying pods after setting up GCR
secrets b/c there is a chicken and egg problem where the namespaces
must exist before you can setup the secrets, but the secrets must
exist before the images can be pulled.

The PR that enabled `MutatingAdmissionWebhook` by default
(https://github.com/kubernetes/minikube/pull/2547) was merged, but
the latest minikube (0.28.0) still did not enable this option
by default b/c providing any arugments overrides all of the defaults,
so we must still set it explicitly.

Made it clear in the setting up knative serving docs that the cluster
admin binding is required, not just for istio.

Use a `NodePort` instead of a `LoadBalancer`
(see https://github.com/kubernetes/minikube/issues/384) - another
step along the road to #608.
2018-06-27 15:04:21 -07:00
Ryan Gregg aa2299f6fd
Update readme (#26) 2018-06-27 11:32:13 -07:00
Ryan Gregg b0b8f66204
Fix markdown rendering issue 2018-06-26 18:09:11 -07:00
jessiezcc 85e0a10c11 Documentation on how to deploy with custom domain (#29)
* add DNS instructions
* route change
* Update for editing with kubectl
2018-06-26 18:07:30 -07:00
Zhimin Xiang c9b08fe9ca Instruction to set static IP for Ingresses (#1275)
* add instruction to set static IP for Ingresses

* Add link in DEVELOPMENT.md to reference setting-up-ingress-static-ip doc

* fix typos

* fix typos

* Update the doc to use 'kubectl patch' to update istio-ingress service IP

* rephrase the doc a little bit

* fix typos

* fix nits

* wrap each line to 80 characters
2018-06-26 18:04:20 -07:00
Sam O'Dell 896bd5dac0 Updates to application debugging and telemetry documentation (#1258)
* Updates to debugging guide

* Update telemetry.md

Edit for clarity, add screenshots, steps, etc. Still need to upload screenshots and add in links

* Add two screenshots of the Kibana UI

* Add urls to screenshots

* Adding troubleshooting on Istio routing

Needs to be more actionable, but this is a start.

* Wording, grammer, etc.

* Typo fix

* Update telemetry.md

* Update telemetry.md

* Update telemetry.md

* Addressing Ivan's comments

* Remove reference to Pantheon

* Update telemetry.md

Clarify the relationship between Kibana and Elasticsearch

* Fixing whitespace so list renders properly

* Responding to Evan's comments

* More updates from Evan's PR comments

* Created a /docs/images folder for Kibana screenshots, fixed line wrapping.

* Adding docs/images folder.

* Making links to images relative.

* Removed hover text from link.
2018-06-26 17:24:21 -07:00
Ryan Gregg 44b22c568d
Update install docs to handle multiple platforms (#28)
* Add readme, move GKE to new file
* Fix links
2018-06-26 16:46:42 -07:00
Ryan Gregg 21af3915cb
Update contribution info for docs repo (#25)
* Update contrib info

* Add email address
2018-06-26 16:38:55 -07:00
Ryan Gregg 84b673f54f
migrate install docs (#27) 2018-06-26 16:36:58 -07:00
Mustafa Demirhan 9bf7825dc9 Hello world sample for PHP (#15) 2018-06-26 15:17:41 -07:00
Ryan Gregg b3b1714329
Migrate samples from knative/serving (#22) 2018-06-26 14:58:54 -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 35094b0bd5
Create OWNERS 2018-06-26 14:57:16 -07:00
Thomas Risberg 6d3a3c5f47 Rename namespace to knative-serving (#1325) 2018-06-25 14:23:20 -07:00
Ryan Gregg 29fdc3ad52 Rename to service.yaml (#12) 2018-06-25 09:29:04 -07:00
Mustafa Demirhan 1fd5c0b205
Knative Hello World samples written in Python and Ruby. (#10)
Knative Hello World samples written in Python and Ruby.
2018-06-22 15:19:02 -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
Ryan Gregg 23273dbb34 Add some hierachy (#8) 2018-06-21 14:02:57 -07:00
Mark Chmarny db44697c5f
Initial commit 2018-06-21 11:21:10 -07:00
Nghia Tran fd5b2b3d1e Update instruction to use latest GKE and COS image. (#1294)
* Update to use latest GKE and COS image.

* Fix e2e test, again

* Fix kubetest extract strategy

* Add back the node-image option
2018-06-21 10:37:19 -07:00
jonjohnsonjr 79b0e5879b Proposal: More uniform conditions (#1266)
* Conditions proposal

Replace LatestRevisionReady condition with:
Configuration.Status.Ready
Service.Status.ConfigurationReady

Updated Service Status to include:
Ready
ConfigurationReady
RouteReady

The overall condition of any resource can be checked by looking at its
Ready condition. This simplifies the logic for clients that need to poll
for Readiness.

For Service, the status of its owned resources can be checked by looking
at its ConfigurationReady and RouteReady conditions. This saves clients
from having to perform an extra hop to determine why a Service is not
Ready. The Ready condition of a Service should reflect a union of the
Ready conditions of its owned Configuration and Route.

Also fix typo: s/meassage/message/

* Pluralize conditions

* Add missing condition to errors example
2018-06-21 08:44:18 -07:00
Glyn Normington 62595dbc36 Retired serving state is not set anywhere (#1204) 2018-06-15 12:50:26 -07:00
Thomas Risberg 0427e45fe1 Changing Minikube instructions to use kubeadm as the bootstrapper (#1192)
- changing to k8s v1.10.4

- changing extra-config options to use kubeadm style keys
2018-06-14 13:24:16 -07:00
Ryan Gregg 8128e72a01 Fix typo (#1182) 2018-06-12 16:08:15 -07:00
Joseph Burnett fe22ba2887 Move scaling documentation to docs (#1170)
* Add scaling folder.

* Move autoscaling roadmap.

* Pointer to the new scaling docs folder.

* Update README.md

* Fix autoscaler.go link.
2018-06-12 12:17:15 -07:00