k8 s bay area meetup jan26'16 - deploying k8s using kargo

13
Copyright © 2015 Mirantis, Inc. All rights reserved www.mirantis.com Deploying Kubernetes using Kargo Jan25 2017 Matthew Mosesohn (https://www.linkedin.com/in/matthew-mosesohn-aa19398) Piotr Siwczak (https://www.linkedin.com/in/psiwczak)

Upload: piotr-siwczak

Post on 07-Feb-2017

408 views

Category:

Software


1 download

TRANSCRIPT

Page 1: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

www.mirantis.com

Deploying Kubernetes using KargoJan25 2017Matthew Mosesohn (https://www.linkedin.com/in/matthew-mosesohn-aa19398)

Piotr Siwczak (https://www.linkedin.com/in/psiwczak)

Page 2: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Why should I pay attention to Kargo at all?

---

How to begin?

Questions to get answered

Page 3: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Kargo - mission

“Deploy a production-ready Kubernetes cluster”

(source: https://github.com/kubernetes-incubator/kargo/blob/master/README.md)

v2.1.0

Page 4: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Kargo scope

Kargo deploys “full stack”

Operating system

Docker / Rkt

KubeletETCDFlannel

/Calico

kube-controller K8S AddOns

Page 5: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Community

https://github.com/kubernetes-incubator/kargo

Page 6: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

● Bare metal focus with potential for cloud

● Scalable (800 nodes battle tested)

● Future-proof approach (kubeadm & self-hosted)

● Low learning curve (pure Ansible)

● Lifecycle management

Kargo - key characteristics

Page 7: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Next steps for Kargo

What:

Go with the latest architecture (kubeadm + self-hosted)

---

Why:

Embrace recommended architecture

Page 8: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Next steps for Kargo

What:

Better test coverage for cloud envs

---

Why:

- Cloud is major environment for K8S deployments.- Advent of federation will allow for deployments across

many envs.

Page 9: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Next steps for Kargo

What:

Rolling upgrade

---

Why:

Huge obstacle for enterprise adoption for the technology - learned hard way from OpenStack

Page 10: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

How to begin

Page 11: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Production deploy steps

https://github.com/kubernetes-incubator/kargo/blob/master/docs/getting-started.md

● Install usual ansible prerequisites (pure OS + ssh)● Generate ansible inventory file● Generate group_vars● Rollout using standard ansible tools

Page 12: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Evaluation

vagrant up

Page 13: K8 s bay area meetup Jan26'16 - Deploying K8S using Kargo

Copyright © 2015 Mirantis, Inc. All rights reserved

Thank you!