Deploy Like a Boss: Using Apache Ignite TM and Kubernetes

Similar documents
In-Memory Computing Essentials

CONTINUOUS INTEGRATION CONTINUOUS DELIVERY

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

Container Orchestration on Amazon Web Services. Arun

Ingress Kubernetes Tutorial

An Introduction to Kubernetes


Installation Guide for Kony Fabric Containers Solution On-Premises

Managing and Protecting Persistent Volumes for Kubernetes. Xing Yang, Huawei and Jay Bryant, Lenovo

Running MarkLogic in Containers (Both Docker and Kubernetes)

Docker Live Hacking: From Raspberry Pi to Kubernetes

Kubernetes. Introduction

Kuber-what?! Learn about Kubernetes

Kubernetes Integration with Virtuozzo Storage

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Code: Slides:

Package your Java Application using Docker and Kubernetes. Arun

Continuous delivery while migrating to Kubernetes

EASILY DEPLOY AND SCALE KUBERNETES WITH RANCHER

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Using PCF Ops Manager to Deploy Hyperledger Fabric

Kubernetes objects on Microsoft Azure

Peco Karayanev Bryan Wynns

IBM Planning Analytics Workspace Local Distributed Soufiane Azizi. IBM Planning Analytics

Cloud I - Introduction

VMWARE ENTERPRISE PKS

Blue elephant on-demand: PostgreSQL + Kubernetes. FOSDEM 2018, Brussels

What s New in K8s 1.3

Building an on premise Kubernetes cluster DANNY TURNER

WHITE PAPER. Kubernetes Deployment Models: The Ultimate Guide

Note: Currently (December 3, 2017), the new managed Kubernetes service on Azure (AKS) does not yet support Windows agents.

VMWARE PKS. What is VMware PKS? VMware PKS Architecture DATASHEET

Kubernetes: Twelve KeyFeatures

Zero to Microservices in 5 minutes using Docker Containers. Mathew Lodge Weaveworks

Scaling Jenkins with Docker and Kubernetes Carlos

KUBERNETES IN A GROWN ENVIRONMENT AND INTEGRATION INTO CONTINUOUS DELIVERY

Cloud & container monitoring , Lars Michelsen Check_MK Conference #4

Kubernetes made easy with Docker EE. Patrick van der Bleek Sr. Solutions Engineer NEMEA

Singularity CRI User Documentation

Kubernetes on Azure. Daniel Neumann Technology Solutions Professional Microsoft. Build, run and monitor your container applications

Red Hat OpenShift Application Runtimes 1

Declarative Modeling for Cloud Deployments

What s New in K8s 1.3

VMWARE PIVOTAL CONTAINER SERVICE

Kuberiter White Paper. Kubernetes. Cloud Provider Comparison Chart. Lawrence Manickam Kuberiter Inc

Kubernetes 101. Doug Davis, STSM September, 2017

TensorFlow on vivo

Introduction to Kubernetes Storage Primitives for Stateful Workloads

DEVELOPER INTRO

Continuous Delivery the hard way with Kubernetes. Luke Marsden, Developer

/ Cloud Computing. Recitation 5 February 14th, 2017

Creating a Multi-Container Pod

The speed of containers, the security of VMs

Apache Ignite TM - In- Memory Data Fabric Fast Data Meets Open Source

Blockchain on Kubernetes

10 Kube Commandments

The Long Road from Capistrano to Kubernetes

Kubernetes Integration Guide

Question: 2 Kubernetes changed the name of cluster members to "Nodes." What were they called before that? Choose the correct answer:

Internals of Docking Storage with Kubernetes Workloads

Developing Kubernetes Services

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

Introduction to Kubernetes

Companion Guide to Practical Tools for Serverless Computing UCC 2017

GridGain and Apache Ignite In-Memory Performance with Durability of Disk

Red Hat OpenShift Application Runtimes 0.1

Kubernetes on Openstack

What s New in Red Hat OpenShift Container Platform 3.4. Torben Jäger Red Hat Solution Architect

Open Service Broker API: Creating a Cross-Platform Standard Doug Davis IBM Shannon Coen Pivotal

Delivering Kubernetes Apps with Helm. Michelle Adnan Adam

In-Memory Performance Durability of Disk GridGain Systems, Inc.

A Comparision of Service Mesh Options

Lessons Learned: Building Scalable & Elastic Akka Clusters on Google Managed Kubernetes. - Timo Mechler & Charles Adetiloye

The speed of containers, the security of VMs. KataContainers.io

CONTAINER CLOUD SERVICE. Managing Containers Easily on Oracle Public Cloud

Microservices. Chaos Kontrolle mit Kubernetes. Robert Kubis - Developer Advocate,

/ Cloud Computing. Recitation 5 September 26 th, 2017

Distributed ACID Transac2ons in Apache Ignite

JFOKUS 2017 EXPERIENCES FROM USING DISCOVERY SERVICES IN A MICROSERVICE LANDSCAPE

Overview of Container Management

Con$nuous Deployment with Docker Andrew Aslinger. Oct

SBB. Java User Group 27.9 & Tobias Denzler, Philipp Oser

Installation Guide Revision B. McAfee Cloud Workload Security 5.0.0

WHITE PAPER AUGUST 2017 AN INTRODUCTION TO BOSH. by VMware

Course Outline 20743B

RED HAT GLUSTER TECHSESSION CONTAINER NATIVE STORAGE OPENSHIFT + RHGS. MARCEL HERGAARDEN SR. SOLUTION ARCHITECT, RED HAT BENELUX April 2017

Fault Tolerant Stateful Services on Kubernetes. Timothy St.

Run containerized applications from pre-existing images stored in a centralized registry

Think Small to Scale Big

Introduction to the Open Service Broker API. Doug Davis

gcp / gke / k8s microservices

Accelerate MySQL for Demanding OLAP and OLTP Use Cases with Apache Ignite. Peter Zaitsev, Denis Magda Santa Clara, California April 25th, 2017

Baremetal with Apache CloudStack

Taming Distributed Pets with Kubernetes

Blockchain on Kubernetes User Guide

Docker Universal Control Plane Deploy and Manage On-Premises, Your Dockerized Distributed Applications

Continuous Delivery for Cloud Native Applications

MarkLogic Server. MarkLogic Server on Microsoft Azure Guide. MarkLogic 9 January, 2018

Real-life technical decision points in using cloud & container technology:

Getting Started With Serverless: Key Use Cases & Design Patterns

Transcription:

Deploy Like a Boss: Using Apache Ignite TM and Kubernetes Dani Traphagen Solu<ons Architect GridGain hgp://ignite.apache.org #apacheignite

Agenda SeIng up a Apache Ignite cluster Using the Kubernetes IP Finder and the Kubernetes Ignite Lookup Service Sharing the Ignite Cluster Configura<on Deploying your Ignite Pods Adjus<ng the Ignite Cluster Size when you need to Scale Try it out!

By the end this will be you.. Apache, Apache Ignite, Ignite, and the Apache Ignite logo are either registered trademarks or trademarks of the Apache So8ware Founda<on in the United States and/or other countries.

First - Apache Ignite s PlaAorm

Apache Ignite PlaAorm (Version 2.1 Depicted) Kubernetes works with versions 1.9 and above due to

Second Deployment with Kubernetes (K8)

Kubernetes in a Simple DefiniLon Kubernetes intends to radically simplify the task of building, deploying and maintaining distributed systems. Kubernetes: Up and Running: Dive into the Future of Infrastructure By: Kelsey Hightower

Apache Ignite + K8 Cluster Architecture

Benefits of K8 (version 1.7) Cost Efficiency Use of containers by mul<ple developers ensures shared resourcing rather than redundancy High Availability and Performance Deploying with K8 and seing rules for a set number of nodes in AWS will ensure your cluster can always handle the transac<ons hiing it No more pager duty

SeRng Up an Apache Ignite Cluster Step 1: What is your use case? Seriously, what is your use case? I m not kidding. Use case, then set up Cart before horse please.

SeRng Up an Apache Ignite Cluster 1. Download Apache Ignite 2. Make sure to add the ignite- kubernetes Maven Dependency to your pom.xml 3. I m using examples from our docs.

SeRng up K8 on a Local Machine Install K8 where you intend AWS Google Cloud Dev Machine Set your $PATH w/k8 Install Kubectl I used Brew

Kubernetes Discovery Mul<cast = L Use Sta<c IP Finder & list Ignite IPs, K8 will dynamically assign them You can use other cloud Ignite IP finders but you need K8 to running in the cloud env. What s the point of the TcpDiscoveryKubernetesIpFinder?

Using the Kubernetes IP Finder and the Kubernetes Ignite Lookup Service Apps & nodes running outside of K8 & Ignite will not be able to reach the cluster K8 service should be deployed before Ignite cluster boot The Ignite Pods internal IPs will be maintained by the K8 service. Service name must be equal to setservicename(string) This will be `ignite` as a default

Using Docker on Local Machine with Minikube

Sharing the Ignite Cluster ConfiguraLon

Service Startup & Sharing Configs Minikube - Two basic commands minikube start minikube dashboard Kubectl kubectl create - f ~/<path- to- project>/<project- name>/config/ignite- service.yaml Yes, someone I follow on Twitter did this. Apache, Apache Ignite, Ignite, and the Apache Ignite logo are either registered trademarks or trademarks of the Apache So8ware Founda<on in the United States and/or other countries.

Now Kubernetes is Running! Dashboard is in business!

Configuring your Ignite Pods 2 Things Needed! 1. Apache Ignite Configura<on File with the Kubernetes IP Finder 2. YAML Configura<ons for the Apache Ignite pods/ nodes Steps: Create your ignite- service.yaml kubectl create - f ignite- service.yaml kubectl get svc ignite

Sharing Ignite Cluster Configs Confirm the ignite service was created Make a path to the persistence volume docker will use to pass the kubernetes config example- kube.xml

Success Now, do this for the ignite-volume-claim.yaml

Persistent Volume Bound? Make sure your persistent volume is bound to the claim kubectl get pvc ignite- volume- claim kubectl get pv ignite volume

Deploying your Ignite Pods Now it s <me to launch kubectl create - f ignite- deployment.yaml kubectl get pods Get the logs and examine for each cluster ex) kubectl logs ignite- cluster- 3454482164- d4m6g Scale out: kubectl scale - - replicas=5 - f ignite- deployment.yaml

Many Deployment OpLons On Premise Cloud Azure EC2 Google Cloud

Using Minikube for Local Dev A good place to start for explora<on When you want to get in the cloud - pick your poison Post on setup w/azure by Ignite PMC Denis Magda: hgps://dzone.com/ar<cles/ deploying- apache- ignite- in- kubernetes- on- microso8 hgps://kubernetes.io/docs/ setup/pick- right- solu<on/ #turnkey- cloud- solu<ons

Dare to try?

1. Deploy Cloud Environment

2. Connect to your Cloud Environment from your local machine, ex) Azure #connect to cluster, make sure your sshkeys are setup az acs kubernetes get-credentials --resourcegroup=myresourcegroup --name=myk8scluster #make sure you see the k8s-agents & master kubectl get nodes

3. Using the Dashboard 1. kubectl proxy 2. http://localhost:8001/ui

4. Create the K8 Lookup Service #using above link, create the file then initiate the service kubectl create -f ignite-service.yaml #you will see that the ignite service is under the services tab

5. Deploy your Apache Ignite Cluster #create the ignite-deployment.yaml file following instructions here kubectl create -f ignite-deployment.yaml #you will see that the ignite cluster is running in kubernetes

AdjusLng the Ignite Cluster Size when you Need to Scale When you want to elas<cly scale out your cluster with K8: kubectl scale replicas=<n> - f ignite-deployment.yaml run kubectl get pods Let s say you want 5 nodes? kubectl scale --replicas=5 -f ~/kubernetes_dev/azure/ ignite-deployment.yaml You will see your cluster scale out in this case from 2 to 5 nodes!

Overall Steps Ignite Download: hgps://ignite.apache.org/download.cgi Run Kubernetes Locally: hgps://kubernetes.io/docs/geing- started- guides/minikube/ Deploy Kubernetes & Ignite hgps://apacheignite.readme.io/docs/kubernetes- deployment

Denis Magda s post on deploying Ignite/K8 in Azure: hgps://dzone.com/ar<cles/ deploying- apache- ignite- in- kubernetes- on- microso8 Tutorials hgps://kubernetes.io/docs/ tutorials/ K8 Book by Kelsey Hightower: hgp://shop.oreilly.com/product/ 0636920043874.do Ignite Book by Shahim and others: hgps://leanpub.com/ignite Resources

ANY QUESTIONS? Thank you for joining us. Follow the conversa<on. hgp://ignite.apache.org #apacheignite