Deploying apps with Docker and Kubernetes

Download Deploying apps with Docker and Kubernetes

Post on 20-Mar-2017

184 views

Category:

Software

3 download

Embed Size (px)

TRANSCRIPT

<p>Deploying with Docker and KubernetesDaniel Fenton@dmfentondfenton@esri.comhttps://github.com/dmfenton</p> <p>Esri Corporate Template-Dark v3.316:9 version January 21, 2016</p> <p>For more templates, sample files, and icons, see https://compass.esri.com/resources/presentations/Pages/Main.aspx</p> <p>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.</p> <p>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</p> <p>What is Koop?</p> <p>GeoServices</p> <p>https://www.yelp.com/search</p> <p>https://washingtondc.craigslist.org/search/apa</p> <p>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</p> <p>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/</p> <p>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</p> <p>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</p> <p>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</p> <p>Kubernetes DeploymentWhich containerHow many replicasReadiness checkMetadatahttps://kubernetes.io/docs/user-guide/deployments/</p> <p>Kubernetes ServiceWhich port to useInstalls and configures KoopSaved to docker hub as dmfenton/koop-craigslistCan automatically assign a load balancerType =&gt; LoadBalancerOr, can direct traffic through ingresshttps://kubernetes.io/docs/user-guide/ingress/</p> <p>Kubernetes Dashboard</p> <p>Questions?Daniel Fenton@dmfentondfenton@esri.comhttps://github.com/dmfenton</p> <p>Esri Corporate Template-Dark v3.316:9 version January 21, 2016</p> <p>For more templates, sample files, and icons, see https://compass.esri.com/resources/presentations/Pages/Main.aspx</p> <p>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.</p> <p>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</p> <p>12</p>