SlideShare a Scribd company logo
Open19 k8s workshop
Part 1: Kubernetes deployment & management
K8S & Rancher - concepts
Historically
- from bare-metal installations (90's),
- through virtualized deployments (2000's),
- to containerized deployments (now)
Enablers:
- cloud computing -> cloud providers !
- scale: dynamic scaling on global level.
- security
- availability: from rack to data center to global region
- features (paas):
- app: databases
- app: file services
- infra: dns, certificates
Enablers – contd.
- infrastructure as code (eg terraform, ansible)
- (TF) cloud provider infrastructure (firewall rules, load balancers,
networks)
- (TF) virtual servers
- (TF/Ans) supporting services: file services, database services
- (Ans) os provisioning
Enablers – contd….
- docker: a bundle of packaged dependencies
- pets vs cattle: microservices:
- deployable
- upgradable
- scaleable
- recoverable
- container registries:
- docker hub
- standalone registry
- in-cluster registry
- cloud provider registry
Bringing it together: orchestration
- go beyond a simple ‘docker run’
- scheduling in function of:
- load
- availability
- rolling updates
Kubernetes (K8S): a container orchestrator
Roles
- etcd: key-value store db to hold configuration
- availability and cluster quorum
- backups & restores
- bottlenecks & scaling !
- control plane:
- api service to access the cluster
- scheduling logic
- management layer !
K8S Roles – contd.
- worker nodes:
- run the actual workloads
- can scale dynamically, leveraging cloud services
so cluster composition for a basic cluster:
- 3 etcd nodes due to quorum requirements.
- at least 2 (but we might as well combine with etcd roles and use 3)
CP nodes
- 2 or more workers (if possible using auto-scaling)
- Do not combine worker with cp/management role.
- So a total of 5 nodes per cluster seems sensible for testing.
K8s: application perspective
- declarative syntax: YAML
- unit of work: the pod
- deployments, stateful sets, daemonsets
K8s: storage – some thoughts
- try to leverage cloud provider storage api's when possible
( while avoiding vendor lock-in)
- traditional storage can be challenging (nfs, iscsi)
- storage vendors can provide storage provisioners through the CSI
- try to keep microservices stateless wherever possible
- currently an evolving topic (see CSI)
Storage model: abstraction layers
- Persistent Volumes: leverages a storage provisioner to reserve
actual storage on a physical device.
- Persistent Volume Claims: try to claim a created PV for use by
one or more pods
- Storage Classes: more dynamic way of mapping PVC's to actual storage
…and:
- software-defined: configmaps
Useful for: injecting variables into a container, injecting a config file
Networking: the cluster network
- SDN drivers: choices
- in-cluster communication: pod-to-pod & dynamic ip's
- accessing apps in-cluster: services
- service discovery: dns
- try to use tags as selectors when possible (more dynamic)
Accessing apps outside of the cluster
- nodeports:
- bound to a socket (same on every node)
- for tcp/udp services, eg smtp
- functionality implemented within k8s
Accessing apps: ingress
- ingress rules:
- add layer-7 logic (use case: http)
- choice of provisioner: eg nginx
- needs some kind of ingress provisioner as a third-party
component, popular: nginx. but also eg haproxy, F5, ...
Accessing apps…
- easy & cheap: dns rr
- in-app provisioned cloud lb
- on-prem or separately managed lb
Security boundaries
- namespaces administratively separating privileges on objects
- network policies: securing network communications within the
cluster network
- RBAC
- ingress: for application access, API server: for management.
- so foresee separate incoming paths for both
K8s: bringing it together
- app: combination of components
- pods, services and a deployment model (eg deployments)
- persistent storage if needed
- a way to access the app: in-cluster <-> outside of cluster
- configuration objects (configmaps, static config files)
- scaling & security logic
- health checks
- ...
Rolling out your app
- set of yml files (or one big yml file), similar to docker compose
- k8s package manager: helm
- helm can be integrated into your deployment strategy
- can work with variables & tags, supports concept of upgrades &
rollbacks
- hierarchy: <docker image> -> <container> -> <pod>
-> <deployment> -> <ingress> -> helm chart.
Missing link: management
- kubectl: provided by kubernetes for most os's, but cli only
- managing the components can be challenging:
- k8s through api using kubectl: learning curve, visibility challenges
- etcd: actual data has to be managed using etcdctl (eg
backups/restores)
- vendor-specific management layers on top of k8s: eg openshift
(RedHat)
Vendor-agnostic solution: rancher labs
- cloud providers (as vm or as paas) or on-prem deployments
- supported linux os's: centos, ubuntu, ...
- Hardened and slimmed-down os: RancherOS
-> this is what is used for a dynamic cloud provider rollout,
if you decide not to use paas.
Rancher – contd.
- adds authentication layer: eg openldap, AD, Azure AD, ...
- abstracts away cluster deployment, upgrades & backups
- abstracts away complexity of yaml objects,
- eg easy for creating yaml templates
- learn by doing: create a rancher workload, underlying yaml will
be generated for needed linked objects such as services, then inspect
or export the yaml for re-use
Rancher – cntd.
- kubernetes clusters are rolled out within containers
(but can also be imported)
- provides cli tools, a web gui and a rest API
- provides some out-of the box additional functionality such as:
- an nginx ingress daemonset.
- helm charts
rancher - contd.
- Can be installed as standalone docker instance or within a HA
cluster
- Access: should be deployed as part of the management plane
-> so together with API server.
- adds concept of 'projects' (as a grouping of namespaces) to
the security/deployment model.
- gui shortcuts to eg container logs, shell exec, kubectl desribe
Missing link – logging/monitoring
- Rancher adds some performance monitoring but it is very basic
- Cloud-native solution: prometheus
- can be rolled out on a separate machine or within one or more
clusters
- helm chart for Prometheus icw Grafana is available (but you can
also download
k8s charts and integration apps at Grafana)
prometheus
- built for dynamic cloud environments:
- can eg leverage kubernetes metadata to discover new pods
- can use data exported by the cloud provider to discover vm's
- can use DNS data to discover new hosts/vm's/pods
- but can also use a static configuration.
monitoring
- make sure to monitor both within Kubernetes and on infrastruture
level.
- logging solution: ELK, splunk, syslog, fluentd, kafka

More Related Content

What's hot (20)

PDF
Web後端技術的演變
inwin stack
 
PDF
VietOpenStack meetup 7th High Performance VM
Vietnam Open Infrastructure User Group
 
PDF
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
NETWAYS
 
PDF
Docker for HPC in a Nutshell
inside-BigData.com
 
PDF
OSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
NETWAYS
 
PPTX
Episode 4: Operating Kubernetes at Scale with DC/OS
Mesosphere Inc.
 
PDF
Implementing an Automated Staging Environment
Daniel Oliveira Filho
 
PDF
Kubernetes - A Short Ride Throught the project and its ecosystem
Maciej Kwiek
 
PPTX
Introduction to Container Storage Interface (CSI)
Idan Atias
 
PDF
(Open)Stacking Containers
Ken Thompson
 
PDF
OSDC 2018 | Introduction to SaltStack in the Modern Data Center by Mike Place
NETWAYS
 
PDF
HPC in a Box - Docker Workshop at ISC 2015
inside-BigData.com
 
PPTX
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
PDF
AWS Lambda and serverless Java | DevNation Live
Red Hat Developers
 
PDF
OSDC 2018 | Ops hates containers. Why? by Martin Alfke
NETWAYS
 
PDF
Deploy prometheus on kubernetes
Cloud Technology Experts
 
PPTX
OpenStack: Changing the Face of Service Delivery
Mirantis
 
PPTX
Episode 2: Deploying Kubernetes at Scale
Mesosphere Inc.
 
PDF
Docker Workshop
Alex Baretto
 
PDF
Open shift 4 infra deep dive
Winton Winton
 
Web後端技術的演變
inwin stack
 
VietOpenStack meetup 7th High Performance VM
Vietnam Open Infrastructure User Group
 
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
NETWAYS
 
Docker for HPC in a Nutshell
inside-BigData.com
 
OSDC 2018 | Monitoring Kubernetes at Scale by Monica Sarbu
NETWAYS
 
Episode 4: Operating Kubernetes at Scale with DC/OS
Mesosphere Inc.
 
Implementing an Automated Staging Environment
Daniel Oliveira Filho
 
Kubernetes - A Short Ride Throught the project and its ecosystem
Maciej Kwiek
 
Introduction to Container Storage Interface (CSI)
Idan Atias
 
(Open)Stacking Containers
Ken Thompson
 
OSDC 2018 | Introduction to SaltStack in the Modern Data Center by Mike Place
NETWAYS
 
HPC in a Box - Docker Workshop at ISC 2015
inside-BigData.com
 
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
AWS Lambda and serverless Java | DevNation Live
Red Hat Developers
 
OSDC 2018 | Ops hates containers. Why? by Martin Alfke
NETWAYS
 
Deploy prometheus on kubernetes
Cloud Technology Experts
 
OpenStack: Changing the Face of Service Delivery
Mirantis
 
Episode 2: Deploying Kubernetes at Scale
Mesosphere Inc.
 
Docker Workshop
Alex Baretto
 
Open shift 4 infra deep dive
Winton Winton
 

Similar to 5 - Hands-on Kubernetes Workshop: (20)

PDF
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
Antoine COETSIER
 
PDF
Kubernetes Administration from Zero to Hero.pdf
ArzooGupta16
 
PDF
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Ovadiah Myrgorod
 
PDF
Why kubernetes for Serverless (FaaS)
Krishna-Kumar
 
PDF
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
CodeOps Technologies LLP
 
PDF
Kubernetes Application Deployment with Helm - A beginner Guide!
Krishna-Kumar
 
PPTX
Storage as a service OpenStack
openstackindia
 
PDF
CD in kubernetes using helm and ksonnet. Stas Kolenkin
DataArt
 
PDF
KubeCon 2017: Kubernetes from Dev to Prod
Subhas Dandapani
 
PDF
Kubernetes extensibility
Docker, Inc.
 
PDF
1. CNCF kubernetes meetup - Ondrej Sika
Juraj Hantak
 
PDF
Horizontal scaling with Galaxy
Enis Afgan
 
PDF
Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"
LogeekNightUkraine
 
PPTX
Containers and workload security an overview
Krishna-Kumar
 
PDF
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
ShapeBlue
 
PDF
Linux Containers and Docker SHARE.ORG Seattle 2015
Filipe Miranda
 
PDF
Kubernetes extensibility: CRDs & Operators
SIGHUP
 
PDF
Kubernetes extensibility: crd & operators
Giacomo Tirabassi
 
PDF
Flying Server-less on the Cloud with AWS Lambda
Serkan Özal
 
PDF
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
AWS User Group - Thailand
 
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
Antoine COETSIER
 
Kubernetes Administration from Zero to Hero.pdf
ArzooGupta16
 
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Ovadiah Myrgorod
 
Why kubernetes for Serverless (FaaS)
Krishna-Kumar
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
CodeOps Technologies LLP
 
Kubernetes Application Deployment with Helm - A beginner Guide!
Krishna-Kumar
 
Storage as a service OpenStack
openstackindia
 
CD in kubernetes using helm and ksonnet. Stas Kolenkin
DataArt
 
KubeCon 2017: Kubernetes from Dev to Prod
Subhas Dandapani
 
Kubernetes extensibility
Docker, Inc.
 
1. CNCF kubernetes meetup - Ondrej Sika
Juraj Hantak
 
Horizontal scaling with Galaxy
Enis Afgan
 
Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"
LogeekNightUkraine
 
Containers and workload security an overview
Krishna-Kumar
 
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
ShapeBlue
 
Linux Containers and Docker SHARE.ORG Seattle 2015
Filipe Miranda
 
Kubernetes extensibility: CRDs & Operators
SIGHUP
 
Kubernetes extensibility: crd & operators
Giacomo Tirabassi
 
Flying Server-less on the Cloud with AWS Lambda
Serkan Özal
 
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
AWS User Group - Thailand
 
Ad

More from Kangaroot (20)

PPTX
So you think you know SUSE?
Kangaroot
 
PDF
Live demo: Protect your Data
Kangaroot
 
PDF
RootStack - Devfactory
Kangaroot
 
PDF
Welcome at OPEN'22
Kangaroot
 
PDF
EDB Postgres in Public Sector
Kangaroot
 
PDF
Deploying NGINX in Cloud Native Kubernetes
Kangaroot
 
PDF
Cloud demystified, what remains after the fog has lifted.
Kangaroot
 
PDF
Zimbra at Kangaroot / OPEN{virtual}
Kangaroot
 
PDF
NGINX Controller: faster deployments, fewer headaches
Kangaroot
 
PDF
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
PDF
Do you want to start with OpenShift but don’t have the manpower, knowledge, e...
Kangaroot
 
PDF
Red Hat multi-cluster management & what's new in OpenShift
Kangaroot
 
PDF
There is no such thing as “Vanilla Kubernetes”
Kangaroot
 
PDF
Elastic SIEM (Endpoint Security)
Kangaroot
 
PDF
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
PDF
Kangaroot - Bechtle kadercontracten
Kangaroot
 
PDF
Red Hat Enterprise Linux 8
Kangaroot
 
PDF
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
PDF
Kubecontrol - managed Kubernetes by Kangaroot
Kangaroot
 
PDF
OpenShift 4, the smarter Kubernetes platform
Kangaroot
 
So you think you know SUSE?
Kangaroot
 
Live demo: Protect your Data
Kangaroot
 
RootStack - Devfactory
Kangaroot
 
Welcome at OPEN'22
Kangaroot
 
EDB Postgres in Public Sector
Kangaroot
 
Deploying NGINX in Cloud Native Kubernetes
Kangaroot
 
Cloud demystified, what remains after the fog has lifted.
Kangaroot
 
Zimbra at Kangaroot / OPEN{virtual}
Kangaroot
 
NGINX Controller: faster deployments, fewer headaches
Kangaroot
 
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
Do you want to start with OpenShift but don’t have the manpower, knowledge, e...
Kangaroot
 
Red Hat multi-cluster management & what's new in OpenShift
Kangaroot
 
There is no such thing as “Vanilla Kubernetes”
Kangaroot
 
Elastic SIEM (Endpoint Security)
Kangaroot
 
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
Kangaroot - Bechtle kadercontracten
Kangaroot
 
Red Hat Enterprise Linux 8
Kangaroot
 
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
Kubecontrol - managed Kubernetes by Kangaroot
Kangaroot
 
OpenShift 4, the smarter Kubernetes platform
Kangaroot
 
Ad

Recently uploaded (20)

PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PDF
NSF Converter Simplified: From Complexity to Clarity
Johnsena Crook
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
NSF Converter Simplified: From Complexity to Clarity
Johnsena Crook
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 

5 - Hands-on Kubernetes Workshop:

  • 1. Open19 k8s workshop Part 1: Kubernetes deployment & management K8S & Rancher - concepts
  • 2. Historically - from bare-metal installations (90's), - through virtualized deployments (2000's), - to containerized deployments (now)
  • 3. Enablers: - cloud computing -> cloud providers ! - scale: dynamic scaling on global level. - security - availability: from rack to data center to global region - features (paas): - app: databases - app: file services - infra: dns, certificates
  • 4. Enablers – contd. - infrastructure as code (eg terraform, ansible) - (TF) cloud provider infrastructure (firewall rules, load balancers, networks) - (TF) virtual servers - (TF/Ans) supporting services: file services, database services - (Ans) os provisioning
  • 5. Enablers – contd…. - docker: a bundle of packaged dependencies - pets vs cattle: microservices: - deployable - upgradable - scaleable - recoverable - container registries: - docker hub - standalone registry - in-cluster registry - cloud provider registry
  • 6. Bringing it together: orchestration - go beyond a simple ‘docker run’ - scheduling in function of: - load - availability - rolling updates
  • 7. Kubernetes (K8S): a container orchestrator Roles - etcd: key-value store db to hold configuration - availability and cluster quorum - backups & restores - bottlenecks & scaling ! - control plane: - api service to access the cluster - scheduling logic - management layer !
  • 8. K8S Roles – contd. - worker nodes: - run the actual workloads - can scale dynamically, leveraging cloud services
  • 9. so cluster composition for a basic cluster: - 3 etcd nodes due to quorum requirements. - at least 2 (but we might as well combine with etcd roles and use 3) CP nodes - 2 or more workers (if possible using auto-scaling) - Do not combine worker with cp/management role. - So a total of 5 nodes per cluster seems sensible for testing.
  • 10. K8s: application perspective - declarative syntax: YAML - unit of work: the pod - deployments, stateful sets, daemonsets
  • 11. K8s: storage – some thoughts - try to leverage cloud provider storage api's when possible ( while avoiding vendor lock-in) - traditional storage can be challenging (nfs, iscsi) - storage vendors can provide storage provisioners through the CSI - try to keep microservices stateless wherever possible - currently an evolving topic (see CSI)
  • 12. Storage model: abstraction layers - Persistent Volumes: leverages a storage provisioner to reserve actual storage on a physical device. - Persistent Volume Claims: try to claim a created PV for use by one or more pods - Storage Classes: more dynamic way of mapping PVC's to actual storage …and: - software-defined: configmaps Useful for: injecting variables into a container, injecting a config file
  • 13. Networking: the cluster network - SDN drivers: choices - in-cluster communication: pod-to-pod & dynamic ip's - accessing apps in-cluster: services - service discovery: dns - try to use tags as selectors when possible (more dynamic)
  • 14. Accessing apps outside of the cluster - nodeports: - bound to a socket (same on every node) - for tcp/udp services, eg smtp - functionality implemented within k8s
  • 15. Accessing apps: ingress - ingress rules: - add layer-7 logic (use case: http) - choice of provisioner: eg nginx - needs some kind of ingress provisioner as a third-party component, popular: nginx. but also eg haproxy, F5, ...
  • 16. Accessing apps… - easy & cheap: dns rr - in-app provisioned cloud lb - on-prem or separately managed lb
  • 17. Security boundaries - namespaces administratively separating privileges on objects - network policies: securing network communications within the cluster network - RBAC - ingress: for application access, API server: for management. - so foresee separate incoming paths for both
  • 18. K8s: bringing it together - app: combination of components - pods, services and a deployment model (eg deployments) - persistent storage if needed - a way to access the app: in-cluster <-> outside of cluster - configuration objects (configmaps, static config files) - scaling & security logic - health checks - ...
  • 19. Rolling out your app - set of yml files (or one big yml file), similar to docker compose - k8s package manager: helm - helm can be integrated into your deployment strategy - can work with variables & tags, supports concept of upgrades & rollbacks - hierarchy: <docker image> -> <container> -> <pod> -> <deployment> -> <ingress> -> helm chart.
  • 20. Missing link: management - kubectl: provided by kubernetes for most os's, but cli only - managing the components can be challenging: - k8s through api using kubectl: learning curve, visibility challenges - etcd: actual data has to be managed using etcdctl (eg backups/restores) - vendor-specific management layers on top of k8s: eg openshift (RedHat)
  • 21. Vendor-agnostic solution: rancher labs - cloud providers (as vm or as paas) or on-prem deployments - supported linux os's: centos, ubuntu, ... - Hardened and slimmed-down os: RancherOS -> this is what is used for a dynamic cloud provider rollout, if you decide not to use paas.
  • 22. Rancher – contd. - adds authentication layer: eg openldap, AD, Azure AD, ... - abstracts away cluster deployment, upgrades & backups - abstracts away complexity of yaml objects, - eg easy for creating yaml templates - learn by doing: create a rancher workload, underlying yaml will be generated for needed linked objects such as services, then inspect or export the yaml for re-use
  • 23. Rancher – cntd. - kubernetes clusters are rolled out within containers (but can also be imported) - provides cli tools, a web gui and a rest API - provides some out-of the box additional functionality such as: - an nginx ingress daemonset. - helm charts
  • 24. rancher - contd. - Can be installed as standalone docker instance or within a HA cluster - Access: should be deployed as part of the management plane -> so together with API server. - adds concept of 'projects' (as a grouping of namespaces) to the security/deployment model. - gui shortcuts to eg container logs, shell exec, kubectl desribe
  • 25. Missing link – logging/monitoring - Rancher adds some performance monitoring but it is very basic - Cloud-native solution: prometheus - can be rolled out on a separate machine or within one or more clusters - helm chart for Prometheus icw Grafana is available (but you can also download k8s charts and integration apps at Grafana)
  • 26. prometheus - built for dynamic cloud environments: - can eg leverage kubernetes metadata to discover new pods - can use data exported by the cloud provider to discover vm's - can use DNS data to discover new hosts/vm's/pods - but can also use a static configuration.
  • 27. monitoring - make sure to monitor both within Kubernetes and on infrastruture level. - logging solution: ELK, splunk, syslog, fluentd, kafka