mirror of https://github.com/knative/docs.git
site: fix serving links (#861)
* fix serving links * Update using-external-dns-on-gcp.md
This commit is contained in:
parent
1fcf32b509
commit
f61514c1b4
|
@ -62,23 +62,23 @@ in the Knative Serving repository.
|
||||||
|
|
||||||
## Setting up Logging and Metrics
|
## Setting up Logging and Metrics
|
||||||
|
|
||||||
- [Installing Logging, Metrics and Traces](./installing-logging-metrics-traces.md)
|
- [Installing Logging, Metrics and Traces](./installing-logging-metrics-traces/)
|
||||||
- [Accessing Logs](./accessing-logs.md)
|
- [Accessing Logs](./accessing-logs/)
|
||||||
- [Accessing Metrics](./accessing-metrics.md)
|
- [Accessing Metrics](./accessing-metrics/)
|
||||||
- [Accessing Traces](./accessing-traces.md)
|
- [Accessing Traces](./accessing-traces/)
|
||||||
- [Setting up a logging plugin](./setting-up-a-logging-plugin.md)
|
- [Setting up a logging plugin](./setting-up-a-logging-plugin/)
|
||||||
|
|
||||||
## Debugging Knative Serving issues
|
## Debugging Knative Serving issues
|
||||||
|
|
||||||
- [Debugging Application Issues](./debugging-application-issues.md)
|
- [Debugging Application Issues](./debugging-application-issues/)
|
||||||
- [Debugging Performance Issues](./debugging-performance-issues.md)
|
- [Debugging Performance Issues](./debugging-performance-issues/)
|
||||||
|
|
||||||
## Configuration and Networking
|
## Configuration and Networking
|
||||||
|
|
||||||
- [Configuring outbound network access](./outbound-network-access.md)
|
- [Configuring outbound network access](./outbound-network-access/)
|
||||||
- [Configuring cluster local routes](./cluster-local-route.md)
|
- [Configuring cluster local routes](./cluster-local-route/)
|
||||||
- [Using a custom domain](./using-a-custom-domain.md)
|
- [Using a custom domain](./using-a-custom-domain/)
|
||||||
- [Assigning a static IP address for Knative on Google Kubernetes Engine](./gke-assigning-static-ip-address.md)
|
- [Assigning a static IP address for Knative on Google Kubernetes Engine](./gke-assigning-static-ip-address/)
|
||||||
|
|
||||||
## Known Issues
|
## Known Issues
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ weight: 5
|
||||||
---
|
---
|
||||||
|
|
||||||
If you have not yet installed the logging and monitoring components, go through
|
If you have not yet installed the logging and monitoring components, go through
|
||||||
the [installation instructions](./installing-logging-metrics-traces.md) to set
|
the [installation instructions](./installing-logging-metrics-traces/) to set
|
||||||
up the necessary components first.
|
up the necessary components first.
|
||||||
|
|
||||||
## Kibana and Elasticsearch
|
## Kibana and Elasticsearch
|
||||||
|
@ -147,7 +147,7 @@ userAgent curl/7.60.0
|
||||||
|
|
||||||
### Accessing end to end request traces
|
### Accessing end to end request traces
|
||||||
|
|
||||||
See [Accessing Traces](./accessing-traces.md) page for details.
|
See [Accessing Traces](./accessing-traces/) page for details.
|
||||||
|
|
||||||
## Stackdriver
|
## Stackdriver
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ weight: 15
|
||||||
---
|
---
|
||||||
|
|
||||||
If you have not yet installed the logging and monitoring components, go through
|
If you have not yet installed the logging and monitoring components, go through
|
||||||
the [installation instructions](./installing-logging-metrics-traces.md) to set
|
the [installation instructions](./installing-logging-metrics-traces/) to set
|
||||||
up the necessary components.
|
up the necessary components.
|
||||||
|
|
||||||
In order to access request traces, you use the Zipkin visualization tool.
|
In order to access request traces, you use the Zipkin visualization tool.
|
||||||
|
|
|
@ -8,7 +8,7 @@ In Knative 0.3.x or later, all Routes with a domain suffix of
|
||||||
`svc.cluster.local` will only be visible inside the cluster.
|
`svc.cluster.local` will only be visible inside the cluster.
|
||||||
|
|
||||||
This can be done by changing the `config-domain` config map as instructed
|
This can be done by changing the `config-domain` config map as instructed
|
||||||
[here](./using-a-custom-domain.md).
|
[here](./using-a-custom-domain/).
|
||||||
|
|
||||||
You can also set the label `serving.knative.dev/visibility=cluster-local` on
|
You can also set the label `serving.knative.dev/visibility=cluster-local` on
|
||||||
your Route or KService to achieve the same effect.
|
your Route or KService to achieve the same effect.
|
||||||
|
|
|
@ -29,7 +29,7 @@ ERROR: Non-zero return code '1' from command: Process exited with status 1
|
||||||
## Check application logs
|
## Check application logs
|
||||||
|
|
||||||
Knative Serving provides default out-of-the-box logs for your application.
|
Knative Serving provides default out-of-the-box logs for your application.
|
||||||
Access your application logs using [Accessing Logs](./accessing-logs.md) page.
|
Access your application logs using [Accessing Logs](./accessing-logs/) page.
|
||||||
|
|
||||||
## Check Route status
|
## Check Route status
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ If there is any failure, the `conditions` in `status` provide the reason. To
|
||||||
access build logs, first execute `kubectl proxy` and then open
|
access build logs, first execute `kubectl proxy` and then open
|
||||||
[Kibana UI](http://localhost:8001/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana).
|
[Kibana UI](http://localhost:8001/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana).
|
||||||
Use any of the following filters within Kibana UI to see build logs. _(See
|
Use any of the following filters within Kibana UI to see build logs. _(See
|
||||||
[telemetry guide](../telemetry.md) for more information on logging and
|
[telemetry guide](../telemetry/) for more information on logging and
|
||||||
monitoring features of Knative Serving.)_
|
monitoring features of Knative Serving.)_
|
||||||
|
|
||||||
- All build logs: `_exists_:"kubernetes.labels.build-name"`
|
- All build logs: `_exists_:"kubernetes.labels.build-name"`
|
||||||
|
|
|
@ -14,7 +14,7 @@ and tools.
|
||||||
Start your investigation with the "Revision - HTTP Requests" dashboard.
|
Start your investigation with the "Revision - HTTP Requests" dashboard.
|
||||||
|
|
||||||
1. To open this dashboard, open the Grafana UI as described in
|
1. To open this dashboard, open the Grafana UI as described in
|
||||||
[Accessing Metrics](./accessing-metrics.md) and navigate to "Knative
|
[Accessing Metrics](./accessing-metrics/) and navigate to "Knative
|
||||||
Serving - Revision HTTP Requests".
|
Serving - Revision HTTP Requests".
|
||||||
|
|
||||||
1. Select your configuration and revision from the menu on top left of the
|
1. Select your configuration and revision from the menu on top left of the
|
||||||
|
@ -41,7 +41,7 @@ Next, look into request traces to find out where the time is spent for a single
|
||||||
request.
|
request.
|
||||||
|
|
||||||
1. To access request traces, open the Zipkin UI as described in
|
1. To access request traces, open the Zipkin UI as described in
|
||||||
[Accessing Traces](./accessing-traces.md).
|
[Accessing Traces](./accessing-traces/).
|
||||||
|
|
||||||
1. Select your revision from the "Service Name" dropdown, and then click the
|
1. Select your revision from the "Service Name" dropdown, and then click the
|
||||||
"Find Traces" button. You'll get a view that looks like this:
|
"Find Traces" button. You'll get a view that looks like this:
|
||||||
|
|
|
@ -39,7 +39,7 @@ which allows sending logs to Stackdriver.
|
||||||
|
|
||||||
Operators can build this image and push it to a container registry which their
|
Operators can build this image and push it to a container registry which their
|
||||||
Kubernetes cluster has access to. See
|
Kubernetes cluster has access to. See
|
||||||
[Setting Up A Logging Plugin](/serving/setting-up-a-logging-plugin.md) for
|
[Setting Up A Logging Plugin](/serving/setting-up-a-logging-plugin/) for
|
||||||
details. **NOTE**: Operators need to add credentials file the stackdriver agent
|
details. **NOTE**: Operators need to add credentials file the stackdriver agent
|
||||||
needs to the docker image if their Knative Serving is not built on a GCP based
|
needs to the docker image if their Knative Serving is not built on a GCP based
|
||||||
cluster or they want to send logs to another GCP project. See
|
cluster or they want to send logs to another GCP project. See
|
||||||
|
|
|
@ -5,7 +5,7 @@ weight: 35
|
||||||
---
|
---
|
||||||
|
|
||||||
If you are running Knative on Google Kubernetes Engine and want to use a
|
If you are running Knative on Google Kubernetes Engine and want to use a
|
||||||
[custom domain](./using-a-custom-domain.md) with your apps, you need to
|
[custom domain](./using-a-custom-domain/) with your apps, you need to
|
||||||
configure a static IP address to ensure that your custom domain mapping doesn't
|
configure a static IP address to ensure that your custom domain mapping doesn't
|
||||||
break.
|
break.
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ install:
|
||||||
|
|
||||||
1. [Elasticsearch and Kibana](#elasticsearch-and-kibana)
|
1. [Elasticsearch and Kibana](#elasticsearch-and-kibana)
|
||||||
1. [Stackdriver](#stackdriver)
|
1. [Stackdriver](#stackdriver)
|
||||||
1. [Custom logging plugin](setting-up-a-logging-plugin.md)
|
1. [Custom logging plugin](setting-up-a-logging-plugin/)
|
||||||
|
|
||||||
### Elasticsearch and Kibana
|
### Elasticsearch and Kibana
|
||||||
|
|
||||||
|
@ -254,9 +254,9 @@ end traces.
|
||||||
## Learn More
|
## Learn More
|
||||||
|
|
||||||
- Learn more about accessing logs, metrics, and traces:
|
- Learn more about accessing logs, metrics, and traces:
|
||||||
- [Accessing Logs](./accessing-logs.md)
|
- [Accessing Logs](./accessing-logs/)
|
||||||
- [Accessing Metrics](./accessing-metrics.md)
|
- [Accessing Metrics](./accessing-metrics/)
|
||||||
- [Accessing Traces](./accessing-traces.md)
|
- [Accessing Traces](./accessing-traces/)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@ A demonstration of the autoscaling capabilities of a Knative Serving Revision.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. A Kubernetes cluster with
|
1. A Kubernetes cluster with
|
||||||
[Knative Serving](https://github.com/knative/docs/blob/master/install/)
|
[Knative Serving](../../../install/)
|
||||||
installed.
|
installed.
|
||||||
1. A
|
1. A
|
||||||
[metrics installation](https://github.com/knative/docs/blob/master/serving/installing-logging-metrics-traces.md)
|
[metrics installation](../../installing-logging-metrics-traces/)
|
||||||
for viewing scaling graphs (optional).
|
for viewing scaling graphs (optional).
|
||||||
1. The `hey` load generator installed (`go get -u github.com/rakyll/hey`).
|
1. The `hey` load generator installed (`go get -u github.com/rakyll/hey`).
|
||||||
1. Clone this repository, and move into the sample directory:
|
1. Clone this repository, and move into the sample directory:
|
||||||
|
@ -287,4 +287,4 @@ View the Knative Serving Scaling and Request dashboards (if configured).
|
||||||
|
|
||||||
## Further reading
|
## Further reading
|
||||||
|
|
||||||
[Autoscaling Developer Documentation](https://github.com/knative/serving/blob/master/docs/scaling/DEVELOPMENT.md)
|
[Autoscaling Developer Documentation](https://github.com/knative/serving/blob/master/docs/scaling/DEVELOPMENT/)
|
||||||
|
|
|
@ -15,7 +15,7 @@ You need:
|
||||||
|
|
||||||
- A Kubernetes cluster with [Knative installed](../../install/).
|
- A Kubernetes cluster with [Knative installed](../../install/).
|
||||||
- (Optional)
|
- (Optional)
|
||||||
[A custom domain configured](../../serving/using-a-custom-domain.md) for use
|
[A custom domain configured](../../serving/using-a-custom-domain/) for use
|
||||||
with Knative.
|
with Knative.
|
||||||
|
|
||||||
Note: The source code for the gcr.io/knative-samples/knative-route-demo image
|
Note: The source code for the gcr.io/knative-samples/knative-route-demo image
|
||||||
|
@ -85,7 +85,7 @@ route "blue-green-demo" configured
|
||||||
You'll now be able to view the sample app at
|
You'll now be able to view the sample app at
|
||||||
http://blue-green-demo.default.YOUR_CUSTOM_DOMAIN.com (replace
|
http://blue-green-demo.default.YOUR_CUSTOM_DOMAIN.com (replace
|
||||||
`YOUR_CUSTOM_DOMAIN`) with the
|
`YOUR_CUSTOM_DOMAIN`) with the
|
||||||
[custom domain](../../serving/using-a-custom-domain.md) you configured for use
|
[custom domain](../using-a-custom-domain/) you configured for use
|
||||||
with Knative.
|
with Knative.
|
||||||
|
|
||||||
> Note: If you don't have a custom domain configured for use with Knative, you
|
> Note: If you don't have a custom domain configured for use with Knative, you
|
||||||
|
|
|
@ -5,7 +5,7 @@ webhook.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
@ -97,9 +97,9 @@ service "gitwebhook" created
|
||||||
|
|
||||||
1. Finally, once the service is running, create the webhook from your GitHub
|
1. Finally, once the service is running, create the webhook from your GitHub
|
||||||
repo to the URL for this service. For this to work properly you will need to
|
repo to the URL for this service. For this to work properly you will need to
|
||||||
[configure a custom domain](https://github.com/knative/docs/blob/master/serving/using-a-custom-domain.md)
|
[configure a custom domain](../../using-a-custom-domain/)
|
||||||
and
|
and
|
||||||
[assign a static IP address](https://github.com/knative/docs/blob/master/serving/gke-assigning-static-ip-address.md).
|
[assign a static IP address](../../gke-assigning-static-ip-address/).
|
||||||
|
|
||||||
1. Retrieve the hostname for this service, using the following command:
|
1. Retrieve the hostname for this service, using the following command:
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ service "gitwebhook" created
|
||||||
1. Enter the **Secret** value to be the same as the original base used for
|
1. Enter the **Secret** value to be the same as the original base used for
|
||||||
`webhookSecret` above (the original value, not the base64 encoded value).
|
`webhookSecret` above (the original value, not the base64 encoded value).
|
||||||
1. Select **Disable** under SSL Validation, unless you've
|
1. Select **Disable** under SSL Validation, unless you've
|
||||||
[enabled SSL](https://github.com/knative/docs/blob/master/serving/using-an-ssl-cert.md).
|
[enabled SSL](../../using-an-ssl-cert/).
|
||||||
1. Click **Add webhook** to create the webhook.
|
1. Click **Add webhook** to create the webhook.
|
||||||
|
|
||||||
## Exploring
|
## Exploring
|
||||||
|
|
|
@ -5,7 +5,7 @@ This sample requires knative/serving 0.4 or later.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. [Install Knative](https://github.com/knative/docs/blob/master/install/)
|
1. [Install Knative](../../../install/)
|
||||||
1. Install [docker](https://www.docker.com/)
|
1. Install [docker](https://www.docker.com/)
|
||||||
|
|
||||||
## Build and run the gRPC server
|
## Build and run the gRPC server
|
||||||
|
|
|
@ -6,7 +6,7 @@ is not specified, it will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ it will use `World` as the `TARGET`.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ TARGET is not specified, it will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ use for testing. It reads in an env variable `TARGET` and prints "Hello
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ specified, it will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ specified, it will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -6,7 +6,7 @@ specified, it will use "World" as the TARGET.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- [Docker](https://www.docker.com) installed and running on your local machine,
|
- [Docker](https://www.docker.com) installed and running on your local machine,
|
||||||
and a Docker Hub account configured (we'll use it for a container registry).
|
and a Docker Hub account configured (we'll use it for a container registry).
|
||||||
|
|
|
@ -15,7 +15,7 @@ the Login service.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. A Kubernetes cluster with
|
1. A Kubernetes cluster with
|
||||||
[Knative Serving](https://github.com/knative/docs/blob/master/install/)
|
[Knative Serving](../../../install/)
|
||||||
installed.
|
installed.
|
||||||
2. Install
|
2. Install
|
||||||
[Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment).
|
[Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment).
|
||||||
|
|
|
@ -6,7 +6,7 @@ then outputs the stock price.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. A Kubernetes cluster with
|
1. A Kubernetes cluster with
|
||||||
[Knative Serving](https://github.com/knative/docs/blob/master/install/README.md)
|
[Knative Serving](../../../install/README.md)
|
||||||
v0.3 or higher installed.
|
v0.3 or higher installed.
|
||||||
1. [Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment)
|
1. [Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment)
|
||||||
installed locally.
|
installed locally.
|
||||||
|
|
|
@ -11,7 +11,7 @@ deployment.
|
||||||
You need:
|
You need:
|
||||||
|
|
||||||
- A Kubernetes cluster with Knative installed. Follow the
|
- A Kubernetes cluster with Knative installed. Follow the
|
||||||
[installation instructions](https://github.com/knative/docs/blob/master/install/)
|
[installation instructions](../../../install/)
|
||||||
if you need to create one.
|
if you need to create one.
|
||||||
- Go installed and configured. This is optional, and only required if you want
|
- Go installed and configured. This is optional, and only required if you want
|
||||||
to run the sample app locally.
|
to run the sample app locally.
|
||||||
|
@ -39,7 +39,7 @@ In order to push the container that is built from source to Docker Hub, register
|
||||||
a secret in Kubernetes for authentication with Docker Hub.
|
a secret in Kubernetes for authentication with Docker Hub.
|
||||||
|
|
||||||
There are
|
There are
|
||||||
[detailed instructions](https://github.com/knative/docs/blob/master/build/auth.md#basic-authentication-docker)
|
[detailed instructions](../../../build/auth/#basic-authentication-docker)
|
||||||
available, but these are the key steps:
|
available, but these are the key steps:
|
||||||
|
|
||||||
1. Create a new `Secret` manifest, which is used to store your Docker Hub
|
1. Create a new `Secret` manifest, which is used to store your Docker Hub
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
|
|
||||||
This sample runs a simple web server that makes calls to other in-cluster
|
This sample runs a simple web server that makes calls to other in-cluster
|
||||||
services and responds to requests with "Hello World!". The purpose of this
|
services and responds to requests with "Hello World!". The purpose of this
|
||||||
sample is to show generating [metrics](../../accessing-metrics.md),
|
sample is to show generating [metrics](../../accessing-metrics/),
|
||||||
[logs](../../accessing-logs.md) and distributed
|
[logs](../../accessing-logs/) and distributed
|
||||||
[traces](../../accessing-traces.md). This sample also shows how to create a
|
[traces](../../accessing-traces/). This sample also shows how to create a
|
||||||
dedicated Prometheus instance rather than using the default installation.
|
dedicated Prometheus instance rather than using the default installation.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. A Kubernetes cluster with
|
1. A Kubernetes cluster with
|
||||||
[Knative Serving](https://github.com/knative/docs/blob/master/install/)
|
[Knative Serving](../../../install/)
|
||||||
installed.
|
installed.
|
||||||
2. Check if Knative monitoring components are installed:
|
2. Check if Knative monitoring components are installed:
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ kubectl get pods --namespace knative-monitoring
|
||||||
```
|
```
|
||||||
|
|
||||||
- If pods aren't found, install
|
- If pods aren't found, install
|
||||||
[Knative monitoring component](../../installing-logging-metrics-traces.md).
|
[Knative monitoring component](../../installing-logging-metrics-traces/).
|
||||||
|
|
||||||
3. Install
|
3. Install
|
||||||
[Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment).
|
[Docker](https://docs.docker.com/get-started/#prepare-your-docker-environment).
|
||||||
|
@ -189,13 +189,13 @@ curl --header "Host:$SERVICE_HOST" http://${SERVICE_IP}/log
|
||||||
|
|
||||||
## Access Logs
|
## Access Logs
|
||||||
|
|
||||||
You can access to the logs from Kibana UI - see [Logs](../../accessing-logs.md)
|
You can access to the logs from Kibana UI - see [Logs](../../accessing-logs/)
|
||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
## Access per Request Traces
|
## Access per Request Traces
|
||||||
|
|
||||||
You can access to per request traces from Zipkin UI - see
|
You can access to per request traces from Zipkin UI - see
|
||||||
[Traces](../../accessing-traces.md) for more information.
|
[Traces](../../accessing-traces/) for more information.
|
||||||
|
|
||||||
## Accessing Custom Metrics
|
## Accessing Custom Metrics
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ the Elasticsearch and Kibana services. Knative provides this sample:
|
||||||
kubectl apply --recursive --filename third_party/config/monitoring/elasticsearch
|
kubectl apply --recursive --filename third_party/config/monitoring/elasticsearch
|
||||||
```
|
```
|
||||||
|
|
||||||
See [here](/serving/installing-logging-metrics-traces.md) for deploying the
|
See [here](/serving/installing-logging-metrics-traces/) for deploying the
|
||||||
whole Knative monitoring components.
|
whole Knative monitoring components.
|
||||||
|
|
||||||
## Uninstalling
|
## Uninstalling
|
||||||
|
|
|
@ -144,7 +144,7 @@ Follow these steps to make your domain publicly accessible:
|
||||||
### Set static IP for Knative Gateway
|
### Set static IP for Knative Gateway
|
||||||
|
|
||||||
You might want to
|
You might want to
|
||||||
[set a static IP for your Knative gateway](gke-assigning-static-ip-address.md),
|
[set a static IP for your Knative gateway](gke-assigning-static-ip-address/),
|
||||||
so that the gateway IP does not change each time your cluster is restarted.
|
so that the gateway IP does not change each time your cluster is restarted.
|
||||||
|
|
||||||
### Update your DNS records
|
### Update your DNS records
|
||||||
|
|
|
@ -9,7 +9,7 @@ steps below to configure Knative to use your certificate and enable HTTPS
|
||||||
connections.
|
connections.
|
||||||
|
|
||||||
Before you begin, you will need to
|
Before you begin, you will need to
|
||||||
[configure Knative to use your custom domain](./using-a-custom-domain.md).
|
[configure Knative to use your custom domain](./using-a-custom-domain/).
|
||||||
|
|
||||||
**Note:** due to limitations in Istio, Knative only supports a single
|
**Note:** due to limitations in Istio, Knative only supports a single
|
||||||
certificate per cluster. If you will serve multiple domains in the same cluster,
|
certificate per cluster. If you will serve multiple domains in the same cluster,
|
||||||
|
@ -133,7 +133,7 @@ which is only supported by a
|
||||||
Instructions for configuring cert-manager are provided for the following DNS
|
Instructions for configuring cert-manager are provided for the following DNS
|
||||||
hosts:
|
hosts:
|
||||||
|
|
||||||
- [Google Cloud DNS](using-cert-manager-on-gcp.md)
|
- [Google Cloud DNS](using-cert-manager-on-gcp/)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ weight: 65
|
||||||
|
|
||||||
These instructions assume you have already setup a Knative cluster and installed
|
These instructions assume you have already setup a Knative cluster and installed
|
||||||
cert-manager into your cluster. For more information, see
|
cert-manager into your cluster. For more information, see
|
||||||
[using an SSL certificate](using-an-ssl-cert.md#install-cert-manager). They also
|
[using an SSL certificate](using-an-ssl-cert/#install-cert-manager). They also
|
||||||
assume you have already set up your managed zone with Cloud DNS as part of
|
assume you have already set up your managed zone with Cloud DNS as part of
|
||||||
configuring the domain to map to your IP address.
|
configuring the domain to map to your IP address.
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ permission to get the credential secret can access your Cloud DNS.
|
||||||
## Set up Knative
|
## Set up Knative
|
||||||
|
|
||||||
1. Follow the
|
1. Follow the
|
||||||
[instruction](https://github.com/knative/docs/blob/master/install/)
|
[instruction](../../install/)
|
||||||
to install Knative on your cluster.
|
to install Knative on your cluster.
|
||||||
1. Configure Knative to use your custom domain.
|
1. Configure Knative to use your custom domain.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue