mirror of https://github.com/dapr/docs.git
deployment in stead of run for 1.15+ compatibility
Addresses #572 Current instructions for deploying Zipkin do not create service which makes the following command fail because there is no service, as starting with 1.15 k8s no longer creates service under the `run` command. Changing the `run` to `create deployment` ```shell kubectl create deployment zipkin --image openzipkin/zipkin ``` Which creates will allow the following command to create a service and expose its port. ```shell kubectl expose deployment zipkin --type ClusterIP --port 9411 ```
This commit is contained in:
parent
4948c3a3dc
commit
83698e018e
|
@ -66,13 +66,13 @@ The following steps shows you how to configure Dapr to send distributed tracing
|
||||||
First, deploy Zipkin:
|
First, deploy Zipkin:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl run zipkin --image openzipkin/zipkin --port 9411
|
kubectl create deployment zipkin --image openzipkin/zipkin
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a Kubernetes service for the Zipkin pod:
|
Create a Kubernetes service for the Zipkin pod:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl expose deploy zipkin --type ClusterIP --port 9411
|
kubectl expose deployment zipkin --type ClusterIP --port 9411
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, create the following YAML files locally:
|
Next, create the following YAML files locally:
|
||||||
|
@ -156,4 +156,4 @@ set `samplingRate : "0"` in the configuration. The valid range of samplingRate i
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
* [How-To: Use W3C Trace Context for distributed tracing](../../howto/use-w3c-tracecontext/readme.md)
|
* [How-To: Use W3C Trace Context for distributed tracing](../../howto/use-w3c-tracecontext/readme.md)
|
||||||
|
|
Loading…
Reference in New Issue