openzipkin-attic / zipkin-kubernetes

Kubernetes controller and service definitions for Zipkin
4 stars 6 forks source link

Add basic Kubernetes example #4

Open gongwei0921 opened 5 years ago

gongwei0921 commented 5 years ago

I don't know how to create a yaml file in k8s ,Please give pointers

codefromthecrypt commented 5 years ago

we currently don't have a basic kubernetes example in this repository, but here are some hints

@msmsimondean was using this

- env:
    - name: ES_HOSTS
      value: <es-hosts>
    - name: ES_INDEX
      value: some-index
    - name: JAVA_OPTS
      value: -Xmx700m
    - name: STORAGE_TYPE
      value: elasticsearch
    - name: ZIPKIN_UI_ENVIRONMENT
      value: some-env
    image: our-registry-proxy:5000/openzipkin/zipkin:latest
    imagePullPolicy: IfNotPresent

istio has a helm chart here https://github.com/istio/istio/blob/master/install/kubernetes/helm/istio/charts/tracing/templates/deployment-zipkin.yaml

A more elaborate helm chart is here https://github.com/Financial-Times/zipkin-helm

codefromthecrypt commented 5 years ago

cc @openzipkin/devops-tooling as really we should have a simple k8s example by now (out of box, no weird dependencies like fabricate etc)

codefromthecrypt commented 5 years ago

ideally the basic example will exist here and then point to the recently un-attic'd https://github.com/openzipkin/zipkin-kubernetes for follow-up cc @devinsba