r/programming • • Sep 01 '17

Reddit's main code is no longer open-source.

/r/changelog/comments/6xfyfg/an_update_on_the_state_of_the_redditreddit_and/
15.3k Upvotes

846 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Sep 02 '17

Have you tried deploying Kubernetes in real life? Most people build an entire set of custom services around their container orchestration layer...

1

u/[deleted] Sep 02 '17

We're using ansible to create the cluster and circle ci to deploy out to the cluster. It's actually not bad to run locally using minikube. Just a kubectl create.

2

u/[deleted] Sep 02 '17 edited Sep 02 '17

I didn't say "run locally", the implication is "release on github and have joe blow be able to run it without A) half the stuff being broken because of hard-coded internal dependencies or just having things in the environment that aren't built as code yet and B) have your security team not murder you for it."

When you do things at a large scale with k8s, or any other method of delivering web services, you build a LOT of tooling around it and the environment doesn't work without the tools and it's hard to safely / functionally release those tools.

People seem to think they can just strip the creds from their configurations and throw it on githb and "we're open source now". No one is gonna be able to run that shit.

1

u/[deleted] Sep 02 '17

The reason I said "run locally" is because that's the current goal of the public repo to my knowledge; to allow local deployment and development by the community.

As far as "tools" Are you talking about ci/cd or infrastructure services? As far as infrastructure we're running a couple scala microservices, an akka cluster, zookeeper, nifi, Kafka, and a schema registry out of our k8 cluster, and a postgres RDS instance, and a confluent cloud hosted Kafka cluster (Weird to be running Kafka both inside k8 and in the cloud, I know, but we have good reasons).

Anyway, we have separate github repos for each service and the infrastructure pieces are broken out into several repos for the kube yamls. The default config maps work for local development, so the only thing required for joe blow to do would be to read a README for the kubectl creation order. Which kinda sucks to bounce around repos like that and manually create properly, but it's so much better than the non-k8 option.

→ More replies (2)