4. Is Infrastructure a Commodity?
The word commodity came into use in English in the 15th century, from the
French commodité, "amenity, convenience". Going further back, the French
word derives from the Latin commoditas, meaning "suitability, convenience,
advantage". The Latin word commodus (from which English gets other words
including commodious and accommodate) meant variously "appropriate", "proper
measure, time, or condition", and "advantage, benefit".
Commodity — Wikipedia, The Free Encyclopedia
5. Properties of Commodities
● Immediate Availability
● Highly Competitive Market
● Can change vendor without telling
difference
● Unreliable Availability (Not plannable)
● No Competitive Market (No choice)
● Notable differences for the same product
between vendors
● No or Low Process Visibility
● No- or Low-Friction
● No- or Low-Overhead
6. Infrastructure can be defined as "the physical components of interrelated systems providing commodities
and services essential to enable, sustain, or enhance societal living conditions." the word infrastructure has
been used in English since at least 1887 and in French since at least 1875, originally meaning "The
installations that form the basis for any operation or system".
Is Infrastructure a Commodity?
Infrastructure — Wikipedia, The Free Encyclopedia
13. Components of a Single Application
Application
Server
Operating
System
What’s
this?
Library
v2
(required to run
App)
Where do I
put this?
And who’s
responsible
that it works
all together?
Same
Colors
don’t go
together
14. Scaling Up / Scaling Out
Application
Operating System
Hardware
Administrator
Operating System
Application
Hardware
21. Why Kubernetes
● Largest User Base
● Most Commercial Offerings
● On-Premise & Cloud offers same
interface
● Component of the Cloud Native
Computing Foundation
○ Members
22. Kubernetes Components
● etcd
Persistence for Cluster State
Usually not part of the Cluster
● kubectl
or any API client
● kube-apiserver
● kube-controller-manager
● kube-scheduler
● kubelet
24. Architecture Overview etcd
etcd
Cluster State ● Storage Backend for Cluster State
● Usually a 3 - 5 node cluster
● Distributed Consistent Storage
● Monitoring via Prometheus
26. Node
kubelet
kube-proxy
Architecture Overview Node
● Work-horse of the cluster
● As many as required by capacity needs
kubelet
● Manages pods and their containers, their
images, their volumes, etc
kube-proxy
● Makes services available to the inside and
outside world
27. Orchestration
Service / Endpoint Management
Scheduling
Resource Management
Cluster Administration Tasks
● Urgent need to learn
● Provide Persistence Layer
● Provide Docker Registry
● Create (common) Containers
● In-Depth Knowledge of Resource Types
● Excellent Knowledge of all Levels of
System Administration
● Monitor/Handle Error Conditions
● Capacity Planning
● https://kubernetes.io/docs/admin/
29. Cluster Usage Best Practices
Configuration files must be stored in version control before being pushed to the
cluster
When defining configurations, specify the latest stable API version (currently
v1).
Write your configuration files using YAML rather than JSON
Group related objects together in a single file where this makes sense
Don’t specify default values unnecessarily
Put an object description in an annotation to allow better introspection
Typically when you need to deploy a software people see this being delivered like this. You have a friendly person and she gives you one nice package. You sign it and are all the happier. You are done.
Find a supported OS version
Install dependencies (Libraries)
Install Application
Discover some dependencies kill functionality of another application
Remove Application
Remove Dependencies
Find new Server
Start over Installing new Application
Discover uninstallation of dependencies removed a vital function of old application
...