Chef, Kubernetes and Meetups

Yesterday I went to my second ever Meetup.

For those who don’t know what they are, a Meetup group that you join based on preferences, you join a local community of people. Meetup groups are sustained through Meetup events, which are face-to-face gatherings that happen in real life between members and organizers. The DevOps event I went to yesterday was sponsored by Chef. They had a speaker in Simon Fish talking through Chef and their new product Habitat as well as Gutav Maskowitz, from Google talking through Kubernetes.

Meetups are a great way of meeting people in your field, understanding where a current technology or field is going, and seeing if it’s of relevance to you, if you’ve never been, i’d highly recommend it.

So let’s go through what was mentioned and what it means to us, most things are linked to their relevant pages, so if anything takes your interest make sure to click through and carry on discovering these great tools.

Chef

Chef and it’s “Automate” range gives you a full-stack continuous deployment pipeline, automated testing for compliance and security, and visibility into everything that’s happening along the way.

It builds on Chef for infrastructure automation, InSpec for compliance automation and Habitat for application automation. You can transform your company into a highly collaborative, software-driven organization with Chef Automate as the engine. The rest of the “Automate” range is listed below.

InSpec

Automated testing is a massive part of developing and deploying software. A product that requires less time testing can have more time spent on the fundementals of the product and adding new and enhanced features. InSpec is a tool from Chef to help you with these aims. It’s an open source test framework in a easily read format to deal with compliance and security of your software, making sure it adheres to all your requirements and policies that may required of it.

As mentioned the tests are meant to be easily readable (An example below). This seems to be the norm for most testing nowadays, the Gherkinuesque/Cucumber/Specflow style of syntax is the type of automated tests that can be run during the build or deploy phase to give reassurance that the sotfware you are shipping is up to scratch. Inspec follows a pattern to have understandable, declarative and unambiguous tests, which makes sure each test follows a specific pattern and does a specific job.

 

Image result for habitat logo chef

Habitat

So Habitat is a suite to Build, Deploy and Manage your application. Benefits include allowing you to install and run it anywhere. Below is the announcement video that goes into a lot of detail into this open source project.

Application delivery has to go through many layers in an organisation, from the Software team, Operations and Infrastructure. Having all of these centralize, working together, and importantly not in a head down angle but rather in dynamic topologies, is a much more efficient measure of your time.

 

Kubernetes

For Kubernetes, it’s sounds pretty awesome, but rather than try and go through the details there is this great video that goes through the basics a lot clearer than I could! One thing to note, Kubernetes currently only supports Linux operating systems, unfortunately us Windows based developers won’t be able to use this at the moment, you never know what will happen in the future though.

This user guide is great, going through all the main talking points and describing them all in a lot more detail!

The basics:

Pods - a small group of docker containers that work together, these are the smallest units that can be managed by Kubernetes.

Replication Controllers - These ensure that the specified number of pods are running at any one time, and as such will add or remove pods when required.

Services - These are a set of pods that do a job.

Labels - These are used to group object based on their key:value pairs. Like “Access: Full” & “Access: None”


Hope some of this was useful to you. It’s great going to a meetup and finding new and exciting things to look into and understand. As a number of people mentioned, there’s no point in re-inventing the wheel, unless you’re Goodyear that is! It better to let build upon tried and tested foundations and learn from peoples findings and mistakes…

Let me know what you think below the fold.


11 Comments Add yours

  1. paket wisata malang says:

    If some one needs expert view concerning blogging
    then i advise him/her to visit this blog, Keep up the nice work.

  2. webhost says:

    It’s really a nice and useful piece of information. I’m satisfied that you shared this helpful info with
    us. Please stay us up to date like this. Thanks for sharing.

  3. May I simply say what a comfort to uncover someone who actually knows what they’re discussing on the internet.
    You definitely know how to bring a problem to light and make it important.
    More people ought to read this and understand
    this side of your story. I was surprised you’re not more popular because you definitely possess the gift.

  4. https://hackraven.com/ says:

    As small as you are I still idolize u, u are so inspirational!
    Great blog man!

  5. periodicos.ftc.br says:

    I am rеally impressed t᧐gether ᴡith yoᥙr writing skills ɑnd alѕo witһ the layout for your blog.
    Iѕ that tһіs а paid subject оr dіd you customize іt yoᥙrself?
    Either ѡay stay ᥙⲣ the nice high quality writing, it iѕ rare to peer a great blog liкe tһis one today..

  6. Woh I like your posts, saved to bookmarks!

  7. game says:

    Hmm it looks like your blog ate my first comment (it was extremely long)
    so I guess I’ll just sum it up what I submitted and say,
    I’m thoroughly enjoying your blog. I too am an aspiring blog blogger
    but I’m still new to everything. Do you have any points for beginner blog writers?
    I’d really appreciate it.

  8. This site was… how do you say it? Relevant!! Finally I’ve found something that helped me.
    Thank you!

  9. That is a very good tip especially to those new
    to the blogosphere. Brief but very precise info?
    Thanks for sharing this one. A must read article!

  10. Aw, this was a really nice post. Finding the time and actual effort to generate a very good article…
    but what can I say… I procrastinate a lot and don’t
    seem to get nearly anything done.

  11. Georgia says:

    Great article.

Leave a Reply

Your email address will not be published. Required fields are marked *