k8s-for-greeks / gpmr Goto Github PK
View Code? Open in Web Editor NEWGreek Pet Monster Race - K8s and Cassandra at scale
License: Apache License 2.0
Greek Pet Monster Race - K8s and Cassandra at scale
License: Apache License 2.0
grrr... we may want to dump Alpine
Alpine Linux does not support the search keyword in resolv.conf. This breaks many tools that rely on DNS service discovery (e.g. Kubernetes, Tutum.co, Consul).
https://github.com/janeczku/docker-alpine-kubernetes
@mward29 thoughts?
See that for C*
So does it work in k8s?
https://tobert.github.io/tldr/cassandra-java-huge-pages.html
Hey,
Could you potentially make a short readme on how to set up the cassandra petset? Just to get me up to speed? I'm reading through it right now and it seems to make sense except for:
$ kubectl create -f cassandra-petset-local.yaml
unable to decode "cassandra-petset-local.yaml": quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'
Just a short doc with how you usually go about testing it would be nice. Nothing fancy or polished.
Thanks.
KubernetesSeedProvider java class
KubernetesSnitch java class
Please submit a PR to https://github.com/k8s-for-greeks/cassandra. The https://github.com/k8s-for-greeks/cassandra/tree/removed-10731-migration-task-wait branch should probably be merged into a main offshoot that we maintain.
Rack should be based on GCE Availzone, and DC should probably be ENV props. Thoughts? We could also do rack and DC off of node tags ... Your choice ... I like to do it off of k8s, so @mward29 can use it in aws :)
GCE K8s instances already have the az tagged so that is super easy to pick-up. You should be able to access the k8s api for the node tag. I cannot find the example for a po access its nodes api ... but it should be pretty easy :)
Need to cut a custom version of 1.3 for deployment to get pd-ssd supported.
core@k8snode-01 /Users/clove/Workspace/src/github.com/k8s-for-greeks/gpmr/pet-race-devops/docker/py3numpy $ docker build .
Sending build context to Docker daemon 5.12 kB
Step 1 : FROM alpine:3.3
3.3: Pulling from library/alpine
d0ca440e8637: Pull complete
Digest: sha256:0403115a0e66f07a50190183baa210d894e3ec1ef5221cadfc95a81ee8c4f8c2
Status: Downloaded newer image for alpine:3.3
---> 13e1761bf172
Step 2 : ENV LANG C.UTF-8
---> Running in 14fd1770b682
---> 7d48ddbe4a33
Removing intermediate container 14fd1770b682
Step 3 : ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
---> Running in 96a301d5c4d6
---> 5046e2254ed7
Removing intermediate container 96a301d5c4d6
Step 4 : ENV PYTHON_VERSION 3.5.1
---> Running in 84c4d933d328
---> ef01ff328f35
Removing intermediate container 84c4d933d328
Step 5 : ENV PYTHON_PIP_VERSION 8.1.2
---> Running in 88d918999ddf
---> cd5692591a86
Removing intermediate container 88d918999ddf
Step 6 : ADD repositories /etc/apk/repositories
lstat repositories: no such file or directory
@paralin can you share at all?
Per @paralin -
Also we need to mint a new image for cassandra that uses dumb-init, the current one does not process the terminate signal properly, which means Cassandra will always wait the 30 second grace period and then be killed ungracefully.
What do we think about build scripts for the dockers?? Shell?
cc: @mward29
@paralin please submit a PR for getting muitple DC's Racks on GCE.
Once you have submitted a PR, let me know and I can get you a baby k8s cluster.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.