+ All Categories
Home > Technology > DevOps for Managers

DevOps for Managers

Date post: 21-Jan-2017
Category:
Upload: all-things-open
View: 338 times
Download: 0 times
Share this document with a friend
32
DevOps For Managers* *And Managers at Get a feel for the room: How many managers? How many ICs (individual contributors)? How many leads (straddle IC and management)? This is take 1 of this talk - there are many possible variations.
Transcript

DevOps For Managers**And Managers at ❤

Get a feel for the room: How many managers? How many ICs (individual contributors)?How many leads (straddle IC and management)?

This is take 1 of this talk - there are many possible variations.

Who Am I?

• Mark Mzyk

• Engineering Manager at Chef

• Organizer: Triangle DevOps DevOpsDays Raleigh

Why listen to me?Engineering Manager for a year at ChefDev for 4 previous years at Chef, 9 years in the industry total5 years organizing Triangle DevOpsHelped organized and emceed 1st DevOpsDays Raleigh

–Vinny, My Cousin Vinny

“What is a DevOp?”

Lead off talking about DevOpsThen present examples of what we do at Chef from a manager’s perspective that fit into DevOps - which is a higher level view of engineering than an IC (individual contributor) might view things

Development + Operations =

DevOps

It’s simple - combine development and operations and you have DevOps, right?Leads to the idea of the DevOps team - this isn’t bad, but it’s not the view I prefer

“DevOps is a cultural movement that changes how individuals think about their work, values the diversity of work done, supports intentional processes that accelerate the rate by which businesses realize value, and measures the effect of social and technical change. It is a way of thinking and a way of working that enables individuals and organizations to develop and maintain sustainable work practices. It is a cultural framework for sharing stories and developing empathy, enabling people and teams to practice their crafts in effective and lasting ways.”

- Chapter 2, What is Devops?, Effective DevOps

It’s not so simple.Definition from Effective DevOps. Also won’t find a spelled out definition in The DevOps Handbook (that I could find on skimming)It’s complicated, it’s culture - and this is why we therefore often focus on the toolsTools are visible and interplay with culture, but they are not culture(Also, vendors can sell tools - I work for one)

DevOps is Magic

We watch someone else do it

We say what we hope is the right incantation

If all goes right …

We get dragons! (Hopefully not as scary though). Do we even know why we got a dragon?And most of the time, we don’t get a dragon - sometimes it blows up in our face, but often it is just a dud.

Blueprint for DevOps

Effective Devops and The DevOps Handbook are two books that I think lay out the best blueprint for achieving a learning focused, DevOps culture.Just because they give you a blueprint doesn’t mean you’ll be able to follow it exactly or that it’ll be easy.

Learning Culture

DevOps is about a learning culture. Achieve that and you will achieve DevOps

Context Matters

Your company culture is different from Chef’s. What I describe might be helpful, but you’ll have to figure out how it applies to you.What we think of as successful DevOps companies - Netflix, Etsy, etc.They don’t know what works either - but they have a learning culture, keep learning.The world changes, so we all have to keep learning

Kaizen - Continuous Improvement

Kaikaku - Radical Change

Types of ChangeFrom Toyota, Lean ThinkingMost people have heard of kaizen, less so kaikakuWe often hear and think of doing kaizen, but sometimes you need kaikaku Let’s talk about an example of kaikaku at Chef.

Conway’s Law

Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's communication structure.

http://melconway.com/Home/Conways_Law.html

http://www.bonkersworld.net/organizational-charts/

What we typically think of as Conway’s Law

Fixed Teams

Chef Server

Analytics

Delivery

Example of how teams at Chef used to be - fixed to a product.Chef then tended to create features for each product - whether it was needed or not.Chef shipped a lot of software - but it wasn’t moving the needle on the business.

Flexible Teams

Chef Server Automate Habitat

Kaikaku - Switched to flexible teams (feature teams)Enables us to focus on the products and features that need focusMight have products that aren’t being actively worked for a timeAligned Business and Product - shipped software that clearly was having an impact(Also, product names have shifted/changes as business model evolves)

Issues

• In a model with rotating teams, how does an engineer build expertise?

• Emphasizing product alignment led to deferment to product, loss of some of engineering’s voice

Teams rotated often - but that meant engineers sometimes lacked stability, felt they couldn’t go deep in an area before shifting awayWith the emphasis on feature teams, shipping became focus and emphasis shifted away some from quality, wasn’t clear when or how technical debt should be addressedAlso - attrition did happen. Sometimes you have to be okay that people will leave over change.

Kaizen

• Shift focus from implementing a feature to achieving an outcome

• Let teams live longer

These are kaizen steps currently in progressTeams focus on an outcome (Automate Adoption) instead of a feature (GitHub integration)Team can integrate in the problem space until a sufficient solution is foundLet the teams live longer, but still be willing to switch up things when a team isn’t working or someone needs a changeDo not intent to go back to fixed teams

Embrace Variabilitya.k.a

Learn to Live with Ambiguity

Your world won’t stay the same - so you have to learn how to live with variability and ambiguityThis will vary based on your circumstances - startups will tend toward more variability, enterprises less so (most of the time)

– Rands (Michael Lopp)

“Process is documentation of culture and values.”

From: http://randsinrepose.com/archives/the-process-myth/At some point you’ll realize you’ll need processProcess helps control variabilityAside: We dislike process when we’ve lost sight of the value it was put in place forIf you can’t remember the why for a process, remove it or change it

No Process

Clearly Defined Process

This is the path it will probably take to find the right process. Don’t be afraid to change.Everyone lives in a different comfort zone - Some people operate easily with no process and find a way forward. Others need a clearly defined process to feel comfortable.Learn where your peers and reports live.If you are at one extreme, know the other might be your blind spot. How can you leverage your peers who are in a different place so you end up in a good place as an organization?

Define your processes like dirt paths - see what works, try out different things, change while they are easy - let them wind a bit.Only when they have been successful for a while should you path them and make then more solid

Picture Credits: “Path” by Tim Green https://flic.kr/p/6TM1w4 https://creativecommons.org/licenses/by/2.0/ No changes made“Path” by Allen Watkin https://flic.kr/p/4bmtAD https://creativecommons.org/licenses/by-sa/2.0/ No changes made

Where to ask for help?

This is a story of winding process at ChefWhen a customer facing person needs help from engineering where do they ask?Observed that they often asked for help in engineering channels, but might go unanswered or sit for a while. What if they needed immediate help?Set up #eng-escalations channel for immediate help during business hours.Engineering managers and principal engineers watch room for any activity, mount immediate responseFor after hours, have a define pager duty escalation to page an engineering manager - this was easier to put in place than the #eng-escalations channel, because we had experience here

HBR Article - https://hbr.org/1991/05/teaching-smart-people-how-to-learnTo achieve a learning and DevOps culture you will have to combat thisIn both yourself and those you manage and work withWe’re all smart - single-loop learning (problem solving) comes easy to usDouble-loop learning (reflection on ourselves) is hardRead this article - at least twice. Read it once, reflect on it, then come back and read it again days later.

Make Failure Safe

If your people are afraid to fail, your org won’t learn, it won’t improve.The only way to avoid failure is keep the status quo - but this will result in the long term failure of the business as it doesn’t respond to the change around it.Without this, nothing else in this presentation will matter.

Google’s research into what makes a good team: #1 item - Psychological safetyWithout that, nothing else matters. It underpins all else.If you don’t have safety, you don’t speak up, you lose trust

https://rework.withgoogle.com/blog/five-keys-to-a-successful-google-team/

It takes many actions to build trust, but only one lie

to destroy it.

We know this to be true.This is why establishing safety is so hard - it’s a continual task.This is the challenge of being a manager and establishing a DevOps culture.Your words and actions are endlessly interpreted by everyone around you - and they don’t have the same context you do.

Your Actions Establish or Destroy Safety

Bottom line. How you approach the world sets this up.

Blameless Post Mortem

One way to establish safety is blameless post mortemRecognize we operate in a system and assume positive intent - everyone does the best they can with the information they have - so where did the system fail and how do we improve?This is a screenshot of the Chef post mortem templateJohn Allspaw as spoken and written at length on blameless post mortemhttps://codeascraft.com/2012/05/22/blameless-postmortems/

Small Actions Matter

• One on Ones

• How you respond to requests

• How you treat outcomes on your team

These are where a true learning culture is built.Most of these will be seen by one person, or only a few people, but it shapes their perceptions of what you think is important - and if they have safetyIt is an ongoing conversation that evolves over time.Tell the Engineer and Elm story if there is time - unexpected request, but meet halfway, explored it

Context Matters

This was my context - now how can these lessons apply to your context?

Thank You

Keep the conversation going, through conversation we learn and grow.

Twitter: @mzyk83

Email: [email protected]

Slacks: @mmis hiring

Some Slacks I hang out in: Triangle Devs, Rand’s Leadership, Chef’s Community, eng-managers, DevOpsDays organizer’s


Recommended