News for hackers. Stuff that matters.

steveb

Re:Terraform is not the golden hammer on Sunday September 19, 2021 @12:38PM (#28585670)
There are a lot of developments around using Kubernetes as an IaC platform for the reasons in your comment. The combination of a standard API model in CRDs + the controller model maps nicely to managing infrastructure and exposing resources to developers.

<https://crossplane.io> just graduated to CNCF Incubation and each of the cloud providers are working on K8s controllers and code generators (like Amazon Controllers for Kubernetes, Google Config Connector, and the Azure service operator).

Before you leave, I'd love to talk to you. I'm in STL and looking for engineers to work in a professional, supportive, and inclusive environment. [email protected]
Re:Dgsh – Directed graph shell on Monday January 09, 2017 @12:29PM (#13357970)
Yes, we have designed it to deploy things like Kubernetes and Mesos clusters via integrations with Terraform and Packer.
Re:Dgsh – Directed graph shell on Sunday January 08, 2017 @08:25PM (#13353311)
We've been working on a directed graph execution engine called Converge https://github.com/asteris-llc/converge.

In this case the task resource http://converge.aster.is/0.5.0/resources/task/ might help, as it allows you to create a directed graph using any kind of interpreter (for example, Python or Ruby) instead of having to use the DSL.

We have started work on exposing Hashicorp Vault secrets via FUSE and Docker volumes. The expectation is your containers will just mount secrets via a mount like /secret in the container.

The project is brand new and we'd love to hear your feedback: https://github.com/asteris-llc/vaultfs

Thanks for sharing this!

With the mantl project https://github.com/CiscoCloud/microservices-infrastructure we feed mesos task information into consul.

We've looked a lot a load balancing and feel that rewriting haproxy files dynamically can lead to brittle behavior.

Our current setup is we use traefik https://github.com/emilevauge/traefik to proxy marathon tasks.

Haproxy 1.6 includes some dynamic dns lookups http://blog.haproxy.com/2015/10/14/whats-new-in-haproxy-1-6/

Re:CiscoCloud Microservices Infrastructure on Sunday June 14, 2015 @07:18AM (#9714494)
tl;dr: mesos/marathon run the tasks, consul exposes the tasks in DNS.

Both Mesos and Marathon store different views of task state on the cluster.

How do we use this data to make it easy for jobs to find one another? Can we use this information to automatically configure things like Load balancers?

This is where tools like consul and mesos-dns come in. They populate a DNS store, so that task-name becomes something like task-name.example.com. If you are running 10 copies of a service across different hosts, DNS will have 10 entries.

If a container moves to another system, DNS is updated on the fly.

We can embed health checks with consul, so that if a service is unhealthy, it gets pulled out of DNS.

Consul also is nice because the edges perform the checks (instead of a central server), so the load is distributed.

Re:CiscoCloud Microservices Infrastructure on Sunday June 14, 2015 @01:14AM (#9713786)
Thanks for bringing this up. We opened an issue to investigate: https://github.com/CiscoCloud/microservices-infrastructure/i...
Re:CiscoCloud Microservices Infrastructure on Saturday June 13, 2015 @11:01PM (#9713684)
Why you should care about this project: You wouldn't spend months building your own Linux distribution, so why spend time reinventing the wheel with chef/puppet/ansible?

We're not building a PaaS. Like a Linux distribution, we're integrating open source building blocks (logging, service discovery, scheduling) so that you can focus on app development and analytics instead of sysadmin tasks.

I'll be giving a talk to the NYC Mesos user group this Wednesday June 17th: http://www.meetup.com/Apache-Mesos-NYC-Meetup/events/2229328...

Re:CiscoCloud Microservices Infrastructure on Saturday June 13, 2015 @10:24PM (#9713603)
KONG looks amazing, I haven't heard of it before.

Here's how you would deploy it in microservices-infrastructure:

1. You'd deploy the cassandra mesos framework, giving you HA cassandra. Instead of setting IPs, you'd connect to this as cassandra.service.consul

2. You'd launch a Kong container in marathon. It would show up in dns as kong.service.consul for other apps to find, so you don't have to hard code IPs in your config.

Edit: We've opened an issue to make this an example app https://github.com/CiscoCloud/microservices-infrastructure/i...

Re:Docker, Mesos, Marathon, and the End of Pets on Friday June 12, 2015 @02:53PM (#9707840)
We like Kubernetes (and are looking to add it to our project), but our goal is to integrate building blocks that allows us to run many different types of workloads. Think of our project more like an Ubuntu for distributed systems.

Kubernetes may eventually spread out beyond Docker, but for today we need to support things like Kafka and Spark.

As others have noted, we've had things like CloudFoundry, OpenShift and Heroku, and these all-in-one frameworks tend not to extend outside their original domain.

Re:Docker, Mesos, Marathon, and the End of Pets on Friday June 12, 2015 @09:12AM (#9705604)
The real problem is going from tutorial to something you would use in production. Throw in logging, security and service discovery and you can have a few engineers hacking away for months.

So I want to plug a project I've been contributing to: https://github.com/CiscoCloud/microservices-infrastructure

We're trying to make it super easy to deploy these tools. For example every time you launch a docker container, it will register with consul and be added to haproxy. The nice thing about using Mesos is we can support data like workloads Cassandra, HDFS, and Kafka on the same cluster your run Docker images on.

We use terraform to deploy to multiple clouds so you don't get locked in to something like cloudformation.

Our goals for this tool is to make it dead simple to deploy and run. The binary and a json config file is all you need to check a host. When you combine it with consul, we can integrate service discovery with host monitoring and push checks out to the edge nodes instead of relying on something like Nagios.

We're using this tool to monitor cluster configurations and test deployments of https://github.com/CiscoCloud/microservices-infrastructure.

Re:Vault – A tool for managing secrets on Tuesday April 28, 2015 @01:31PM (#9453934)
I'm pretty excited about this release. We just added deploying Vault on top of consul in the microservice/realtime data platform we're building:

https://github.com/CiscoCloud/microservices-infrastructure

We were already using consul as our service discovery engine and as a data store for dynamic configurations via consul template. We feel Vault will help us manage secrets on our infrastructure and inside containers.

Re:Microservices-infrastructure 0.2 released on Friday April 10, 2015 @06:00PM (#9357342)
As someone who is contributing to this project, what we are focusing is making it easy to run and connect multiple containers and applications. We do this by:

1. Building in service discovery. This means that containers register automatically with DNS (and mesos tasks will register with consul in our next version)

2. Distributed scheduling. We use mesos to manage the running of containers and other processes. This means you can just use a an API call to launch a container, and that container will register itself in DNS.

3. Framework support. One of the coolest features of Mesos is the ability to launch containers that easily run things like Kafka, HDFS and Cassandra clusters without having to use tools like chef or ansible.

Please let me know if you have any questions. I'm really excited about this project!

Re:Apache Spark 1.0.0 on Friday May 30, 2014 @08:28AM (#7821361)
I gave a 30-minute overview of Spark yesterday at StampedeCon. Spark is generating a lot of excitement in the big data community:

https://speakerdeck.com/stevendborrelli/introduction-to-apac...

Re:Cluster-Level Container Deployment with Fleet on Tuesday February 18, 2014 @09:56PM (#7261532)
There are a few efforts to support docker (and other) containers in Mesos under (https://issues.apache.org/jira/browse/MESOS-816)

As part of this, a couple of new docker efforts were released today:

https://github.com/tarnfeld/mesos-docker-containerizer

https://github.com/mesosphere/medea

I'm pretty excited to see fleet. These types of distributed systems are a natural complement for containerized infrastructure.

I've been using gitblit for a few months, and have been very pleased with how easy it is to set up and manage. It's great to set up http sharing of git repositories inside an organization.

It has nice features like ACL's and federation for backup.

Re: on Saturday June 22, 2013 @11:11AM (#5923846)

Older »