Kubernetes Ri Rke1-Sles en
Kubernetes Ri Rke1-Sles en
https://documentation.suse.com
Contents
1 Introduction 1
1.1 Motivation 1
1.2 Scope 2
1.3 Audience 2
2 Business aspect 3
2.1 Business problem 3
3 Architectural overview 6
3.1 Solution architecture 6
4 Component model 8
4.1 Component overview 8
5 Deployment 14
5.1 Deployment overview 14
7 References 24
8 Glossary 26
9 Appendix 29
9.1 Compute platform bill of materials 29
10 Legal Notice 32
On the digital transformation journey to a full cloud-native landscape, the use of microservices
becomes the main approach with the dominant technology for such container orchestration be-
ing Kubernetes.1 With its large community of developers and abundant features and capabili-
ties, Kubernetes has become the de-facto standard and is included across most container-as-a-
service platforms. With all of these technologies in place, both developer and operation teams
can effectively deploy, manage and deliver functionality to their end users in a resilient and
agile manner.
1.1 Motivation
Once on such a digital transformation journey, also relevant to focus on areas like:
Workload(s)
Determine how to manage and launch internally developed containerized, microservice
workloads
Kubernetes
As developers and organizations continue their journey from simple, containerized mi-
croservices toward having these workloads orchestrated and deployed where ever they
need, being able to install, monitor and use such Kubernetes infrastructures is a core need.
Such deployments, being Cloud Native Computing Foundation (CNCF2) conformant and
certified3 are essential for both development and production workloads.
Compute Platform(s)
To optimize availability, performance, scalability and integrity, assess current system or
hosting platforms
1 https://kubernetes.io/
2 https://www.cncf.io/
3 https://www.cncf.io/certification/software-conformance
1.3 Audience
This document is intended for IT decision makers, architects, system administrators and tech-
nicians who are implementing a flexible, software-defined Kubernetes platform. One should
still be familiar with the traditional IT infrastructure pillars — networking, computing and stor-
age — along with the local use cases for sizing, scaling and limitations within each pillars' en-
vironments.
Cluster Operations
Improved Production and DevOps efficiencies with simplified cluster usage and robust
operations
However, simply relying on upstream Kubernetes alone can introduce extra overhead and risk
because Kubernetes clusters are typically deployed:
Developers
For those who focus on writing code to build their apps securely using a preferred work-
flow, providing a simple, push-button deployment mechanism of their containerized work-
loads where needed.
IT Operators
General infrastructure requirements still rely upon traditional IT pillars are for the stacked,
underlying infrastructure. Ease of deployment, availability, scalability, resiliency, perfor-
mance, security and integrity are still core concerns to be addressed for administrative
control and observability.
Developers
SUSE Rancher makes it easy to securely deploy containerized applications no matter where
the Kubernetes infrastructure runs -– in the cloud, on-premises, or at the edge. Using Helm
or the App Catalog to deploy and manage applications across any or all these environments,
ensuring multi-cluster consistency with a single deployment process.
Kubernetes cluster
API server
api
Cloud controller
c-m
c-m c-c-m manager
c-c-m
c-m c-c-m (optional) c-c-m
Controller
manager c-m
etcd
api
Node Node (persistence store)
api Node etcd
api
kubelet
kubelet
sched
sched
sched
Scheduler
sched
Node
A Kubernetes cluster consists of a set of nodes machines, called workers or agents, that host and
run containerized applications in Pods. Every cluster has at least one worker node. The control
plane manages the worker nodes and the Pods in the cluster. The provider API is a generic
element that allows external interaction with the Kubernetes cluster.
kube-apiserver
The API server is a component of the Kubernetes control plane that exposes the
Kubernetes API
etcd
kube-scheduler
Control plane component that watches for newly created Pods with no assigned
node, and selects a node for them to run on.
kube-controller-manager
Node Components
Node components run on every node, maintaining running pods and providing the Kuber-
netes runtime environment.
kubelet
An agent that runs on each node in the cluster. It makes sure that containers
are running in a Pod.
kube-proxy
A network proxy that runs on each node in your cluster, implementing part of
the Kubernetes Service concept.
Note
Regardless of the deployment instance, Rancher Kubernetes Engine could always be de-
ployed directly by SUSE Rancher or imported as a managed, downstream cluster.
This section describes the various components being used to create a Rancher Kubernetes En-
gine solution deployment, in the perspective of top to bottom ordering. When completed, the
Rancher Kubernetes Engine instance can be used as the application infrastructure for cloud-
native workloads and can be imported into SUSE Rancher for management.
Compute Platform
you can create the necessary infrastructure and services. Further details for these components
are described in the following sections.
CNCF Certification
Simplified installation
Installation is via a single binary and it uses a single YAML le, meaning that
even non-experts can deploy Kubernetes with a single command. The command
connects to remote hosts via SSH, so Rancher or any sta member with SSH
access can deploy and manage RKE instances anywhere in the world.
Automated Operation
When used with SUSE Rancher, operators can perform automated installation
and upgrades of RKE clusters with a few clicks.
Vendor Independence
RKE is not locked into a specific vendor operating system, Kubernetes Manage-
ment Platform or proprietary tooling.
Since RKE is built using containers, it does not have any touch points with the
underlying operating system beyond the container engine. Containers make it
easy to upgrade to a new version and to roll back to the previous version if
necessary.
The fundamental roles for the nodes and core functionality of Rancher Kubernetes Engine are
represented in the following figure:
interacts with kubelet on all the nodes, plus addresses authentication, user interface
(UI), command line interface (CLI) and API for external access and cluster manage-
ment via SUSE Rancher cluster controller to agent
While all Rancher Kubernetes Engine roles can be installed on a single system, for the best
availability, performance and security, the recommended deployment of a Rancher Kubernetes
Engine cluster is a pair of nodes for the control plane role, at least three etcd role-based nodes
and three or more worker nodes.
All of these components are configurable and can be swapped out for your implementation of
choice. With these included components, you get a fully functional and CNCF-conformant cluster
so you can start running apps right away.
Tip
Learn more information about Rancher Kubernetes Engine at https://rancher.com/docs/
rke/latest/en/ .
While all Rancher Kubernetes Engine roles can be installed on a single system, a multi-node
cluster, is a more production-like approach and will be described in the deployment section.
Tip
To improve availability, performance and security, the recommended deployment of a
Rancher Kubernetes Engine cluster is a pair of nodes for the control plane role, at least
three etcd role-based nodes and three or more worker nodes.
Note
To complete self-testing of hardware with SUSE YES Certified Process (https://
www.suse.com/partners/ihv/yes/yes-certified-process) , you can download and install the
respective SUSE operating system support-pack version of SUSE Linux Enterprise Server
and the YES test suite. Then run the tests per the instructions in the test kit, fixing any
problems encountered and when corrected, re-run all tests to obtain clean test results.
Submit the test results into the SUSE Bulletin System (SBS) for audit, review and valida-
tion.
This section describes the process steps for the deployment of the Rancher Kubernetes Engine
solution. It describes the process steps to deploy each of the component layers starting as a
base functional proof-of-concept, having considerations on migration toward production, provid-
ing scaling guidance that is needed to create the solution.
and details are covered for each layer in the following sections.
Note
The following section’s content is ordered and described from the bottom layer up to the
top.
Validate the necessary CPU, memory, disk capacity, and network interconnect quan-
tity and type are present for each node and its intended role. Refer to the recommend-
ed CPU/Memory/Disk/Networking requirements as noted in the Rancher Kubernetes
Engine Hardware Requirements (https://rancher.com/docs/rke/latest/en/os/) .
Further suggestions
Disk : Use a pair of local, direct attached, mirrored disk drives is present on
each node (SSDs are preferred); these will become the target for the operating
system installation.
Boot Settings : BIOS/uEFI reset to defaults for a known baseline, consistent state
or perhaps with desired, localized values.
Preparation(s)
To meet the solution stack prerequisites and requirements, SUSE operating system offer-
ings, like SUSE Linux Enterprise Server (https://www.suse.com/products/server/) can be
used.
Note
During the node’s installation, it can be pointed to the respective
update service. This can also be accomplished post-installation with
the command line tool named SUSEConnect (https://www.suse.com/
support/kb/doc/?id=000018564) .
Deployment Process
On the compute platform node, install the noted SUSE operating system, by following
these steps:
2. The installation process is described and can be performed with default values by fol-
lowing steps from the product documentation, see Installation Quick Start (https://doc-
umentation.suse.com/sles/15-SP3/single-html/SLES-installation/#article-installation)
Tip
Adjust both the password and the local network addressing setup to comply
with local environment guidelines and requirements.
Deployment Consideration(s)
To further optimize deployment factors, leverage the following practices:
Automation
1. Identify the appropriate, desired version of the Rancher Kubernetes Engine binary
(for example vX.Y.Z) that includes the needed Kubernetes version by reviewing
2. On the target node with a default installation of SUSE Linux Enterprise Server oper-
ating system, log in to the node either as root or as a user with sudo privileges and
enable the required container runtime engine
Deployment Process
The primary steps for deploying this Rancher Kubernetes Engine Kubernetes are:
Note
Installing Rancher Kubernetes Engine requires a client system (i.e. admin worksta-
tion) that has been configured with kubectl.
Provide the path to that key for the option "Cluster Level SSH Private Key
Path"
The option "Number of Hosts" refers to the number of hosts to configure at this
time
Additional hosts can be added very easily after Rancher Kubernetes Engine
cluster creation
Give all hosts the roles of "Control Plane", "Worker", and "etcd"
3. Update the cluster.yml le before continuing with the step "Deploying Kubernetes
with RKE"
4. If a load balancer has been deployed for the Rancher Kubernetes Engine control-plane
nodes, update the cluster.yml le before deploying Rancher Kubernetes Engine to
include the IP address or FQDN of the load balancer. The appropriate location is
under authentication.sans. For example:
LB_IP_Host=""
authentication:
strategy: x509
sans: ["${LB_IP_Host}"]
7. After the rke up command completes, the RKE cluster will continue the Kubernetes
installation process
Use Ctrl+c to exit the watch loop after all deployment pods are
running
Tip
To address Availability and possible scaling to a multiple node
cluster, etcd is enabled instead of using the default SQLite
datastore.
Deployment Consideration(s)
To further optimize deployment factors, leverage the following practices:
Availability
Using a text editor, copy the information for the rst node (found
under the "nodes:" section)
The node information usually starts with "- address:" and ends
with the start of another node entry, or the beginning of the
"services: " section, i.e.
- address: 172.16.240.71
port: "22"
internal_address: ""
role:
- controlplane
- worker
- etcd
. . .
labels: {}
taints: []
Paste the information into the same section, once for each additional
host
3. When the cluster.yml le is updated with the information specific to each
node, run the command rke up
Use Ctrl+c to exit the watch loop after all deployment pods
are running
After this successful deployment of the Rancher Kubernetes Engine solution, review the prod-
uct documentation (https://rancher.com/docs/rke/latest/en/) for details on how to directly use
this Kubernetes cluster. Furthermore, by reviewing the SUSE Rancher product documentation
(https://rancher.com/docs/rancher/v2.5/en/) this solution can also be:
Simplify
Simplify and optimize your existing IT environments
Using Rancher Kubernetes Engine enables you to simplify, maintain and scale Kuber-
netes cluster deployments in a supportable fashion.
Modernize
Bring applications and data into modern computing
Accelerate
Accelerate business transformation through the power of open source software
Given the open source nature of Rancher Kubernetes Engine and the underlying soft-
ware components, you can simplify deployment with automation, maintain secure
production instance and make significant IT savings as you scale orchestrated mi-
croservice deployments anywhere you need to and for whatever use cases are need-
ed, in an agile and innovative way.
BOOKS
TRAINING
SUSE - https://training.suse.com/
Rancher - https://rancher.com/training/
WEB SITES
SUSE - https://www.suse.com
Products
Projects
Document Scope
Reference Implementation
A guide with the basic steps to deploy the highlighted components of the SUSE port-
folio, including generalized pointers to other layers and elements. This is considered
an introductory approach and a basis for other tested variations.
1
Reference Architectures
A guide with the general steps to deploy and validate the structured solution compo-
nents from both the SUSE and partner portfolios. This provides a shareable template
of consistency for consumers to leverage for similar production ready solutions, in-
cluding design considerations, implementation suggestions and best practices.
Best Practice
Information that can overlap both the SUSE and partner space. It can either be pro-
vided as a stand-alone guide that provides reliable technical information not covered
in other product documentation, based on real-life installation and implementation
experiences from subject matter experts or complementary, embedded sections with-
in any of the above documentation types describing considerations and possible steps
forward.
Factor(s)
2
Automation
Infrastructure automation enables speed through faster execution when configuring
the infrastructure and aims at providing visibility to help other teams across the en-
terprise work quickly and more efficiently. Automation removes the risk associated
with human error, like manual misconfiguration; removing this can decrease down-
time and increase reliability. These outcomes and attributes help the enterprise move
toward implementing a culture of DevOps, the combined working of development
and operations.
Preventing or reducing the likelihood and frequency of failures via design de-
cisions within the allowed cost of ownership
4
Integrity
Integrity is the maintenance of, and the insurance of the accuracy and consistency of
a specific element over its entire lifecycle. Both physical and logical aspects must be
managed to ensure stability, performance, re-usability and maintainability.
5
Security
Security is about ensuring freedom from or resilience against potential harm, includ-
ing protection from destructive or hostile forces. To minimize risks, one mus manage
governance to avoid tampering, maintain access controls to prevent unauthorized
usage and integrate layers of defense, reporting and recovery tactics.
Deployment Flavor(s)
6
Proof-of-Concept
A partial or nearly complete prototype constructed to demonstrate functionality and
feasibility for verifying specific aspects or concepts under consideration. This is often
a starting point when evaluating a new, transitional technology. Sometimes it starts
as a Minimum Viable Product (MVP7) that has just enough features to satisfy an
Production
A deployed environment that target customers or users can interact with and rely
upon to meet their needs, plus be operationally sustainable in terms of resource usage
and economic constraints.
Scaling
The flexibility of a system environment to either vertically scale-up, horizontally
scale-out or conversely scale-down by adding or subtracting resources as needed. At-
tributes like capacity and performance are often the primary requirements to address,
while still maintaining functional consistency and reliability.
The following sections provide a bill of materials listing for the respective component layer(s)
of the described deployment.
Industry Standard
Server
1 Year
1 Year
Note
For the software components, other support term durations are also available.
Copyright © 2000, 2001, 2002 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301 USA. Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other functional and useful docu-
ment "free" in the sense of freedom: to assure everyone the effective freedom to copy and redis-
tribute it, with or without modifying it, either commercially or noncommercially. Secondarily,
this License preserves for the author and publisher a way to get credit for their work, while not
being considered responsible for modifications made by others.
This License is a kind of "copyleft", which means that derivative works of the document must
themselves be free in the same sense. It complements the GNU General Public License, which
is a copyleft license designed for free software.
We have designed this License in order to use it for manuals for free software, because free
software needs free documentation: a free program should come with manuals providing the
same freedoms that the software does. But this License is not limited to software manuals; it
can be used for any textual work, regardless of subject matter or whether it is published as a
printed book. We recommend this License principally for works whose purpose is instruction
or reference.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either commercially or noncom-
mercially, provided that this License, the copyright notices, and the license notice saying this
License applies to the Document are reproduced in all copies, and that you add no other condi-
tions whatsoever to those of this License. You may not use technical measures to obstruct or
control the reading or further copying of the copies you make or distribute. However, you may
accept compensation in exchange for copies. If you distribute a large enough number of copies
you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and you may publicly display
copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have printed covers) of the
Document, numbering more than 100, and the Document’s license notice requires Cover Texts,
you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-
Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also
clearly and legibly identify you as the publisher of these copies. The front cover must present the
full title with all words of the title equally prominent and visible. You may add other material
on the covers in addition. Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated as verbatim copying in
other respects.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under the conditions of sec-
tions 2 and 3 above, provided that you release the Modified Version under precisely this License,
with the Modified Version filling the role of the Document, thus licensing distribution and mod-
ification of the Modified Version to whoever possesses a copy of it. In addition, you must do
these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document,
and from those of previous versions (which should, if there were any, be listed in the
History section of the Document). You may use the same title as a previous version if the
original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities responsible for authorship
of the modifications in the Modified Version, together with at least ve of the principal
authors of the Document (all of its principal authors, if it has fewer than ve), unless they
release you from this requirement.
C. State on the Title page the name of the publisher of the Modified Version, as the publisher.
F. Include, immediately after the copyright notices, a license notice giving the public permis-
sion to use the Modified Version under the terms of this License, in the form shown in
the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts
given in the Document’s license notice.
I. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at
least the title, year, new authors, and publisher of the Modified Version as given on the
Title Page. If there is no section Entitled "History" in the Document, create one stating the
title, year, authors, and publisher of the Document as given on its Title Page, then add an
item describing the Modified Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for public access to a Trans-
parent copy of the Document, and likewise the network locations given in the Document
for previous versions it was based on. These may be placed in the "History" section. You
may omit a network location for a work that was published at least four years before the
Document itself, or if the original publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the
section, and preserve in the section all the substance and tone of each of the contributor
acknowledgements and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their
titles. Section numbers or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section may not be included in the
Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with
any Invariant Section.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this License, under the
terms defined in section 4 above for modified versions, provided that you include in the combi-
nation all of the Invariant Sections of all of the original documents, unmodified, and list them
all as Invariant Sections of your combined work in its license notice, and that you preserve all
their Warranty Disclaimers.
The combined work need only contain one copy of this License, and multiple identical Invariant
Sections may be replaced with a single copy. If there are multiple Invariant Sections with the
same name but different contents, make the title of each such section unique by adding at the
end of it, in parentheses, the name of the original author or publisher of that section if known,
or else a unique number. Make the same adjustment to the section titles in the list of Invariant
Sections in the license notice of the combined work.
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents released under
this License, and replace the individual copies of this License in the various documents with a
single copy that is included in the collection, provided that you follow the rules of this License
for verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute it individually under
this License, provided you insert a copy of this License into the extracted document, and follow
this License in all other respects regarding verbatim copying of that document.
8. TRANSLATION
Translation is considered a kind of modification, so you may distribute translations of the Doc-
ument under the terms of section 4. Replacing Invariant Sections with translations requires spe-
cial permission from their copyright holders, but you may include translations of some or all
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except as expressly provided
for under this License. Any other attempt to copy, modify, sublicense or distribute the Document
is void, and will automatically terminate your rights under this License. However, parties who
have received copies, or rights, from you under this License will not have their licenses termi-
nated so long as such parties remain in full compliance.
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “ with…
Texts.” line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other combination of the three,
merge those two alternatives to suit the situation.
If your document contains nontrivial examples of program code, we recommend releasing these
examples in parallel under your choice of free software license, such as the GNU General Public
License, to permit their use in free software.
41 ADDENDUM: How to use this License for your documents SUSE Linux Enterp…