mirror of https://github.com/knative/docs.git
Eventing getting started hot fix (#3716)
* eventing getting started hotfixes
* Update first-broker.md
* add YAML file for Trigger
* Update mkdocs.yml
* Update mkdocs.yml
* Update mkdocs.yml
* Some quick-fixes
* bringing back the purple
* Revert "bringing back the purple"
This reverts commit a6af055288.
This commit is contained in:
parent
9a10239296
commit
6a3db16ef8
|
|
@ -1,9 +1,4 @@
|
||||||
# Getting Started with a Knative "Quickstart" Environment
|
# Before you begin
|
||||||
|
|
||||||
!!! warning
|
|
||||||
Knative Quickstart Environments are for experimentation only. For production installation, see our [Administrator's Guide](../admin)
|
|
||||||
|
|
||||||
## Before you begin
|
|
||||||
Before you can get started with a Knative Quickstart deployment you must set up a development environment.
|
Before you can get started with a Knative Quickstart deployment you must set up a development environment.
|
||||||
|
|
||||||
## Set up a development cluster
|
## Set up a development cluster
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Deploying your first Knative Service
|
# Deploying your first Knative Service
|
||||||
!!! tip
|
!!! tip
|
||||||
Hit ++"n"++ / ++"."++ on your keyboard to move forward in the tutorial. Use ++"p"++ / ++","++ to go back at any time.
|
Hit ++"."++ on your keyboard to move forward in the tutorial. Use ++","++ to go back at any time.
|
||||||
|
|
||||||
==**In this tutorial, you will deploy a "Hello world" service.**==
|
==**In this tutorial, you will deploy a "Hello world" service.**==
|
||||||
This service will accept an environment variable, `TARGET`, and print "`Hello ${TARGET}!`."
|
This service will accept an environment variable, `TARGET`, and print "`Hello ${TARGET}!`."
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,21 @@
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "YAML"
|
=== "YAML"
|
||||||
|
```bash
|
||||||
//TODO
|
apiVersion: eventing.knative.dev/v1
|
||||||
|
kind: Trigger
|
||||||
|
metadata:
|
||||||
|
name: cloudevents-player
|
||||||
|
annotations:
|
||||||
|
knative-eventing-injection: enabled
|
||||||
|
spec:
|
||||||
|
broker: example-broker
|
||||||
|
subscriber:
|
||||||
|
ref:
|
||||||
|
apiVersion: serving.knative.dev/v1
|
||||||
|
kind: Service
|
||||||
|
name: cloudevents-player
|
||||||
|
```
|
||||||
==**Expected Output**==
|
==**Expected Output**==
|
||||||
```{ .bash .no-copy }
|
```{ .bash .no-copy }
|
||||||
Trigger 'cloudevents-player' successfully created in namespace 'default'.
|
Trigger 'cloudevents-player' successfully created in namespace 'default'.
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,23 @@
|
||||||
# Install Knative components
|
# Getting Started with the Knative "Quickstart" Environment
|
||||||
|
|
||||||
|
!!! warning
|
||||||
|
Knative Quickstart Environments are for experimentation only. For production installation, see our [Administrator's Guide](../admin)
|
||||||
|
|
||||||
## Install Knative using the konk script
|
## Install Knative using the konk script
|
||||||
|
|
||||||
You can get started with a local deployment of Knative by using _Knative on Kind_ (`konk`):
|
You can get started with a local deployment of Knative by using _Knative on Kind_ (`konk`):
|
||||||
|
|
||||||
!!! todo "Install Knative and Kubernetes on a local Docker Daemon using `konk`"
|
|
||||||
```
|
|
||||||
curl -sL install.konk.dev | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
`konk` is a shell script that completes the following functions:
|
`konk` is a shell script that completes the following functions:
|
||||||
|
|
||||||
1. Checks if you have `kind` installed, and creates a cluster called `knative`.
|
1. Checks if you have `kind` installed, and creates a cluster called `knative`.
|
||||||
1. Installs Knative Serving with Kourier as the default networking layer, and nip.io as the DNS.
|
1. Installs Knative Serving with Kourier as the default networking layer, and nip.io as the DNS.
|
||||||
1. Installs Knative Eventing and creates a default broker and channel implementation.
|
1. Installs Knative Eventing and creates a default broker and channel implementation.
|
||||||
|
|
||||||
|
!!! todo "Install Knative and Kubernetes on a local Docker Daemon using `konk`"
|
||||||
|
```
|
||||||
|
curl -sL install.konk.dev | bash
|
||||||
|
```
|
||||||
|
|
||||||
## Install the Knative CLI
|
## Install the Knative CLI
|
||||||
|
|
||||||
The Knative CLI (`kn`) provides a quick and easy interface for creating Knative resources such as Knative services and event sources, without the need to create or modify YAML files directly. `kn` also simplifies completion of otherwise complex procedures such as autoscaling and traffic splitting.
|
The Knative CLI (`kn`) provides a quick and easy interface for creating Knative resources such as Knative services and event sources, without the need to create or modify YAML files directly. `kn` also simplifies completion of otherwise complex procedures such as autoscaling and traffic splitting.
|
||||||
|
|
@ -11,7 +11,7 @@ nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
- Getting Started:
|
- Getting Started:
|
||||||
- Before you begin: getting-started/README.md
|
- Before you begin: getting-started/README.md
|
||||||
- Install Knative: getting-started/install-serving-eventing.md
|
- Knative Quickstart: getting-started/install-knative-quickstart.md
|
||||||
- Serverless:
|
- Serverless:
|
||||||
- First Knative Service: getting-started/first-service.md
|
- First Knative Service: getting-started/first-service.md
|
||||||
- Scaling to Zero: getting-started/first-autoscale.md
|
- Scaling to Zero: getting-started/first-autoscale.md
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue