Commit Graph

33 Commits

Author SHA1 Message Date
jonjohnsonjr 1f4b8af54c Add ko local flag to kube cluster instructions (#1546)
* Add ko local flag to kube cluster instructions

* Address feedback

* Comments
2018-07-09 18:33:33 -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
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
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
Thomas Risberg 6d3a3c5f47 Rename namespace to knative-serving (#1325) 2018-06-25 14:23:20 -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
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
Sukhil Suresh ea0bba0954 Command group name has to be `clusters` instead of `cluster` for (step 5); the `get-credentials` sample command (#1125)
Failed with group name `cluster`:
```
± |master ✓| → gcloud container cluster get-credentials ssuresh-knative-dev
ERROR: (gcloud.container) Invalid choice: 'cluster'. Did you mean 'clusters'?
Usage: gcloud container [optional flags] <group | command>
  group may be           builds | clusters | images | node-pools | operations
  command may be         get-server-config

For detailed information on this command and its flags, run:
  gcloud container --help
```

Works with group name `clusters`:
```
± |master ✓| → gcloud container clusters get-credentials ssuresh-knative-dev
Fetching cluster endpoint and auth data.
kubeconfig entry generated for ssuresh-knative-dev.
```
2018-06-11 11:18:15 -07:00
Evan Anderson 9b8ed3a237 Add notes about how to use `gcloud container clusters get-credentials` (#1111) 2018-06-08 11:00:14 -07:00
jonjohnsonjr ff2a6276b9 Rename most ela-* things (#1045)
* Rename most ela-* things

Left `ela-prow` since that is an external dependency that might break.

* Fix filenames

* Revert some e2e test changes

* attempt to fight the Walk function

* Address feedback

* Rearrange yaml order

Attempt to reflect the important-looking order from bazel's build rules.

See: a15e38795b/config/BUILD.bazel (L121-L138)
2018-06-05 11:10:13 -07:00
jonjohnsonjr 6dda4f8465 s/ela-system/knative-serving-system/g (#1042)
Rename "ela-system" namespace to "knative-serving-system"

Fixes #1034.
2018-06-04 14:29:12 -07:00
Matt Moore 161f005dbc Switch e2e and docs to use GKE 1.10 now that it is GA. (#945)
* Switch e2e and docs to use GKE 1.10 now that it is GA.

* Use Ubuntu images until the kernel bug is fixed in COS.

* Correct the minikube version.
2018-06-04 08:59:12 -07:00
Matt Moore 56f12ce50a Rename Elafros to Knative Serving in non-Community markdown files. (#1019) 2018-06-01 13:15:11 -07:00
Ville Aikas 86ea1a1976 Rename repo to knative (#1009)
* elafros/elafros -> knative/service

* replace elafros with knative

* changed ela package to serving

* change elafros/build to knative/build and newer version

* things are running mostly

* address build / test failures

* address integration test failures

* repo has not chnaged
2018-05-31 17:21:11 -07:00
Matt Moore 2f6b12db5e Add `ko` to our DEVELOPMENT documentation. (#909) 2018-05-18 07:54:05 -07:00
Thomas Risberg c97e773daf Minikube doc updates (#802)
* Remove SecurityContextDeny from minikube instructions

Fixes #507

* Updated docs to work with minikube v0.26.0 and later

Fixes #801

- use explicit bootstrapper arg and

- also added a macOS specific startup command for easier cut-and-paste.

* Fix typo

* Switch to use `hyperkit` vm-driver instead of `xhyve` on macOS
2018-05-07 10:33:24 -07:00
akyyy 940b26614e Update Gke version (#702)
* update gke version in e2e test

* update gke version
2018-04-20 15:28:09 -07:00
Grant Rodgers be7700bb17 Update the minikube k8s version to 1.9.4 (#485)
Latest version as of minikube v0.25.2.
2018-03-30 11:21:20 -07:00
Grant Rodgers 31c72e9a24 Enable certificate controller on Minikube (#506)
The certificate controller is required to configure the istio sidecar
injector webhook, but Minikube doesn't give it the paths to the CA certs
by default, so it can't start.

These paths are local to the VM, not the host machine, so they are the
same for all users.
2018-03-27 09:27:13 -07:00
Nghia Tran a93e410f58 Remove unnecessary step from GKE cluster setup. (#428) 2018-03-20 08:49:06 -07:00
Grant Rodgers 90cc9d760f Update to latest GKE version (#410) 2018-03-19 09:15:59 -07:00
Grant Rodgers b7db54372f Some notes on GKE and registry docs (#296)
* Add note about GCP costing money unless trial

* Add placeholder for local registry instructions
2018-03-12 12:35:46 -07:00
Joseph Burnett b29f18ff87 Increase default node cpu size from 1 to 4. (#335)
Use 4 CPU nodes in setup instructions

The conformance tests have been failing and in @josephburnett 's investigation he found that it was the autoscaler changes made the tests CPU starved, and so we need beefier machines to be able to run the tests (i.e. to run elafros).

Follow up work still todo: documenting minimum system requirements.
2018-03-09 16:53:48 -08:00
Adriano Cunha a96937236f Minor documentation fixes. (#328)
* kvm is deprecated, use kvm2 in the setup docs.

* Fix alias expansion in GOPATH example.
2018-03-08 14:35:46 -08:00
Nghia Tran c2f1e9789c More documentations regarding K8S_USER_OVERRIDE. (#310)
More documentations regarding K8S_USER_OVERRIDE.
2018-03-07 15:03:18 -08:00
Adriano Cunha b2bdb9d0d1 Assorted fixes in documentation and conformance tests. (#302)
* Remove extra _ in markdown file.

* Fix flag for running conformance tests with bazel.

* Fix conformance tests.

Commit #300 updated Route.Spec.Traffic.{Revision,Configuration} to end with Name.
2018-03-07 10:15:35 -08:00
Nghia Tran 5016471aae Add the Istio cluster-role-binding to :everything. (#295)
Add the Istio cluster-role-binding to :everything.
2018-03-06 13:57:38 -08:00
Drew Inglis 1757a5485f Markdown cleanup on the "Creating a K8s Cluster" doc (#195)
1. Change - unordered list to use *
2. Change ordered lists to use lazy numbering (write 1 inline instead of
2-9)
3. Fix line lengths
4. Fix indentation on shell code sample
2018-02-20 14:51:49 -08:00
Drew Inglis 078611aca3 Add instructions for configuring GCR (#182)
We should eventually add instructions for other registries, but this
will help people using GCR to get started.
2018-02-20 14:06:45 -08:00
Grant Rodgers 7461c50ace Add docs for using minikube with GCR (#188)
* Add docs for using minikube with GCR

* Add example showing creation of image pull secret

* Clarify that secrets are per-namespace

* GCR has repos, not instances

* create secrets for build-controller too

* Mention default service account and more docs

* Add env var for GCR domain
2018-02-16 10:02:58 -08:00
Grant Rodgers 4396b27e47 Link to kubernetes cluster doc (#167)
* Link to kubernetes cluster doc

* Clean up general setup steps and minikube docs

* Remove comments and correct multiline command

Comments break copy-paste
2018-02-14 15:17:30 -08:00
Joseph Burnett 4f3742581b Make cluster creation command copy-pasteable (#170)
The comments inline with the GKE cluster creation command cause a problem when copy and pasting.  Moving them to comments below.
2018-02-14 15:12:35 -08:00
Grant Rodgers 186f5783ce Add documentation for creating a K8S cluster with GKE or Minikube (#166)
* Add documentation for creating a K8S cluster

The GKE instructions have been verified to work, but Minikube is a WIP.

* fix some formatting

* indent code block correctly

* Specify that this is Elafros-specific
2018-02-13 17:56:37 -08:00