Slide 1

Slide 1 text

Rancher Meetup Tokyo #15 2018.10.18 © 2018 cyberblack28 WHAT’S RANCHER V2.1.0 ?

Slide 2

Slide 2 text

Profile Twitter:cyberblack28 Hatena Blog:https://cyberblack28.hatenablog.com/ Job Educational Solution Architect Developer Advocate/Technical Evangelist Infrastructure Engineer Frontend Engineer Hobby1: Music,Live,FES !! Hobby2: 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 #rancherjp #kujiraya #deepcn

Slide 3

Slide 3 text

AP Communications Co., Ltd

Slide 4

Slide 4 text

Agenda 1. What’s Rancher v2.1.0 2. Windows support revival 3. Information

Slide 5

Slide 5 text

WHAT’S RANCHER V2.1.0

Slide 6

Slide 6 text

What’s Rancher v2.1.0 ? Rancher v2.1.0 introduces new improvements to Kubernetes cluster operations and app management, as well as a migration path for users moving from Rancher’s Cattle orchestrator introduced in 1.x to Rancher Kubernetes. Summary • Latest - v2.1.0 - rancher/rancher:latest • Stable - v2.0.8 - rancher/rancher:stable Version

Slide 7

Slide 7 text

What’s Rancher v2.1.0 ? Webinar October Online Meetup: Migrating from Rancher 1.6 to 2.1 In our October Rancher Meetup, we’ll discuss how to transition various aspects of Rancher 1.6 applications to Rancher 2.0. We’ll look at key terminology differences and parallels, how to implement important elements, and transition from Cattle Compose to YAML specs. Date: Tuesday, October 23rd, 2018 Time: 1:00 PM (US Eastern Time) https://info.rancher.com/2018-10-23-how-to-migrate-from-rancher1- to-rancher2

Slide 8

Slide 8 text

What’s Rancher v2.1.0 ? • Support for project quotas [#13277] - Cluster and project owners can now set quotas on Kubernetes resources at the cluster and project level. • Rancher HA improvements - Administrators can now configure an HA setup with more than one Rancher server. This provides better redundancy and horizontal scalability. • Support for draining nodes [#14265] - Cluster owners can now drain nodes in order to perform maintenance or other disruptive tasks on them. • CI/CD pipeline UX improvements [#14282] - Users will find the CI/CD pipeline more intuitive, easier to use, and with more features. • Support for GitLab in CI pipelines [#12608] - Users can now configure Rancher Pipelines to integrate with GitLab. Details

Slide 9

Slide 9 text

What’s Rancher v2.1.0 ? • Support for Keycloak as an authentication provider [#14730] - Administrators can now configure Keycloak as an authentication provider. • Support for EKS Platform Version 2 [#15487] - Version 2 is now used for all newly created EKS clusters. • Support for editing Helm values.yaml in Rancher catalogs [#13064] [#14844] - User can now achieve a higher degree of customization with Rancher catalog items by directly editing their Helm values.yaml file in the Rancher UI or by uploading a custom values.yaml file. • Created a tool to clean up Rancher installations on Kubernetes Clusters [#13505] - The system-tools utility removes all Rancher installation components installed on a Kubernetes cluster. Details

Slide 10

Slide 10 text

What’s Rancher v2.1.0 ? • EXPERIMENTAL support for Windows Kubernetes clusters - Administrators can now create EXPERIMENTAL Windows Kubernetes clusters. • EXPERIMENTAL support for Kubernetes 1.12 [#15872] - Users can now create EXPERIMENTAL Kubernetes 1.12 clusters. Details

Slide 11

Slide 11 text

WINDOWS SUPPORT REVIVAL

Slide 12

Slide 12 text

Windows support revival rancher-server master Agent Server Control Plane etcd Worker node01 Agent Worker node02 Agent Worker

Slide 13

Slide 13 text

Windows support revival 1. Building Rancher Server 1.Prepare Instance Item Setting Value Name rancher-server Region asia-northeast1Tokyo Zone asia-northeast1-b Machine type vCPUx1 Boot disk Ubuntu 16.04 LTS Size(GB) 80GB Firewall Allow HTTP traffic, Allow HTTPS traffic We will use GCP (Google Cloud Platform). The firewall rule assumes full permission. 2.Install Docker $ curl https://releases.rancher.com/install-docker/17.03.2.sh | sh 3.Install Rancher v2.1.0 Server $ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher

Slide 14

Slide 14 text

Windows support revival 4.Launch the browser and access RancherUI https://EXTERNAL-IP/ Create password for admin user Register Rancher Server URL Login complete 5.First time login setting

Slide 15

Slide 15 text

Windows support revival 2.Construction of Master and Node 1.Prepare Instance We will use GCP (Google Cloud Platform). The firewall rule assumes full permission. Item Setting Value Name master Region asia-northeast1Tokyo Zone asia-northeast1-b Machine type vCPUx1 Boot disk Ubuntu 16.04 LTS Size(GB) 80GB Firewall Allow HTTP traffic, Allow HTTPS traffic Item Setting Value Name node01 Region asia-northeast1Tokyo Zone asia-northeast1-b Machine type vCPUx1 Boot disk Ubuntu 16.04 LTS Size(GB) 80GB Firewall Allow HTTP traffic, Allow HTTPS traffic

Slide 16

Slide 16 text

Windows support revival 2.Confirm completion of Instance creation 3.Install Docker on master, node 01 $ curl https://releases.rancher.com/install-docker/17.03.2.sh | sh Item Setting Value Name node02 Region asia-northeast1Tokyo Zone asia-northeast1-b Machine type vCPUx1 Boot disk Windows Server version 1803 Datacenter Core for Containers Size(GB) 80GB Firewall Allow HTTP traffic, Allow HTTPS traffic

Slide 17

Slide 17 text

Windows support revival 3. Construction of Kubernetes cluster 1.Press "Add Cluster" button

Slide 18

Slide 18 text

Windows support revival 2.Select "Custom", enter an arbitrary name in "Cluster Name", click "Cluster Options" and press the "Next" button 1 2 3

Slide 19

Slide 19 text

Windows support revival 3."Windows Support (Experimental)" is pressed "Enabled" ,"Next" button 4 5

Slide 20

Slide 20 text

Windows support revival 4.Check "Linux" of "Node Operating System", check "etcd" and "Control Plane" of "Node Role", press "Copy to Clipboard" button, execute that command at the master console, Press the button 3 1 2 4 Execute command at master's console

Slide 21

Slide 21 text

Windows support revival 5.After creating the cluster, click the red frame part and select "Edit" 1 2

Slide 22

Slide 22 text

Windows support revival 6.Press the "Copy to Clipboard" button, execute that command at the console of node 01 and press the "Save" button 1 2 Command execution on the console of node 01

Slide 23

Slide 23 text

Windows support revival 7.Confirm that Node has been added

Slide 24

Slide 24 text

Windows support revival 8.Select "Global" from the upper menu 9.Click the red frame part and select "Edit"

Slide 25

Slide 25 text

Windows support revival 10.Select "Windows" in "Node Operating System" and press "Copy to Clipboard" button 1 2

Slide 26

Slide 26 text

Windows support revival 11.For Windows, install Remote Desktop, Chrome's "Chrome RDP for Google Cloud Platform" on Mac. 12. Resetting the RDP password of the node 02 at the GCP side Copy the password to the editor and so on. 3 4 1 2

Slide 27

Slide 27 text

Windows support revival 13.Press "RDP" button 14.Press "RDP" button, after starting Chrome RDP for GCP, enter the password and press "OK" button 1 2

Slide 28

Slide 28 text

Windows support revival 15.Execute the command copied in step 11

Slide 29

Slide 29 text

Windows support revival 16.Press "Save" button

Slide 30

Slide 30 text

Windows support revival 17. Confirm that the number of "Nodes" is 3

Slide 31

Slide 31 text

Windows support revival 18.Select upper menu "Nodes", click "node 02" 1 2

Slide 32

Slide 32 text

Windows support revival 19.Confirm that Windows node is added in "System Information"

Slide 33

Slide 33 text

Windows support revival 20.Select "Cluster" from the upper menu and press the "Launch kubectl" button 1 2

Slide 34

Slide 34 text

Windows support revival 21.Confirm Node status $ kubectl get nodes

Slide 35

Slide 35 text

Windows support revival • Windows node is only Worker node at present. • Network is only Flannel at present. Consideration https://rancher.com/docs//rancher/v2.x/en/cluster-provisioning/rke- clusters/windows-clusters/ Configuring Custom Clusters for Windows (Experimental) Official Docs

Slide 36

Slide 36 text

INFORMATION

Slide 37

Slide 37 text

JAPAN CONTAINER DAYS V18.12 2018.12.04-05 @ sola city Conference Center rancherjp30 deepcn30

Slide 38

Slide 38 text

JAPAN CONTAINER DAYS Training Register 2018.12.03 (Mon) @impress seminar room https://eventregist.com/e/containerdays1812training

Slide 39

Slide 39 text

! !