Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Production grade Kubernetes installation with Kops

Production grade Kubernetes installation with Kops

In this talk given on 19-Aug-2017, we discussed the various features of a production grade Kubernetes cluster setup and how to achieve the same using Kops

Arush Salil

August 19, 2017
Tweet

More Decks by Arush Salil

Other Decks in Technology

Transcript

  1. Kubernauts - Who, Why, Where Q. Who are we? A.

    We are a group of Kubernetes and CNCF enthusiasts who love to learn and share with the community. Q. Why you should be a part of Kubernauts? A. You like containers? Want to get started with Kubernetes but don’t know how? Know kubernetes and wish to have a team of people to share and collaborate with?
  2. Where to find us? • Slack - https://kubernauts-slack-join.herokuapp.com/ • #kubernetes-teachers

    on kubernetes.slack.com • GitHub - https://github.com/kubernauts • Twitter - @kubernauts • Meetup group - https://www.meetup.com/kubernauts/ • And finally, https://kubernetes.io
  3. Topics to be covered today What defines a production grade

    K8s setup Installing necessary tools - Kops and Kubectl Setup AWS for the deployment Our first cluster by Kops Deploying an application to our cluster Creating a Highly Available K8s cluster
  4. What defines a production grade K8s setup Types of Kubernetes

    setup • All-in-One Single-Node Installation • Single-Node etcd, Single-Master, and Multi-Worker Installation • Single-Node etcd, Multi-Master, and Multi-Worker Installation • Multi-Node etcd, Multi-Master, and Multi-Worker Installation
  5. Installing necessary tools - Kops and Kubectl • Installing kubectl

    - https://kubernauts.gitbooks.io/kubernauts-kops-faststart/ content/docs/labs/lab_2_install_kubectl.html • Installing Kops - https://kubernauts.gitbooks.io/kubernauts-kops-faststart/ content/docs/labs/lab_1_install_kops.html
  6. Setup AWS for the deployment • Create and configure AWS

    access credentials • Create the Kops IAM Group and User • Create the Kops state storage bucket
  7. Our first cluster by Kops kops create cluster --name ${NAME}

    --state ${KOPS_STATE_STORE} --zones us-east-1a --yes
  8. Deploying an application to our cluster • Simple kubernetes dashboard

    deployment Link: https://kubernauts.gitbooks.io/kubernauts-kops-faststart/con tent/docs/labs/lab_5_deploy_dashboard.html
  9. Creating a Highly Available K8s cluster • Explore different kops

    options to be used • The cluster architecture we will be deploying • Do the thing.. Link: https://kubernauts.gitbooks.io/kubernauts-kops-faststart/con tent/docs/labs/advanced-ha-deployment.html
  10. Stay in touch Twitter - @arush_sal Email - [email protected] Just

    google “Arush Salil” for other ways to connect ;-)