Deploying apps with Docker and Kubernetes

  • Published on
    20-Mar-2017

  • View
    184

  • Download
    3

Embed Size (px)

Transcript

Deploying with Docker and KubernetesDaniel Fenton@dmfentondfenton@esri.comhttps://github.com/dmfenton

Esri Corporate Template-Dark v3.316:9 version January 21, 2016

For more templates, sample files, and icons, see https://compass.esri.com/resources/presentations/Pages/Main.aspx

To add footer text in WindowsOn the Home tab, under Insert, click Text, and then click Header and Footer.Click the Slide tab, select the Footer check box, and then type the footer text that you want.Click either Apply or Apply to All.

To add footer text on a MacOn the View menu, select Header and Footer.Select the Footer check box and then type the footer text that you want.Click either Apply or Apply to All.If footers don't appear on the slidesIf footers don't appear on title slides, in the Header and Footer dialog box make sure the Don't show on title slide check box is not selected.If the footers are missing from other slides, the placeholders for these items might have been removed from specific slide layouts or the slide master. 1

What is Koop?

GeoServices

https://www.yelp.com/search

https://washingtondc.craigslist.org/search/apa

DockerPackage everything you need to run an application into one fileMeant to solve the works on my machine problemLighter than a VM, not a full copy of the OSDocker Hub: online container repository

KubernetesOpen Source Container OrchestratorAutomate deployment, scaling and operations of containersBegan life as Googles BorgBacked by Google and MicrosoftMaster and nodes architectureUses etcd under the hoodEverything specified as yaml filesDeclare your application and let K8s handle the resthttps://kubernetes.io/

Kubernetes Cluster OptionsAzure Container Services: Managed servicehttps://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthroughGoogle Container EngineManaged servicehttps://cloud.google.com/container-engine/AWSChoose your own adventurehttps://github.com/kubernetes/kopshttps://kubernetes.io/docs/getting-started-guides/aws/Minikubehttps://kubernetes.io/docs/getting-started-guides/minikube/Local

Kubernetes ComponentsPods: container or containers that form a single logical groupReplica Set: Supervises the podsDeployment: Abstracts replica sets and podsService: Creates an internal and/or external URL and load balances across podsIngress: set of externally available routes that map to services

The DockerfileRuns Node 6 on to of DebianInstalls and configures KoopSaved to docker hub as dmfenton/koop-craigslisthttps://github.com/dmfenton/koop-provider-craigslist/blob/master/Dockerfile

Kubernetes DeploymentWhich containerHow many replicasReadiness checkMetadatahttps://kubernetes.io/docs/user-guide/deployments/

Kubernetes ServiceWhich port to useInstalls and configures KoopSaved to docker hub as dmfenton/koop-craigslistCan automatically assign a load balancerType => LoadBalancerOr, can direct traffic through ingresshttps://kubernetes.io/docs/user-guide/ingress/

Kubernetes Dashboard

Questions?Daniel Fenton@dmfentondfenton@esri.comhttps://github.com/dmfenton

Esri Corporate Template-Dark v3.316:9 version January 21, 2016

For more templates, sample files, and icons, see https://compass.esri.com/resources/presentations/Pages/Main.aspx

To add footer text in WindowsOn the Home tab, under Insert, click Text, and then click Header and Footer.Click the Slide tab, select the Footer check box, and then type the footer text that you want.Click either Apply or Apply to All.

To add footer text on a MacOn the View menu, select Header and Footer.Select the Footer check box and then type the footer text that you want.Click either Apply or Apply to All.If footers don't appear on the slidesIf footers don't appear on title slides, in the Header and Footer dialog box make sure the Don't show on title slide check box is not selected.If the footers are missing from other slides, the placeholders for these items might have been removed from specific slide layouts or the slide master. 11

12