mirror of https://github.com/dapr/docs.git
Merge branch 'v1.12' into patch-1
This commit is contained in:
commit
9a1c4f3cd8
|
|
@ -113,6 +113,43 @@ If you are using Docker Desktop, verify that you have [the recommended settings]
|
||||||
|
|
||||||
1. Navigate to `http://localhost:9999` to validate a successful setup.
|
1. Navigate to `http://localhost:9999` to validate a successful setup.
|
||||||
|
|
||||||
|
## Install metrics-server on the Kind Kubernetes Cluster
|
||||||
|
|
||||||
|
1. Get metrics-server manifests
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Add insecure TLS parameter to the components.yaml file
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
k8s-app: metrics-server
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- --cert-dir=/tmp
|
||||||
|
- --secure-port=4443
|
||||||
|
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
|
||||||
|
- --kubelet-use-node-status-port
|
||||||
|
- --kubelet-insecure-tls <==== Add this
|
||||||
|
- --metric-resolution=15s
|
||||||
|
image: k8s.gcr.io/metrics-server/metrics-server:v0.6.2
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
livenessProbe:
|
||||||
|
failureThreshold: 3
|
||||||
|
httpGet:
|
||||||
|
path: /livez
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Apply modified manifest
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl apply -f components.yaml
|
||||||
|
```
|
||||||
|
|
||||||
## Related links
|
## Related links
|
||||||
- [Try out a Dapr quickstart]({{< ref quickstarts.md >}})
|
- [Try out a Dapr quickstart]({{< ref quickstarts.md >}})
|
||||||
- Learn how to [deploy Dapr on your cluster]({{< ref kubernetes-deploy.md >}})
|
- Learn how to [deploy Dapr on your cluster]({{< ref kubernetes-deploy.md >}})
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ Dapr provides cross-platform and cross-language support for encryption and decry
|
||||||
cryptography building block. Besides the [language specific SDKs]({{<ref sdks>}}), a developer can invoke these capabilities using
|
cryptography building block. Besides the [language specific SDKs]({{<ref sdks>}}), a developer can invoke these capabilities using
|
||||||
the HTTP API endpoints below.
|
the HTTP API endpoints below.
|
||||||
|
|
||||||
|
> The HTTP APIs are intended for development and testing only. For production scenarios, the use of the SDKs is strongly
|
||||||
|
> recommended as they implement the gRPC APIs providing higher performance and capability than the HTTP APIs.
|
||||||
|
|
||||||
## Encrypt Payload
|
## Encrypt Payload
|
||||||
|
|
||||||
This endpoint lets you encrypt a value provided as a byte array using a specified key and crypto component.
|
This endpoint lets you encrypt a value provided as a byte array using a specified key and crypto component.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue