Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

v1 #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

v1 #1

wants to merge 4 commits into from

Conversation

flugeldoo
Copy link

First take on running Zipkin in a Kubernetes cluster.

Note that the images depend on the latest itszero/zipkin-* images in docker-zipkin, which haven't been pushed to Docker Hub yet.

RUN apt-get update
RUN apt-get install -y procps psmisc

ADD https://raw.githubusercontent.com/openzipkin/zipkin/master/zipkin-cassandra-core/src/main/resources/cassandra-schema-cql3.txt /schema.txt

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to use a variable to ensure a stable tag is used as opposed to master. ex 1.9.0

@codefromthecrypt
Copy link

I don't have a local k8s env, so if someone else can check this out, LGTM pending the couple version things.

@flugeldoo
Copy link
Author

Hey Adrian, sorry for the delay. Been busy with other stuff. I'll get this branch updated and retested tomorrow.

@codefromthecrypt
Copy link

codefromthecrypt commented Sep 21, 2015 via email

@smreed
Copy link

smreed commented Sep 21, 2015

Hi,

I tried deploying controllers and services to my kubernetes cluster, and ran into the following issues:

  • zipkin-cassandra pod starts, but repeats this message in the logs ad infinitum: Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
  • zipkin-collector: restarts, but this is probably due to cassandra not starting properly
  • zipkin-web: cannot pull image due to Error: image niccaluim/zipkin-web:latest not found
  • zipkin-query: cannot pull image due to Error: image niccaluim/zipkin-query:latest

I created a zipkin namespace for this test and deployed into it.
I also modified the zipkin-web service, adding some labels to the metadata, but nothing else.

env: GCE
kubectl version: 1.0.5
k8s master: 1.0.4 (GKE)
minions: 1.0.1 I think?

@smreed
Copy link

smreed commented Sep 21, 2015

FWIW I see *** Importing Zipkin schema in the cassanda pod log, but I do NOT see *** Schema import complete.


for component in cassandra collector query web; do
pushd $component
docker build -t openzipkin/zipkin-${component}-k8s:1.9.0 .

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh.. we're up to 1.16.0

Mind bumping this? would be neat to have this available for the tracing workshop tomorrow.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

releasing 1.24.0 soon!

@codefromthecrypt
Copy link

I think one thing that stalled this out was that k8 had a bunch of arduous ways to setup. In docker-zipkin, we use default docker toolbox docker-machine and docker-compose. I bet if we made this docker-composeable, folks could easily try it. Mind giving that a shot?

Maybe something like this?
https://www.cloudgear.net/blog/2015/5-minutes-kubernetes-setup/

@codefromthecrypt
Copy link

heh I bet some things have changed in k8 since this PR. There's also some improvements in zipkin, too

if anyone's interested, happy to review changes and get this in!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants