mirror of https://github.com/knative/docs.git
Godoc seem dead 🙀 (#2201)
This commit is contained in:
parent
3ca11a2e6f
commit
3061eacada
|
@ -44,7 +44,7 @@ The `deadLetterSink` specifies where to send events that failed be consumed by `
|
||||||
When present, events that failed to be consumed are sent to the `deadLetterSink`.
|
When present, events that failed to be consumed are sent to the `deadLetterSink`.
|
||||||
In case of failure, the event is dropped and an error is logged into the system.
|
In case of failure, the event is dropped and an error is logged into the system.
|
||||||
|
|
||||||
The `deadLetterSink` value must be a [Destination](https://godoc.org/knative.dev/pkg/apis/duck/v1#Destination).
|
The `deadLetterSink` value must be a [Destination](https://pkg.go.dev/knative.dev/pkg/apis/duck/v1#Destination).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -836,7 +836,7 @@ More info: <a href="https://git.k8s.io/community/contributors/devel/sig-architec
|
||||||
<p>Ingress is a collection of rules that allow inbound connections to reach the endpoints defined
|
<p>Ingress is a collection of rules that allow inbound connections to reach the endpoints defined
|
||||||
by a backend. An Ingress can be configured to give services externally-reachable URLs, load
|
by a backend. An Ingress can be configured to give services externally-reachable URLs, load
|
||||||
balance traffic, offer name based virtual hosting, etc.</p>
|
balance traffic, offer name based virtual hosting, etc.</p>
|
||||||
<p>This is heavily based on K8s Ingress <a href="https://godoc.org/k8s.io/api/networking/v1beta1#Ingress">https://godoc.org/k8s.io/api/networking/v1beta1#Ingress</a>
|
<p>This is heavily based on K8s Ingress <a href="https://pkg.go.dev/k8s.io/api/networking/v1beta1#Ingress">https://pkg.go.dev/k8s.io/api/networking/v1beta1#Ingress</a>
|
||||||
which some highlighted modifications.</p>
|
which some highlighted modifications.</p>
|
||||||
</p>
|
</p>
|
||||||
<table>
|
<table>
|
||||||
|
@ -1342,7 +1342,7 @@ before forwarding a request to the destination service.</p>
|
||||||
<td>
|
<td>
|
||||||
<code>timeout</code></br>
|
<code>timeout</code></br>
|
||||||
<em>
|
<em>
|
||||||
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
||||||
Kubernetes meta/v1.Duration
|
Kubernetes meta/v1.Duration
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
@ -1439,7 +1439,7 @@ int
|
||||||
<td>
|
<td>
|
||||||
<code>perTryTimeout</code></br>
|
<code>perTryTimeout</code></br>
|
||||||
<em>
|
<em>
|
||||||
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
||||||
Kubernetes meta/v1.Duration
|
Kubernetes meta/v1.Duration
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
|
@ -9,7 +9,7 @@ aliases:
|
||||||
Knative uses a single shared autoscaler. This is, by default, the Knative Pod Autoscaler (KPA), which
|
Knative uses a single shared autoscaler. This is, by default, the Knative Pod Autoscaler (KPA), which
|
||||||
provides fast, request-based autoscaling capabilities out of the box.
|
provides fast, request-based autoscaling capabilities out of the box.
|
||||||
|
|
||||||
You can also configure Knative to use Horizontal Pod Autoscaler (HPA), or use your own autoscaler, by creating a [controller](https://kubernetes.io/docs/concepts/architecture/controller/) (also referred to as a [reconciler](https://godoc.org/k8s.io/kubernetes/pkg/controller/volume/attachdetach/reconciler)) for the Pod Autoscaler custom resource.
|
You can also configure Knative to use Horizontal Pod Autoscaler (HPA), or use your own autoscaler, by creating a [controller](https://kubernetes.io/docs/concepts/architecture/controller/) (also referred to as a [reconciler](https://pkg.go.dev/k8s.io/kubernetes/pkg/controller/volume/attachdetach/reconciler)) for the Pod Autoscaler custom resource.
|
||||||
|
|
||||||
# Modifying the ConfigMap for KPA
|
# Modifying the ConfigMap for KPA
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Create a measurement to keep track of incoming request counts.
|
// Create a measurement to keep track of incoming request counts.
|
||||||
// For more information on measurements, see https://godoc.org/go.opencensus.io/stats
|
// For more information on measurements, see https://pkg.go.dev/go.opencensus.io/stats
|
||||||
requestCount = stats.Int64("request_count", "Total number of requests.", stats.UnitNone)
|
requestCount = stats.Int64("request_count", "Total number of requests.", stats.UnitNone)
|
||||||
|
|
||||||
// Create a measurement to keep track of request durations.
|
// Create a measurement to keep track of request durations.
|
||||||
|
@ -49,7 +49,7 @@ var (
|
||||||
|
|
||||||
// Capture the HTTP response code in a tag so that we can aggregate and visualize
|
// Capture the HTTP response code in a tag so that we can aggregate and visualize
|
||||||
// this metric based on different response codes (see count of all 400 vs 200 for example).
|
// this metric based on different response codes (see count of all 400 vs 200 for example).
|
||||||
// For more information on tags, see https://godoc.org/go.opencensus.io/tag
|
// For more information on tags, see https://pkg.go.dev/go.opencensus.io/tag
|
||||||
requestStatusTagKey tag.Key
|
requestStatusTagKey tag.Key
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue