Slide 1

Slide 1 text

Prometheus Tokyo Meetup #02 2019.6.3 © 2019 cyberblack28 RANCHER’S MULTI-TENANT PROMETHEUS SUPPORT TESTED ON K3S CLUSTER

Slide 2

Slide 2 text

Profile Twitter:cyberblack28 Hatena Blog:https://cyberblack28.hatenablog.com/ https://speakerdeck.com/cyberblack28 Job Educational Solution Architect Developer Advocate / Technical Evangelist Infrastructure Engineer Frontend Engineer Community Music,Live,FES !! Take a picture !! https://www.flickr.com/photos/cyberblack ISBN-10: 4798155373 ISBN-13: 978-4798155371 I wrote the Chapter 6 Rancher 2.0 part. Release on March 15, 2018 Congratulation reprint Decision !! #rancherjp #kujiraya #deepcn

Slide 3

Slide 3 text

Profile http://bit.ly/thinkit_rancher

Slide 4

Slide 4 text

AP Communications Co., Ltd We’re hireling !! Docker Kubernetes Rancher CloudNative

Slide 5

Slide 5 text

1. What’s Rancher 2. Rancher Basic Monitoring 3. Multi-Tenant Prometheus Support Agenda

Slide 6

Slide 6 text

WHAT’S RANCHER

Slide 7

Slide 7 text

What’s Rancher ? • Kubernetes management platform for building and operating Kubernetes cluster, importing existing Kubernetes cluster, regardless of cloud or on-premise and multi-cloud or hybrid-cloud • Application management with helm-based catalog function • Kubernetes management linked with OSS such as GitLab, Fluentd,etc... • Development is Rancher Labs(http://rancher.com/) • Open source software

Slide 8

Slide 8 text

Whats’s Rancher Kubernetes Clusters Create Import EKS GKE AKS vSphere Bare Metal Create,Import,Manage Kubernetes Clusters !! Manage “Kubernetes Everywhere”

Slide 9

Slide 9 text

What’s Rancher • Advanced Monitoring Main outline Monitoring of clusters, projects and k8s components is now supported through integration with Prometheus. • Multi-Cluster Apps By augmenting the functionality of Helm with Rancher's multi-cluster management capabilities, users are now able to seamlessly manage their applications across clusters. • Latest - v2.2.3 - rancher/rancher:latest • Stable - v2.2.3 - rancher/rancher:stable Version (2019/6) https://github.com/rancher/rancher/releases/tag/v2.2.0 Release Note Webinar http://bit.ly/rancher_webinar_22

Slide 10

Slide 10 text

RANCHER BASIC MONITORING

Slide 11

Slide 11 text

Rancher Basic Monitoring 1.Cluster

Slide 12

Slide 12 text

Rancher Basic Monitoring 2.Nodes

Slide 13

Slide 13 text

3.Notifers Alert notification destination Rancher Basic Monitoring

Slide 14

Slide 14 text

Rancher Basic Monitoring 4.Alerts Default Setting etcd kube components event node a.Cluster Alert Default

Slide 15

Slide 15 text

Rancher Basic Monitoring Default Setting Workload Memory ※You need to enable Promethus features. b.Project Alert Default

Slide 16

Slide 16 text

MULTI-TENANT PROMETHEUS SUPPORT

Slide 17

Slide 17 text

Multi-Tenant Prometheus Support Monitor k3s cluster with Prometheus + Grafana from Rancher rancher-server Server Agent k3s-master k3s-node

Slide 18

Slide 18 text

Lightweight Kubernetes Easy to install. A binary of less than 40 MB. Only 512 MB of RAM required to run. $ curl -sfL https://get.k3s.io | sh – $ k3s kubectl get node Quick Start Minimum System Requirements Linux 3.10+ 512 MB of ram per server 75 MB of ram per node 200 MB of disk space x86_64, ARMv7, ARM64 https://k3s.io/

Slide 19

Slide 19 text

Multi-Tenant Prometheus Support 1.k3s cluster are managed by Rancher. 2.「k3s-cluster」click

Slide 20

Slide 20 text

Multi-Tenant Prometheus Support 3.Select upper menu “Tools”-”Monitoring” 4.Select “Enable”

Slide 21

Slide 21 text

Multi-Tenant Prometheus Support 5.Click “Save” button

Slide 22

Slide 22 text

Multi-Tenant Prometheus Support 6.Select upper menu “Cluster” & Make sure the graph redesign and the Grafana icon appear.

Slide 23

Slide 23 text

Multi-Tenant Prometheus Support 7.Expand accordion menu You can check the detailed information by clicking the graph.

Slide 24

Slide 24 text

Multi-Tenant Prometheus Support 8.Click Grafana icon button

Slide 25

Slide 25 text

• December 2018 Online Meetup Introducing Rancher's New Multi Tenant Prometheus Support Webinar • Rancher v2.2.0-Alpha3 Multi-Tenant Prometheus Supportについて Docs http://bit.ly/rancher_webinar_prometheus http://bit.ly/rancher_qiita_prometheus Multi-Tenant Prometheus Support

Slide 26

Slide 26 text

Multi-Tenant Prometheus Support Let’s start Monitoring with Prometheus !!

Slide 27

Slide 27 text

Thank you for your attention !!