Copyright © SUSE 2021
Rancher Rodeo
3 0 S E P T E M BRE 2022
Benoit Loriot
benoit.loriot@suse.com Sales
Engineer
Julien Niedergang
julien.niedergang@suse.com
Copyright © SUSE 2021
Date Sujet
Vendredi18 Novembre NeuVector Rodeo
Voici la fin:
Contenu Lien
L'affaire CentOS https://youtu.be/DlSJWxa3mKc
Usine Logicielle https://youtu.be/_vItD1_DyRE
Présentation Neuvector https://youtu.be/UgfTuK8K-yk
Démo Neuvector https://youtu.be/b96yQCZ-I_Q
Copyright © SUSE 2021
Copyright © SUSE 2021
Objectives for the day
5
1. Explain Docker and Kubernetes concepts
2. Provision HobbyFarm user accounts
3. Install and Demo Rancher Server
4. Deploy a Kubernetes cluster
5. Deploy a hello-world application into the cluster
6. Deploy WordPress into the cluster
Copyright © SUSE 2021
— This Rodeo Presentation is designed for those that are new to Kubernetes and Rancher
— We will cover some slightly advanced techniques (if we have time)
— What is presented in here is not necessarily how you should run something in
production, but should help give you a basis to put together the right tools to be able
to run production workloads
6
Forewarning
Copyright © SUSE 2021
— Up-to-date browser
– Google Chrome
– Mozilla Firefox
– Other Chromium based browsers
7
Prerequisites
Copyright © SUSE 2021
Talk to the team by:
— Using the Questions option in your GTM client
8
Have comments or questions?
Copyright © SUSE 2021
Copyright © SUSE 2021
The Basics
Containers &
Kubernetes
9
Copyright © SUSE 2021 11
Container Images
Application
Code
Application
Dependencies
Container
Image
Copyright © SUSE 2021 12
Building an image
Copyright © SUSE 2021 13
Running an image in a container
Container
Image
Container
Container
Container
Copyright © SUSE 2021
— A running instance of an image
— Portable - You build your application once, and you run it
anywhere.
— You have a clean, isolated runtime environment for your
application.
— You can scale your application horizontally by spawning
more containers. Each container is guaranteed to be
identical.
14
Containers
Copyright © SUSE 2021 15
Containers
Source : https://www.docker.com/resources/what-container
Copyright © SUSE 2021 16
Distributing a Container Image
Copyright © SUSE 2021
— Central place to store images
– Public
– Private
– On-prem / Cloud
— Examples:
– Amazon Elastic Container Registry
– Azure Container Registry
– Docker Hub
– Harbor
— Some are extended with other capabilities:
– Vulnerability scanning
– LDAP / AD Support
– Auditing
– Replication
– …
17
Container Registries
Copyright © SUSE 2021
Managing a couple – no problem
Containers are great……..but
Copyright © SUSE 2021
Containers are great……..but
How about managing many? How do we address:
• Networking,
• Security
• Scheduling
• Automation
• etc.
Copyright © SUSE 2021 20
Kubernetes is a powerful open-source platform
for managing containerized workloads and services
Copyright © SUSE 2021
Declarative Configuration
21
Copyright © SUSE 2021
Everything in Kubernetes is a Resource
22
Copyright © SUSE 2021
You can create/retrieve/update/delete resources
23
Copyright © SUSE 2021
⚫ Smallest unit of deployment
⚫ Similar to what a VM is in the hypervisor world
⚫ Can contain one or more containers
⚫ Has its own resources:
⚫ Storage (i.e., shared volumes)
⚫ Networking
⚫ Scheduled on to a Worker node
Pods
Copyright © SUSE 2021
⚫ Abstraction for managing a number of
identical pods
⚫ Manages these pods as a group
⚫ Updating
⚫ Scaling
⚫ Rollback
⚫ Manages desired state vs actual state
Deployments
Copyright © SUSE 2021
✓
Deployments
Copyright © SUSE 2021
⚫ Exposes an application running on a set of pods
⚫ Reliable, static reference for objects such as
deployments
⚫ Has its own IP address / DNS record
⚫ Pods are mortal
⚫ They have their own life-cycle
⚫ Don’t address them directly
⚫ Services can be
⚫ Internal (ClusterIP)
⚫ External facing (NodePort & Loadbalancer)
Services
Copyright © SUSE 2021
10.42.0.4 10.42.0.5 10.42.0.6
Endpoints:
10.42.0.4
10.42.0.5
10.42.0.6
Type : LoadBalancer
10.42.0.7
Endpoints:
10.42.0.4
10.42.0.5
10.42.0.7
Services
Copyright © SUSE 2021
⚫ Manages external access to services in a
cluster
⚫ Commonly HTTP
⚫ Gives services externally-reachable URLs
⚫ Load Balance traffic
⚫ Terminate SSL/TLS
⚫ Facilitate name-based virtual hosting
Ingresses
Copyright © SUSE 2021
Kubernetes Cluster
/bar
/foo
ServiceA ServiceB
foo.bar.com/bar
foo.bar.com/foo
Ingresses
Copyright © SUSE 2021
— ConfigMaps
— Secrets
— PersistentVolumes
— HorizontalPodAutoscalers
— CronJobs
— DaemonSets
— StatefulSets
— ….
Many more resources …
31
Copyright © SUSE 2021
Kubernetes architecture
⚫ Controlplane:
Manages the cluster
and exposes an API for
control
⚫ Etcd:
A key value store used
as Kubernetes’
backing store for all
cluster data.
⚫ Worker:
Runs workloads and
all of the supporting
components.
API / CLI
Copyright © SUSE 2021
Setting up Kubernetes is hard
33
Copyright © SUSE 2021
You don’t compile Linux from scratch,
you use a distribution
34
Copyright © SUSE 2021 35
Copyright © SUSE 2021
Rancher
Kubernetes
Engine
• 100% Upstream Kubernetes
• CNCF certified
• Easy installation
• Zero-downtime upgrades
• Backup & Disaster Recovery
• Air gapped installation support
36
Copyright © SUSE 2021
RKE included
add-ons
• Etcd
• CNI Plugin
• CoreDNS
• Containerd (RKE2)
• Ingress Controller
• Metrics-server
37
Copyright © SUSE 2021
Managing a couple – no problem
Kubernetes clusters are great……..but
Copyright © SUSE 2021
Kubernetes clusters are great……..but
How about managing
many?
• Different environments
• Different teams
• Different hardware
• Different locations
• Edge devices
Copyright © SUSE 2021
There is a large ecosystem of open-source tools that integrate with Kubernetes -
https://landscape.cncf.io
(These are just the
Database projects)
Kubernetes Ecosystem
Copyright © SUSE 2021
Copyright © SUSE 2021 42
Simplify complexity across your infrastructure
Containerized App 1 Containerized App 3
Containerized App 2
Authentication Policy Enforcement & Governance
Simplified Cluster Operations & Infrastructure Management (Run & Manage)
Platform Services (Build & Secure)
Amazon
EKS
Azure
AKS
Google
GKE
Cloud
Datacenter Edge
Branch
Dev
K8s Version
Management
GitOps Continuous
Delivery
Cluster Templates &
Config Enforcement
Node Pool
Management
Cluster Provisioning &
Lifecycle Management
Centralized Audit &
CIS Benchmarking
AIOps, Monitoring &
Logging
OPA & KubeWarden
RBAC, Pod &
Network Policies
Rancher
Catalog
Monitoring &
Alerts
Dashboards &
Observability
Service
Mesh
Longhorn
Storage
Cloud-Native Hyperconverged Infrastructure
Virtualized Machine &
OS* Management
Amazon
Linux
SUSE Linux
Enterprise
RancherOS*
SUSE Liberty
& RHEL
Ubuntu
Linux
Oracle
Linux
Container
Security
Linux
Copyright © SUSE 2021
Copyright © SUSE 2021
Services
Repos - Packages
packages for OS
Registry
A construire? En place?
NTP
Repos - Code
Gitlab, Github…
Load Balancer
2 VIPs
Shared Storage
Type de stockage
DNS
1 x FQDN Mgmt
1 x FQDN (wildcard) vers workers Downstream
Accès
Liste des ouvertures réseau nécessaires
Proxy
Container Network Infrastructure
Provider réseau
Compute
Downstream Cluster(s)
Rancher Management Server
CSP LAN Network
Somewhere in the Cloud…
… an instance.
2 vCPU
16GB RAM
40GB vDisk
rancher01
Master (cp, etcd), Worker
1 x
Somewhere in the Cloud…
… another instance.
2 vCPU
16GB RAM
40GB vDisk
cluster01
Master (cp, etcd), Worker
1 x
Having a short break? 44
Copyright © SUSE 2021
Copyright © SUSE 2021
Let’s try it out
45
Copyright © SUSE 2021
Services
Repos - Packages
packages for OS
Registry
A construire? En place?
NTP
Repos - Code
Gitlab, Github…
Load Balancer
2 VIPs
Shared Storage
Type de stockage
DNS
1 x FQDN Mgmt
1 x FQDN (wildcard?) vers workers Downstream
Accès
Liste des ouvertures réseau nécessaires
Proxy
Container Network Infrastructure
Provider réseau
Compute
Downstream Cluster(s)
Rancher Management Server
CSP LAN Network
Somewhere in the Cloud…
… an instance.
2 vCPU
4GB RAM
20GB vDisk
rancher01
Master (cp, etcd), Worker
1 x
Somewhere in the Cloud…
… another instance.
2 vCPU
4GB RAM
20GB vDisk
cluster01
Master (cp, etcd), Worker
1 x
46
Architecture
Copyright © SUSE 2021
− Navigate to learn.eu.hobbyfarm.io
− Register with your e-mail and password
− Access Code: fr300922
− Refresh your browser page
− If no scenario shows up, check access code
− Click on "Start Scenario" to ignite the instances provisioning
− Please Wait for the provisioning to complete :)
HobbyFarm
Copyright © SUSE 2021
After you click on "start scenario"
learn.eu.hobbyfarm.io
Please be patient while the
instances are being deployed
Access Code: fr300922
Copyright © SUSE 2021
Part 1: Rancher Installation
− Installing required tools (RKE2, Kubectl, Helm)
− Creating the management cluster
− Deploying Cert-Manager and Rancher
Pause for the coffee break at the “Accessing
Rancher” step
HobbyFarm Scenario Agenda
Copyright © SUSE 2021
Introduction
Copyright © SUSE 2021
Create a Kubernetes cluster for Rancher
Please leave some time for the service to start
Copyright © SUSE 2021
Testing your cluster
Copyright © SUSE 2021
Install HELM
Copyright © SUSE 2021
Install cert-manager
Copyright © SUSE 2021
Install Rancher
Copyright © SUSE 2021
Verify Rancher is Ready to Access
Coffee break while we wait!
Copyright © SUSE 2021
Copyright © SUSE 2021
Waiting for deployment
Rancher
57
Copyright © SUSE 2021
Accessing Rancher 1/2
Reach the UI & get the password
Copyright © SUSE 2021
Accessing Rancher 2/2
Set a password & the Rancher URL
Copyright © SUSE 2021
Services
Repos - Packages
packages for OS
Registry
A construire? En place?
NTP
Repos - Code
Gitlab, Github…
Load Balancer
2 VIPs
Shared Storage
Type de stockage
DNS
1 x FQDN Mgmt
1 x FQDN (wildcard) vers workers Downstream
Accès
Liste des ouvertures réseau nécessaires
Proxy
Container Network Infrastructure
Provider réseau
Compute
Downstream Cluster(s)
Rancher Management Server
CSP LAN Network
Somewhere in the Cloud…
… an instance.
2 vCPU
4GB RAM
20GB vDisk
rancher01
Master (cp, etcd), Worker
1 x
Somewhere in the Cloud…
… another instance.
2 vCPU
4GB RAM
20GB vDisk
cluster01
Master (cp, etcd), Worker
1 x
60
Architecture
Copyright © SUSE 2021
Creating a Kubernetes Lab Cluster within Rancher 1/6
Copyright © SUSE 2021
Rancher UI - Create a new cluster 2/6
Copyright © SUSE 2021
Rancher UI - Create a new cluster 3/6
Copyright © SUSE 2021
Rancher UI - Setup the new cluster 4/6
Please stick with 1.21.x
Copyright © SUSE 2021
Rancher UI - Setup the new cluster 5/6
Copyright © SUSE 2021
Start the bootstrapping process 6/6
Please be patient! It can take 5 good minutes to deploy.
Copyright © SUSE 2021
Copyright © SUSE 2021
Monitoring
First basic app + connectivity
Interacting with
your Cluster
67
Copyright © SUSE 2021
Interact with your downstream cluster
Copyright © SUSE 2021
Enable Rancher Monitoring
1
2
3
Copyright © SUSE 2021
Working with Rancher Monitoring
Copyright © SUSE 2021
Create a Deployment and Service
Copyright © SUSE 2021
Create a K8S Ingress
Attention, adresse à adapter en fonction de votre lab!
Copyright © SUSE 2021
Copyright © SUSE 2021
Stateless
Testing an
Application
73
Copyright © SUSE 2021
Creating Projects in your K8S Cluster
Copyright © SUSE 2021
Add a new Chart Repository
Copyright © SUSE 2021
Deploy a Wordpress as a Stateless App 1/3
Copyright © SUSE 2021
Deploy a Wordpress as a Stateless App 2/3
Copyright © SUSE 2021
Deploy a Wordpress as a Stateless App 3/3
Copyright © SUSE 2021
Copyright © SUSE 2021
Stateful
Testing an
Application
79
Copyright © SUSE 2021
Deploy the nfs-server-provisioner 1/2
Copyright © SUSE 2021
Deploy the nfs-server-provisioner 2/2
Copyright © SUSE 2021
Creating a stateful Wordpress Project
Copyright © SUSE 2021
Deploy a Wordpress as a Stateful App 1/5
Copyright © SUSE 2021
Deploy a Wordpress as a Stateful App 2/5
Copyright © SUSE 2021
Deploy a Wordpress as a Stateful App 3/5
Copyright © SUSE 2021
Deploy a Wordpress as a Stateful App 4/5
Copyright © SUSE 2021
Deploy a Wordpress as a Stateful App 5/5
Copyright © SUSE 2021
Upgrading your K8S Cluster
Copyright © SUSE 2021
Date Sujet
Vendredi18 Novembre NeuVector Rodeo
Nos félicitations
Contenu Lien
L'affaire CentOS https://youtu.be/DlSJWxa3mKc
Usine Logicielle https://youtu.be/_vItD1_DyRE
Présentation Neuvector https://youtu.be/UgfTuK8K-yk
Démo Neuvector https://youtu.be/b96yQCZ-I_Q
Copyright © SUSE 2021
© 2020 SUSE LLC. All Rights Reserved. SUSE
and the SUSE logo are registeredtrademarks
of SUSE LLCin the UnitedStates and other
countries. All third-party trademarks are the
property of their respective owners.
For more information, contact SUSE at:
+1 800 796 3700 (U.S./Canada)
+49 (0)911-740 53-0(Worldwide)
Maxfeldstrasse 5
90409 Nuremberg
www.suse.com
Thank you

Rancher Rodéo France

  • 1.
    Copyright © SUSE2021 Rancher Rodeo 3 0 S E P T E M BRE 2022 Benoit Loriot benoit.loriot@suse.com Sales Engineer Julien Niedergang julien.niedergang@suse.com
  • 2.
    Copyright © SUSE2021 Date Sujet Vendredi18 Novembre NeuVector Rodeo Voici la fin: Contenu Lien L'affaire CentOS https://youtu.be/DlSJWxa3mKc Usine Logicielle https://youtu.be/_vItD1_DyRE Présentation Neuvector https://youtu.be/UgfTuK8K-yk Démo Neuvector https://youtu.be/b96yQCZ-I_Q
  • 3.
  • 4.
    Copyright © SUSE2021 Objectives for the day 5 1. Explain Docker and Kubernetes concepts 2. Provision HobbyFarm user accounts 3. Install and Demo Rancher Server 4. Deploy a Kubernetes cluster 5. Deploy a hello-world application into the cluster 6. Deploy WordPress into the cluster
  • 5.
    Copyright © SUSE2021 — This Rodeo Presentation is designed for those that are new to Kubernetes and Rancher — We will cover some slightly advanced techniques (if we have time) — What is presented in here is not necessarily how you should run something in production, but should help give you a basis to put together the right tools to be able to run production workloads 6 Forewarning
  • 6.
    Copyright © SUSE2021 — Up-to-date browser – Google Chrome – Mozilla Firefox – Other Chromium based browsers 7 Prerequisites
  • 7.
    Copyright © SUSE2021 Talk to the team by: — Using the Questions option in your GTM client 8 Have comments or questions?
  • 8.
    Copyright © SUSE2021 Copyright © SUSE 2021 The Basics Containers & Kubernetes 9
  • 9.
    Copyright © SUSE2021 11 Container Images Application Code Application Dependencies Container Image
  • 10.
    Copyright © SUSE2021 12 Building an image
  • 11.
    Copyright © SUSE2021 13 Running an image in a container Container Image Container Container Container
  • 12.
    Copyright © SUSE2021 — A running instance of an image — Portable - You build your application once, and you run it anywhere. — You have a clean, isolated runtime environment for your application. — You can scale your application horizontally by spawning more containers. Each container is guaranteed to be identical. 14 Containers
  • 13.
    Copyright © SUSE2021 15 Containers Source : https://www.docker.com/resources/what-container
  • 14.
    Copyright © SUSE2021 16 Distributing a Container Image
  • 15.
    Copyright © SUSE2021 — Central place to store images – Public – Private – On-prem / Cloud — Examples: – Amazon Elastic Container Registry – Azure Container Registry – Docker Hub – Harbor — Some are extended with other capabilities: – Vulnerability scanning – LDAP / AD Support – Auditing – Replication – … 17 Container Registries
  • 16.
    Copyright © SUSE2021 Managing a couple – no problem Containers are great……..but
  • 17.
    Copyright © SUSE2021 Containers are great……..but How about managing many? How do we address: • Networking, • Security • Scheduling • Automation • etc.
  • 18.
    Copyright © SUSE2021 20 Kubernetes is a powerful open-source platform for managing containerized workloads and services
  • 19.
    Copyright © SUSE2021 Declarative Configuration 21
  • 20.
    Copyright © SUSE2021 Everything in Kubernetes is a Resource 22
  • 21.
    Copyright © SUSE2021 You can create/retrieve/update/delete resources 23
  • 22.
    Copyright © SUSE2021 ⚫ Smallest unit of deployment ⚫ Similar to what a VM is in the hypervisor world ⚫ Can contain one or more containers ⚫ Has its own resources: ⚫ Storage (i.e., shared volumes) ⚫ Networking ⚫ Scheduled on to a Worker node Pods
  • 23.
    Copyright © SUSE2021 ⚫ Abstraction for managing a number of identical pods ⚫ Manages these pods as a group ⚫ Updating ⚫ Scaling ⚫ Rollback ⚫ Manages desired state vs actual state Deployments
  • 24.
    Copyright © SUSE2021 ✓ Deployments
  • 25.
    Copyright © SUSE2021 ⚫ Exposes an application running on a set of pods ⚫ Reliable, static reference for objects such as deployments ⚫ Has its own IP address / DNS record ⚫ Pods are mortal ⚫ They have their own life-cycle ⚫ Don’t address them directly ⚫ Services can be ⚫ Internal (ClusterIP) ⚫ External facing (NodePort & Loadbalancer) Services
  • 26.
    Copyright © SUSE2021 10.42.0.4 10.42.0.5 10.42.0.6 Endpoints: 10.42.0.4 10.42.0.5 10.42.0.6 Type : LoadBalancer 10.42.0.7 Endpoints: 10.42.0.4 10.42.0.5 10.42.0.7 Services
  • 27.
    Copyright © SUSE2021 ⚫ Manages external access to services in a cluster ⚫ Commonly HTTP ⚫ Gives services externally-reachable URLs ⚫ Load Balance traffic ⚫ Terminate SSL/TLS ⚫ Facilitate name-based virtual hosting Ingresses
  • 28.
    Copyright © SUSE2021 Kubernetes Cluster /bar /foo ServiceA ServiceB foo.bar.com/bar foo.bar.com/foo Ingresses
  • 29.
    Copyright © SUSE2021 — ConfigMaps — Secrets — PersistentVolumes — HorizontalPodAutoscalers — CronJobs — DaemonSets — StatefulSets — …. Many more resources … 31
  • 30.
    Copyright © SUSE2021 Kubernetes architecture ⚫ Controlplane: Manages the cluster and exposes an API for control ⚫ Etcd: A key value store used as Kubernetes’ backing store for all cluster data. ⚫ Worker: Runs workloads and all of the supporting components. API / CLI
  • 31.
    Copyright © SUSE2021 Setting up Kubernetes is hard 33
  • 32.
    Copyright © SUSE2021 You don’t compile Linux from scratch, you use a distribution 34
  • 33.
  • 34.
    Copyright © SUSE2021 Rancher Kubernetes Engine • 100% Upstream Kubernetes • CNCF certified • Easy installation • Zero-downtime upgrades • Backup & Disaster Recovery • Air gapped installation support 36
  • 35.
    Copyright © SUSE2021 RKE included add-ons • Etcd • CNI Plugin • CoreDNS • Containerd (RKE2) • Ingress Controller • Metrics-server 37
  • 36.
    Copyright © SUSE2021 Managing a couple – no problem Kubernetes clusters are great……..but
  • 37.
    Copyright © SUSE2021 Kubernetes clusters are great……..but How about managing many? • Different environments • Different teams • Different hardware • Different locations • Edge devices
  • 38.
    Copyright © SUSE2021 There is a large ecosystem of open-source tools that integrate with Kubernetes - https://landscape.cncf.io (These are just the Database projects) Kubernetes Ecosystem
  • 39.
  • 40.
    Copyright © SUSE2021 42 Simplify complexity across your infrastructure Containerized App 1 Containerized App 3 Containerized App 2 Authentication Policy Enforcement & Governance Simplified Cluster Operations & Infrastructure Management (Run & Manage) Platform Services (Build & Secure) Amazon EKS Azure AKS Google GKE Cloud Datacenter Edge Branch Dev K8s Version Management GitOps Continuous Delivery Cluster Templates & Config Enforcement Node Pool Management Cluster Provisioning & Lifecycle Management Centralized Audit & CIS Benchmarking AIOps, Monitoring & Logging OPA & KubeWarden RBAC, Pod & Network Policies Rancher Catalog Monitoring & Alerts Dashboards & Observability Service Mesh Longhorn Storage Cloud-Native Hyperconverged Infrastructure Virtualized Machine & OS* Management Amazon Linux SUSE Linux Enterprise RancherOS* SUSE Liberty & RHEL Ubuntu Linux Oracle Linux Container Security Linux
  • 41.
    Copyright © SUSE2021 Copyright © SUSE 2021 Services Repos - Packages packages for OS Registry A construire? En place? NTP Repos - Code Gitlab, Github… Load Balancer 2 VIPs Shared Storage Type de stockage DNS 1 x FQDN Mgmt 1 x FQDN (wildcard) vers workers Downstream Accès Liste des ouvertures réseau nécessaires Proxy Container Network Infrastructure Provider réseau Compute Downstream Cluster(s) Rancher Management Server CSP LAN Network Somewhere in the Cloud… … an instance. 2 vCPU 16GB RAM 40GB vDisk rancher01 Master (cp, etcd), Worker 1 x Somewhere in the Cloud… … another instance. 2 vCPU 16GB RAM 40GB vDisk cluster01 Master (cp, etcd), Worker 1 x Having a short break? 44
  • 42.
    Copyright © SUSE2021 Copyright © SUSE 2021 Let’s try it out 45
  • 43.
    Copyright © SUSE2021 Services Repos - Packages packages for OS Registry A construire? En place? NTP Repos - Code Gitlab, Github… Load Balancer 2 VIPs Shared Storage Type de stockage DNS 1 x FQDN Mgmt 1 x FQDN (wildcard?) vers workers Downstream Accès Liste des ouvertures réseau nécessaires Proxy Container Network Infrastructure Provider réseau Compute Downstream Cluster(s) Rancher Management Server CSP LAN Network Somewhere in the Cloud… … an instance. 2 vCPU 4GB RAM 20GB vDisk rancher01 Master (cp, etcd), Worker 1 x Somewhere in the Cloud… … another instance. 2 vCPU 4GB RAM 20GB vDisk cluster01 Master (cp, etcd), Worker 1 x 46 Architecture
  • 44.
    Copyright © SUSE2021 − Navigate to learn.eu.hobbyfarm.io − Register with your e-mail and password − Access Code: fr300922 − Refresh your browser page − If no scenario shows up, check access code − Click on "Start Scenario" to ignite the instances provisioning − Please Wait for the provisioning to complete :) HobbyFarm
  • 45.
    Copyright © SUSE2021 After you click on "start scenario" learn.eu.hobbyfarm.io Please be patient while the instances are being deployed Access Code: fr300922
  • 46.
    Copyright © SUSE2021 Part 1: Rancher Installation − Installing required tools (RKE2, Kubectl, Helm) − Creating the management cluster − Deploying Cert-Manager and Rancher Pause for the coffee break at the “Accessing Rancher” step HobbyFarm Scenario Agenda
  • 47.
    Copyright © SUSE2021 Introduction
  • 48.
    Copyright © SUSE2021 Create a Kubernetes cluster for Rancher Please leave some time for the service to start
  • 49.
    Copyright © SUSE2021 Testing your cluster
  • 50.
    Copyright © SUSE2021 Install HELM
  • 51.
    Copyright © SUSE2021 Install cert-manager
  • 52.
    Copyright © SUSE2021 Install Rancher
  • 53.
    Copyright © SUSE2021 Verify Rancher is Ready to Access Coffee break while we wait!
  • 54.
    Copyright © SUSE2021 Copyright © SUSE 2021 Waiting for deployment Rancher 57
  • 55.
    Copyright © SUSE2021 Accessing Rancher 1/2 Reach the UI & get the password
  • 56.
    Copyright © SUSE2021 Accessing Rancher 2/2 Set a password & the Rancher URL
  • 57.
    Copyright © SUSE2021 Services Repos - Packages packages for OS Registry A construire? En place? NTP Repos - Code Gitlab, Github… Load Balancer 2 VIPs Shared Storage Type de stockage DNS 1 x FQDN Mgmt 1 x FQDN (wildcard) vers workers Downstream Accès Liste des ouvertures réseau nécessaires Proxy Container Network Infrastructure Provider réseau Compute Downstream Cluster(s) Rancher Management Server CSP LAN Network Somewhere in the Cloud… … an instance. 2 vCPU 4GB RAM 20GB vDisk rancher01 Master (cp, etcd), Worker 1 x Somewhere in the Cloud… … another instance. 2 vCPU 4GB RAM 20GB vDisk cluster01 Master (cp, etcd), Worker 1 x 60 Architecture
  • 58.
    Copyright © SUSE2021 Creating a Kubernetes Lab Cluster within Rancher 1/6
  • 59.
    Copyright © SUSE2021 Rancher UI - Create a new cluster 2/6
  • 60.
    Copyright © SUSE2021 Rancher UI - Create a new cluster 3/6
  • 61.
    Copyright © SUSE2021 Rancher UI - Setup the new cluster 4/6 Please stick with 1.21.x
  • 62.
    Copyright © SUSE2021 Rancher UI - Setup the new cluster 5/6
  • 63.
    Copyright © SUSE2021 Start the bootstrapping process 6/6 Please be patient! It can take 5 good minutes to deploy.
  • 64.
    Copyright © SUSE2021 Copyright © SUSE 2021 Monitoring First basic app + connectivity Interacting with your Cluster 67
  • 65.
    Copyright © SUSE2021 Interact with your downstream cluster
  • 66.
    Copyright © SUSE2021 Enable Rancher Monitoring 1 2 3
  • 67.
    Copyright © SUSE2021 Working with Rancher Monitoring
  • 68.
    Copyright © SUSE2021 Create a Deployment and Service
  • 69.
    Copyright © SUSE2021 Create a K8S Ingress Attention, adresse à adapter en fonction de votre lab!
  • 70.
    Copyright © SUSE2021 Copyright © SUSE 2021 Stateless Testing an Application 73
  • 71.
    Copyright © SUSE2021 Creating Projects in your K8S Cluster
  • 72.
    Copyright © SUSE2021 Add a new Chart Repository
  • 73.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateless App 1/3
  • 74.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateless App 2/3
  • 75.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateless App 3/3
  • 76.
    Copyright © SUSE2021 Copyright © SUSE 2021 Stateful Testing an Application 79
  • 77.
    Copyright © SUSE2021 Deploy the nfs-server-provisioner 1/2
  • 78.
    Copyright © SUSE2021 Deploy the nfs-server-provisioner 2/2
  • 79.
    Copyright © SUSE2021 Creating a stateful Wordpress Project
  • 80.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateful App 1/5
  • 81.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateful App 2/5
  • 82.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateful App 3/5
  • 83.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateful App 4/5
  • 84.
    Copyright © SUSE2021 Deploy a Wordpress as a Stateful App 5/5
  • 85.
    Copyright © SUSE2021 Upgrading your K8S Cluster
  • 86.
    Copyright © SUSE2021 Date Sujet Vendredi18 Novembre NeuVector Rodeo Nos félicitations Contenu Lien L'affaire CentOS https://youtu.be/DlSJWxa3mKc Usine Logicielle https://youtu.be/_vItD1_DyRE Présentation Neuvector https://youtu.be/UgfTuK8K-yk Démo Neuvector https://youtu.be/b96yQCZ-I_Q
  • 87.
    Copyright © SUSE2021 © 2020 SUSE LLC. All Rights Reserved. SUSE and the SUSE logo are registeredtrademarks of SUSE LLCin the UnitedStates and other countries. All third-party trademarks are the property of their respective owners. For more information, contact SUSE at: +1 800 796 3700 (U.S./Canada) +49 (0)911-740 53-0(Worldwide) Maxfeldstrasse 5 90409 Nuremberg www.suse.com Thank you