SlideShare uma empresa Scribd logo
1 de 121
Baixar para ler offline
Kubernetes One-Click Deployment:
Hands-on Workshop
@joerg_schad @dcos
Jörg Schad
Technical Community
Lead / Developer
● Core Mesos
developer at
Mesosphere
● Passions are deep
learning, distributed
data systems, and
data analytics
Chris Gaun
PMM at Mesosphere /
CNCF Ambasador
● Previous to that
Gartner analyst
covering public IaaS
● @gaunetes
First, Some Questions (Show of
Hands)
• Are you a developer?
• Are you in operations?
• Are you using K8s (in production)?
• Are you using DC/OS (in production)?
Goals Of Workshop
© 2016 Mesosphere, Inc. All Rights Reserved. 6
© 2018 Mesosphere, Inc. All Rights Reserved.
Hardware
Operating System
Application
7
COMPUTERS
© 2018 Mesosphere, Inc. All Rights Reserved.
noun | ˈmīkrō/ /ˈsərvəs/ :
an approach to application development in which a
large application is built as a suite of modular services.
Each module supports a specific business goal and
uses a simple, well-defined interface to communicate
with other modules.*
Microservices are designed to be flexible, resilient,
efficient, robust, and individually scalable.
*From whatis.com
OVERVIEW
© 2018 Mesosphere, Inc. All Rights Reserved.
Operating
System
Operating
System
Operating
System
ServiceApp ServiceServiceAppApp
9
MICROSERVICES
- Polyglot
- Single
Responsibility
- Smaller Teams
- Utilization
- Machine
types/groups
- Dependency hell
Machine
Infrastructure
Machine Machine
ServiceService ServiceServiceServiceService
© 2018 Mesosphere, Inc. All Rights Reserved.
ServiceApp ServiceServiceAppApp
OS
10
CONTAINERS
- Rapid deployment
- Dependency
vendoring
- Container image
repositories
- Spreadsheet
scheduling
OS OS
Machine
Infrastructure
Machine Machine
Container Runtime Container Runtime Container Runtime
ServiceService ServiceServiceServiceService
© 2018 Mesosphere, Inc. All Rights Reserved. 11
CONTAINER
SCHEDULING
RESOURCE
MANAGEMENT
SERVICE
MANAGEMENT
- Load Balancing
- Readiness Checking
CONTAINER ORCHESTRATION
© 2018 Mesosphere, Inc. All Rights Reserved. 12
CONTAINER
SCHEDULING
- Placement
- Replication/Scaling
- Resurrection
- Rescheduling
- Rolling Deployment
- Upgrades
- Downgrades
- Collocation
RESOURCE
MANAGEMENT
- Memory
- CPU
- GPU
- Volumes
- Ports
- IPs
- Images/Artifacts
SERVICE
MANAGEMENT
- Labels
- Groups/Namespaces
- Dependencies
- Load Balancing
- Readiness Checking
CONTAINER ORCHESTRATION
© 2018 Mesosphere, Inc. All Rights Reserved.
Orchestration
13
Machine Infrastructure
Web Apps & Services
Scheduling
Resource Management
Container Runtime
Machine & OS
Service Management
CONTAINER
ORCHESTRATION
Machine & OS Machine & OS
Container Runtime Container Runtime
The premier platform to run data-driven,
containerized applications on any infrastructure
North American
Banks
Worldwide Telco
Companies
Highest-Valued
Startups
Automotive
Technology Efforts
Represents organizations using Mesosphere technologies
5 of Top
10
30% of 7 of Top
12
5 of Top
10
6
Leading
Kubernetes Concepts
Container
Pods
Volume
Data
Loader
Front
End
Pods
Volume
Data
Loader
Front
End
Pods
Set of Related Containers
Tightly Coupled
Ephemeral/Stateless
Share Namespace
Share Network
Unit of Management
Pods
Set of Related Containers
Tightly Coupled
Ephemeral/Stateless
Share Namespace
Share Network
Unit of Management
Pod
Pod Networking
D
B
C
A
Routable
(layer 3)
No NAT
(internode)10.0.0.1 10.0.0.2
10.0.0.3 10.0.0.4
Labels
D
B
C
A
app = portal
tier = frontend
version = v1
app = portal
tier = backend
version = v1
app = portal
tier = frontend
version = v2
app = portal
tier = backend
version = v2
Label Selectors
D
B
C
A
app = portal
tier = frontend
version = v1
app = portal
tier = backend
version = v1
app = portal
tier = frontend
version = v2
app = portal
tier = backend
version = v2
app = portal
SELECTOR
Label Selectors
D
B
C
A
app = portal
tier = frontend
version = v1
app = portal
tier = backend
version = v1
app = portal
tier = frontend
version = v2
app = portal
tier = backend
version = v2
app = portal
version = v1
SELECTOR
Controllers
Desired State
Current State
UPDATEANALYZE
Replica Set (Controller)
NODE 1
A
NODE 2
A
NODE 3
A
NODE 4
A
Replicas = 4
DESIRED
Replicas = 4
CURRENT
Replica Set (Controller)
NODE 1
A
NODE 2
A
NODE 3
A
NODE 4
A
Replicas = 4
DESIRED
Replicas = 3
CURRENT
Replica Set (Controller)
NODE 1
A
NODE 2
A
NODE 3
A
NODE 4
A
Replicas = 4
DESIRED
Replicas = 4
CURRENT
A
(µ)Services
Service A
Stable Cluster-wide IP
Cluster-wide DNS name
Layer 3 Load Balancer
Updates continuously
app = portal
tier = frontend
version = v1
SELECTOR
A A A
(µ)Services
Service A
New Pod added
automatically based
on its label selector
app = portal
tier = frontend
version = v1
SELECTOR
A A A A
Kubernetes concepts
30
kind: Deployment
kind: ReplicaSet
kind: Pod
scales
N instances
of Pod
Set of
Containers
Upgrades
Deployees
Configuration File
31
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
Configuration File
32
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
ReplicaSet
Pod
Service Spec and Labels
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
selector:
app: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
Label
Kubernetes Architecture
ETCD 01
MASTER 01
etcd
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
• Etcd is a distributed, consistent
key-value store
• Uses the RAFT consensus
algorithm for leader election
• Supports revisions and event
streams
• Primary store for all K8s API
objects (single source of truth)
• The only storage backend
currently supported by
Kubernetes
etcd
ETCD 01
MASTER 01
etcd
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
• Entry point to the system
• CRUD server for all the API
objects in Kubernetes
• Processes REST requests and
updates the objects in etcd
• Performs authentication /
authorization
MORE: https://goo.gl/KL8WfQ
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Scheduler
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
• Daemon process that
implements the control loops
built into Kubernetes
• E.g. … see NEXT slide
MORE: https://goo.gl/NJyRP3
Controller
Manager
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Scheduler
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
Types of Controllers in Kubernetes:
● ReplicaSet - desired state of pods
● ReplicationController - deprecated
● Deployments - updates
● StatefulSets - data services
● DaemonSet
● GarbageCollection - kills orphans
● Jobs
● CronJobs
Controller
Manager
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
Controller
Manager
• Answers: Where should this pod
run?
• Based on policy, available
resources, affinity, labels, Qos
requirements, etc.
• Binds unscheduled pods to
nodes
EXPERT MODE:
● Node Affinity/Anti-Affinity
● Taints and Tolerations
● Pod Affinity/Anti-Affinity
https://goo.gl/nvLDE9Scheduler
ETCD 01
MASTER 01
etcd
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Kubectl
Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
Controller
Manager
Scheduler
• Agent that runs on each node
• Recieves a set of PodSpecs and
insures all pods are running and
healthy
• Interacts with container runtime
(Docker, CRI-O)
• Performs some node-level health
checks
MORE: https://goo.gl/FEKN43
Kubelet
ETCD 01
MASTER 01
LoadBalancer
WORKER 01
Kubectl
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
etcd
API Server
Controller
Manager
Scheduler
Kubelet
• Network proxy and load balancer
for Services
• Used to be a user-space proxy
• Currently uses iptables
MORE: https://goo.gl/ph4sAs
Kube Proxy
ETCD 01
MASTER 01
etcd
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTPS
HTTPS
HTTPS
HTTPS
© 2017 Mesosphere, Inc. All Rights Reserved. 47
Challenges
- RBAC + IAM
- Network segmentation
- OSS framework/ container control
- Multiple isolated clusters
- Vanilla / standard / OSS Kubernetes
- Identical setup / components / no snowflakes
- Multi/hybrid cloud
- Multi data center
- Easy updating / versioning
- Scaling
- Integrations - ELB, networking, Storage, Monitoring
- Easy installation
Security
Interoperability
Easy
Management
Delivering Kubernetes Challenges
Where they run Kubernetes
Multiple management hurdles
42%
On
Prem
57%
DIY
AWS
~40%
40+%
Require more security for wider
deployment
CNCF poll
© 2018 Mesosphere, Inc. All Rights Reserved. 49
Kubernetes
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Orchestration
Scheduling
Resource Management
Service Management
Web Apps & Services
Machine Infrastructure
OrchestrationScheduling
Resource Management
Service Management
Web Apps & Services
© 2018 Mesosphere, Inc. All Rights Reserved.
KUBERNETES ARCHITECTURE
50
ETCD 01
MASTER 01
etcd
LoadBalancer
WORKER 01
API Server
Scheduler
Controller
Manager
Kubectl
Kubelet Kube Proxy
Container Engine (Docker,
CRI-O)
Pod Pod Pod
HTTP
S
HTTP
S
HTTP
S
HTTP
S
© 2018 Mesosphere, Inc. All Rights Reserved. 51
Kubernetes HA
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Machine Infrastructure
Web Apps & Services
etcd etcdetcd
api-ser
ver
api-ser
ver
api-ser
ver
Kube-
proxy
Kube-
proxy
scheduler
Kube-
proxy
scheduler
schedulercontrollercontroller
controller
kubelet kubelet kubelet
...
© 2018 Mesosphere, Inc. All Rights Reserved. 52
Kubernetes HA
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Machine Infrastructure
Web Apps & Services
etcd etcdetcd
api-ser
ver
api-ser
ver
api-ser
ver
Kube-
proxy
Kube-
proxy
scheduler
Kube-
proxy
scheduler
schedulercontrollercontroller
controller
kubelet kubelet kubelet
...
© 2017 Mesosphere, Inc. All Rights Reserved. 53
Datacenter
© 2018 Mesosphere, Inc. All Rights Reserved. 54
Datacenter
Typical Datacenter
siloed, over-provisioned servers,
low utilization
Kubernetes
Jenkins
Kafka
Spark
Kuk
© 2017 Mesosphere, Inc. All Rights Reserved. 55
© 2018 Mesosphere, Inc. All Rights Reserved. 56
Datacenter
Typical Datacenter
siloed, over-provisioned servers,
low utilization
Mesos/ DC/OS
automated schedulers, workload multiplexing onto the
same machines
Tensorflow
Jenkins
Kafka
Spark
Tensorflow
PHYSICAL INFRASTRUCTURE
MICROSERVICES, CONTAINERS, & DEV TOOLS
VIRTUAL MACHINES PUBLIC CLOUDS
DATA SERVICES, MACHINE LEARNING, & AI
Security &
Compliance
Application-Aware
Automation
Multitenancy
Hybrid Cloud
Management
100+
MORE
DatacenterEdge
Datacenter and Cloud as a Single Computing Resource
Powered by Apache Mesos
20+
MORE
Unified hybrid cloud operations
Securely manage cloud, datacenter, and edge
infrastructures from a single control plane
4
Mesosphere DC/OS
Intelligent resource pooling
Optimize workload density for highest utilization with
resource guarantees
3
Broad workload coverage
Run today & tomorrow’s applications including traditional
J2EE, containers, analytics & ML
1
Application-aware automation
Automate workload-specific operating procedures to
“as-a-Service” anything from Kubernetes to data services
2
Deploy
Scale
Configure
Recover
3 AM
...
Typical Datacenter
siloed, over-provisioned servers,
low utilization
Kubernetes
Jenkins
Kafka
Spark
Cassandra
DC1
DC2
DC3
Deploy
Scale
Configure
Recover
3 AM
...
© 2018 Mesosphere, Inc. All Rights Reserved.
Two-level Scheduling
1. Agents advertise resources to Master
2. Master offers resources to Framework
3. Framework rejects / uses resources
4. Agent reports task status to Master
60
MESOS ARCHITECTURE
Mesos
Master
Mesos
Master
Mesos
Master
Mesos AgentMesos Agent Service
Cassandra
Executor
Cassandra
Task
Kubernetes
Scheduler
Spark
Executor
Spark
Task
Mesos AgentMesos Agent Service
Docker
Executor
Docker
Task
K8s Executor
Kubelet
Task
Marathon
Scheduler
Kafka
Scheduler
© 2018 Mesosphere, Inc. All Rights Reserved. 61
DC/OS and Kubernetes
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Orchestration
Scheduling
Resource Management
Service Management
Web Apps & Services
Machine Infrastructure
Mesosphere DC/OS
OrchestrationScheduling
Resource Management
Service Management
Web Apps & Services
© 2018 Mesosphere, Inc. All Rights Reserved. 62
DC/OS and Kubernetes
Orchestration
Machine Infrastructure
Web Apps & Services
Scheduling
Resource Management
Container Runtime
Machine & OS
Service Management
Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Orchestration
Scheduling
Resource Management
Service Management
Web Apps & Services
Machine Infrastructure
Mesosphere DC/OS
Big Data
Services
● Spark
● Flink
● Kafka
● ….
© 2018 Mesosphere, Inc. All Rights Reserved. 63
Mesos and Kubernetes
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Machine Infrastructure
DC/OS / Apache Mesos
Web Apps & Services
etcd etcdetcd
api-ser
ver
api-ser
ver
api-ser
ver
Kube-
proxy
Kube-
proxy
scheduler
Kube-
proxy
scheduler
schedulercontrollercontroller
controller
kubelet kubelet kubelet
...
© 2018 Mesosphere, Inc. All Rights Reserved. 64
Mesos and Kubernetes
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Machine Infrastructure
Mesosphere Apache Mesos
Web Apps & Services
etcd etcdetcd
api-ser
ver
api-ser
ver
api-ser
ver
Kube-
proxy
Kube-
proxy
scheduler
Kube-
proxy
scheduler
schedulercontrollercontroller
controller
kubelet kubelet kubelet
...
© 2018 Mesosphere, Inc. All Rights Reserved. 65
Reality
Machine Infrastructure
Container Runtime
Machine & OS Machine & OS Machine & OS
Container Runtime Container RuntimeContainer Runtime
Machine & OS Machine & OS
Container Runtime
Orchestration
Scheduling
Resource Management
Service Management
Web Apps & Services
Machine Infrastructure
DC/OS/Apache
Mesos
© 2016 Mesosphere, Inc. All Rights Reserved. 66
Lab 0
Access DC/OS
© 2018 Mesosphere, Inc. All Rights Reserved. 67
USER: bootstrapuser
Password: deleteme
© 2016 Mesosphere, Inc. All Rights Reserved. 68
Lab 1
DC/OS and CLI
© 2017 Mesosphere, Inc. All Rights Reserved. 69
INSTALLING THE CLI
© 2017 Mesosphere, Inc. All Rights Reserved. 70
Self-Signed Certifications for Demo Cluster
© 2017 Mesosphere, Inc. All Rights Reserved. 71
First non Kubernetes, non docker container
© 2017 Mesosphere, Inc. All Rights Reserved. 72
First non Kubernetes, non docker container
© 2017 Mesosphere, Inc. All Rights Reserved. 73
DC/OS
Kubernetes
Integration
Kubernetes with DC/OS 1.11 Features
Simple HA
Cluster
Provisioning
Robust API
Server Auth
Non-disruptive
Upgrades
Automated
self-healing
Scalable
Kubernetes
Transport Layer
Security
Cloud Native
Services
Why Kubernetes on DC/OS: Automation
Management
Ability to easily create & scale pure play Kubernetes, data services,
and OSS components anywhere
Lifecycle
Ability to install/upgrade/patch every component of the
solution stack (data, K8s, CI/CDs and ML)
as-a-Service
Ability for each LOB to choose components and
manage resources and lifecycle according to its will
Security 30% Fortune 50 | CNI | TLS | Authentication
Simple HA Cluster
Provisioning
Kubernetes with DC/OS 1.11 Features
Robust API
Server Auth
Non-disruptive
Upgrades
Automated
self-healing
Scalable
Kubernetes
Transport Layer
Security
Cloud Native
Services
Dead Simple Secure & HA Provisioning
1. Prerequisites
2. Installing the Client Tools
3. Provisioning Compute Resources
4. Provisioning the CA and Generating TLS Certificates
5. Generating Kubernetes Configuration Files for Authentication
6. Generating the Data Encryption Config and Key
7. Bootstrapping the etcd Cluster… 3x for HA
10. Bootstrapping the Kubernetes Control Plane… 3x for HA
13. Bootstrapping the Kubernetes Worker Nodes
14. Configuring kubectl for Remote Access
15. Provisioning Pod Network Routes
16. Deploying the DNS Cluster Add-on… Deploying other Add-ons
20. Smoke Test
21. Cleaning Up
We turn this (21 steps)*….
$ dcos package install
kubernetes
Into this….
* Kubernetes the Hard Way by Kelsey Hightower
What’s Kubernetes Done Right?
● Automated - Kubernetes operations should be automated
● Evergreen - You want to always run the latest version of Kubernetes
● Included - Kubernetes is a commoditized standard that is included in a solution
● Open source - Market standard is pure OSS Kubernetes
● Unified - Kubernetes is not an island, you’ll have other workloads
Enhanced Data Security (EE)
● Secure Authentication, Authorization and
In-Transit Data Encryption
● Enable Authentication of Users, Apps
(Client-Server) & Inter-Service
Communication (Server to Server)
● One-Click Configuration of Transport
Security (TLS)
● Significantly Reduce Operational Overhead Non-locked down DIY Kubernetes
clusters target of hidden malware
Enabling Developer Agility:
Kubernetes is one part of a holistic CI/CD pipeline
Source Code
Control
Build and Test Release
Deploy, Monitor
and Log
Automatically trigger CI/CD
pipeline based on code
check-in.
Start automated build and test,
including functional, security
and performance tests.
Update artifact repository with
latest successful code artifacts
and pull newest images
Deploy applications to container
orchestration and watch with
monitoring and logging
CONTINUOUS INTEGRATION (CI) CONTINUOUS DEPLOYMENT (CD)
Marathon
© 2018 Mesosphere, Inc. All Rights Reserved. 81
● CNI - Container Networking Interface
● Kube-DNS - Kubernetes DNS server
● Kube-proxy - East-west loadbalancer
● Ingress - North-South loadbalancer
Networking in Kubernetes
© 2018 Mesosphere, Inc. All Rights Reserved. 82
Networking in Kubernetes on DC/OS
© 2016 Mesosphere, Inc. All Rights Reserved. 83
Lab 2
Install DC/OS Kubernetes
© 2018 Mesosphere, Inc. All Rights Reserved. 84
© 2018 Mesosphere, Inc. All Rights Reserved. 85
© 2018 Mesosphere, Inc. All Rights Reserved. 86
© 2018 Mesosphere, Inc. All Rights Reserved. 87
© 2018 Mesosphere, Inc. All Rights Reserved. 88
© 2018 Mesosphere, Inc. All Rights Reserved. 89
© 2018 Mesosphere, Inc. All Rights Reserved. 90
© 2018 Mesosphere, Inc. All Rights Reserved. 91
© 2018 Mesosphere, Inc. All Rights Reserved. 92
© 2016 Mesosphere, Inc. All Rights Reserved. 93
Lab 2a
Configure Kubectl
© 2016 Mesosphere, Inc. All Rights Reserved. 94
1. Install Kubectl
a. https://kubernetes.io/docs/tasks/tools/install-kubectl/
2. Install cli (only if you installed from UI)
a. dcos package install kubernetes --cli
3. Configure Kubectl
a. dcos kubernetes kubeconfig
b. Kubectl config view
Setting up Kubectl
© 2018 Mesosphere, Inc. All Rights Reserved. 95
● Klick on icon next to proxy
Dashboard
© 2016 Mesosphere, Inc. All Rights Reserved. 96
kubectl run hello-world 
--replicas=5 --labels="run=load-balancer-example" 
--image=gcr.io/google-samples/node-hello:1.0 
--port=8080
Run Hello World
© 2016 Mesosphere, Inc. All Rights Reserved. 97
Lab 4
Failures
Zero Touch Self-Healing
Robust API
Server Auth
Non-disruptive
Upgrades
Scalable
Kubernetes
Transport Layer
Security
Cloud Native
Services
Simple HA
Cluster
Provisioning
Automated
self-healing
ServerServer Server
Application Aware Scheduling
Automated Self Healing
Server Server Server Server Server
Server Server Server
KubernetesZero
Touch
20+
MORE
Cloud Native
Services
© 2017 Mesosphere, Inc. All Rights Reserved. 100
Kill kubelet process
● dcos task exec -it kube-node-0-kubelet bash
● ps aux | grep "./kubelet "
root 62 2.3 0.6 741984 100580 ? Sl 15:16 3:25
./kubelet --address=10.0.4.5
--hostname-override=kube-node-1-kubelet.kubernetes.mesos
● kill -9 62
© 2017 Mesosphere, Inc. All Rights Reserved. 101
Watch the kubelet being restarted
© 2017 Mesosphere, Inc. All Rights Reserved. 102
Watch it being restarted
© 2016 Mesosphere, Inc. All Rights Reserved. 103
Lab 7
Configuration Change
One-Click Scalability and Upgrades
Robust API
Server Auth
Transport Layer
Security
Cloud Native
Services
Simple HA
Cluster
Provisioning
Automated
self-healing
Scalable
Kubernetes
Non-disruptive
Upgrades
© 2018 Mesosphere, Inc. All Rights Reserved. 105
Change Number of Nodes
dcos kubernetes update --options=k8s-package-options.json
© 2018 Mesosphere, Inc. All Rights Reserved. 106
Observe Change in K8s UI
© 2016 Mesosphere, Inc. All Rights Reserved. 107
Lab 8
Update
© 2018 Mesosphere, Inc. All Rights Reserved. 108
Update to next K8s Version
`dcos package install kubernetes --cli
--package-version=1.0.2-1.9.6`
And
`dcos kubernetes update --package-version=1.0.2-1.9.6`
© 2016 Mesosphere, Inc. All Rights Reserved. 109
Lab 9
SMACK Stack/ Apache Flink
© 2018 Mesosphere, Inc. All Rights Reserved. 110
SMACK Stack
Generator Display
1. Financial data created
by generator
2. Written to
Kafka topics
3. Kafka Topics
consumed by Spark or
Flink
4. Results written back into Kafka
stream (another topic)
7. Results displayed
© 2018 Mesosphere, Inc. All Rights Reserved. 111
SMACK Stack
Generator Display
1. Financial data created
by generator
2. Written to
Kafka topics
4. Results written back into Kafka
stream (another topic)
5. Results displayed
3. Kafka Topics
consumed and analyzed
by Flink
Kubernetes Cluster
(running on top of DC/OS)
© 2018 Mesosphere, Inc. All Rights Reserved. 112
Install Apache Flink & Kafka
© 2018 Mesosphere, Inc. All Rights Reserved. 113
Deploy Flink Job
https://s3-eu-west-1.amazonaws.com/downloads.mesosphere.com/flink/flink-job-1.0.jar
© 2018 Mesosphere, Inc. All Rights Reserved. 114
Deploy Microservices
https://s3-eu-west-1.amazonaws.com/downloads.mesosphere.com/flink/flink-job-1.0.jar
© 2018 Mesosphere, Inc. All Rights Reserved. 115
Deploy Microservices
# Deploy Display
$ kubectl apply -f
https://raw.githubusercontent.com/dcos-labs/dcos-kubernetes-
workshop/master/flinkDemo/flink-demo-actor.yaml
# Deploy Generator
$ kubectl apply -f
https://raw.githubusercontent.com/dcos-labs/dcos-kubernetes-
workshop/master/flinkDemo/flink-demo-generator.yaml
$ kubectl get pods
$ kubectl logs flink-demo-actor-655890656-8d1ls
© 2016 Mesosphere, Inc. All Rights Reserved. 116
Lab 10
Kill Cluster
© 2018 Mesosphere, Inc. All Rights Reserved. 117
Kill Cluster
dcos package uninstall --app-id=kubernetes kubernetes
11
Sign Up For Slack
1. Slack URL: https://chat.dcos.io/
2. Join #kubernetes channel
3. OSS support / feedback
© 2018 Mesosphere, Inc. All Rights Reserved. 119
THANK YOU!
ANY
QUESTIONS?
@dcos
users@dcos.io
/groups/8295652
/dcos
/dcos/examples
/dcos/demos
chat.dcos.io
https://github.com/mesosphere/dcos-kubernetes-quickstart
https://mesosphere.com/blog/another-kubernetes-service/
CONFIDENTIAL
Make it insanely easy
to build and scale
world-changing technology
© 2018 Mesosphere, Inc. All Rights Reserved. 121
Step 1
ssh in to your bootstrap node with the centos/FindBlissInIgnorance credentials
Step 2
cd into the ~/tools/dcos-ansible directory:
$ cd ~/tools/dcos-ansible
Enter IP addresses
Warning
Make sure you use your respective 10.0.0.X IPs in the hosts file a
Step 3
Execute the following command to start the installation of DC/OS 1.11:
$ ansible-playbook -i hosts --private-key student_* --extra-vars "dcos_version=dcos-1.11" main.yaml
It will take several minutes to run through the deployment. We will verify the installation was successful in Lab 1: Upgrading DC/OS shortly.

Mais conteúdo relacionado

Mais procurados

Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - PirosOpenbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - PirosOpenbar
 
DevOps Best Practices with Openshift - DevOpsFusion 2020
DevOps Best Practices with Openshift - DevOpsFusion 2020DevOps Best Practices with Openshift - DevOpsFusion 2020
DevOps Best Practices with Openshift - DevOpsFusion 2020Andreas Landerer
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftSerhat Dirik
 
Kubernetes 101 VMworld 2019 workshop slides
Kubernetes 101 VMworld 2019 workshop slidesKubernetes 101 VMworld 2019 workshop slides
Kubernetes 101 VMworld 2019 workshop slidesSimone Morellato
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to KubernetesPaul Czarkowski
 
Red Hat and kubernetes: awesome stuff coming your way
Red Hat and kubernetes:  awesome stuff coming your wayRed Hat and kubernetes:  awesome stuff coming your way
Red Hat and kubernetes: awesome stuff coming your wayJohannes Brännström
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftDevOps.com
 
Journey to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftJourney to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftYusuf Hadiwinata Sutandar
 
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless OverviewOpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless OverviewMaría Angélica Bracho
 
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...AWS Summits
 
Transforming Application Delivery with PaaS and Linux Containers
Transforming Application Delivery with PaaS and Linux ContainersTransforming Application Delivery with PaaS and Linux Containers
Transforming Application Delivery with PaaS and Linux ContainersGiovanni Galloro
 
A DevOps guide to Kubernetes
A DevOps guide to KubernetesA DevOps guide to Kubernetes
A DevOps guide to KubernetesPaul Czarkowski
 
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexus
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexusMicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexus
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexusEmily Jiang
 
Open shift enterprise 3.1 paas on kubernetes
Open shift enterprise 3.1   paas on kubernetesOpen shift enterprise 3.1   paas on kubernetes
Open shift enterprise 3.1 paas on kubernetesSamuel Terburg
 
What are DevOps Application Patterns on AWS…and why do I need them?
What are DevOps Application Patterns on AWS…and why do I need them?What are DevOps Application Patterns on AWS…and why do I need them?
What are DevOps Application Patterns on AWS…and why do I need them?DevOps.com
 
OpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetesOpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetesSamuel Terburg
 
Modern Application Development v1-0
Modern Application Development  v1-0Modern Application Development  v1-0
Modern Application Development v1-0Greg Hoelzer
 
DCEU 18: Docker Enterprise Platform and Architecture
DCEU 18: Docker Enterprise Platform and ArchitectureDCEU 18: Docker Enterprise Platform and Architecture
DCEU 18: Docker Enterprise Platform and ArchitectureDocker, Inc.
 
Helm - Package Manager for Kubernetes
Helm - Package Manager for KubernetesHelm - Package Manager for Kubernetes
Helm - Package Manager for KubernetesKnoldus Inc.
 

Mais procurados (20)

Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - PirosOpenbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
 
DevOps Best Practices with Openshift - DevOpsFusion 2020
DevOps Best Practices with Openshift - DevOpsFusion 2020DevOps Best Practices with Openshift - DevOpsFusion 2020
DevOps Best Practices with Openshift - DevOpsFusion 2020
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShift
 
Kubernetes 101 VMworld 2019 workshop slides
Kubernetes 101 VMworld 2019 workshop slidesKubernetes 101 VMworld 2019 workshop slides
Kubernetes 101 VMworld 2019 workshop slides
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Red Hat and kubernetes: awesome stuff coming your way
Red Hat and kubernetes:  awesome stuff coming your wayRed Hat and kubernetes:  awesome stuff coming your way
Red Hat and kubernetes: awesome stuff coming your way
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
 
Journey to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftJourney to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshift
 
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless OverviewOpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
 
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
 
Transforming Application Delivery with PaaS and Linux Containers
Transforming Application Delivery with PaaS and Linux ContainersTransforming Application Delivery with PaaS and Linux Containers
Transforming Application Delivery with PaaS and Linux Containers
 
A DevOps guide to Kubernetes
A DevOps guide to KubernetesA DevOps guide to Kubernetes
A DevOps guide to Kubernetes
 
Docker meetup-20-apr-17-openshit
Docker meetup-20-apr-17-openshitDocker meetup-20-apr-17-openshit
Docker meetup-20-apr-17-openshit
 
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexus
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexusMicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexus
MicroProfile, Docker, Kubernetes, Istio and Open Shift lab @dev nexus
 
Open shift enterprise 3.1 paas on kubernetes
Open shift enterprise 3.1   paas on kubernetesOpen shift enterprise 3.1   paas on kubernetes
Open shift enterprise 3.1 paas on kubernetes
 
What are DevOps Application Patterns on AWS…and why do I need them?
What are DevOps Application Patterns on AWS…and why do I need them?What are DevOps Application Patterns on AWS…and why do I need them?
What are DevOps Application Patterns on AWS…and why do I need them?
 
OpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetesOpenShift Enterprise 3.1 vs kubernetes
OpenShift Enterprise 3.1 vs kubernetes
 
Modern Application Development v1-0
Modern Application Development  v1-0Modern Application Development  v1-0
Modern Application Development v1-0
 
DCEU 18: Docker Enterprise Platform and Architecture
DCEU 18: Docker Enterprise Platform and ArchitectureDCEU 18: Docker Enterprise Platform and Architecture
DCEU 18: Docker Enterprise Platform and Architecture
 
Helm - Package Manager for Kubernetes
Helm - Package Manager for KubernetesHelm - Package Manager for Kubernetes
Helm - Package Manager for Kubernetes
 

Semelhante a Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)

8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the boxKangaroot
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesQAware GmbH
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific ComputingPeter Bryzgalov
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018Patrick Chanezon
 
The App Developer's Kubernetes Toolbox
The App Developer's Kubernetes ToolboxThe App Developer's Kubernetes Toolbox
The App Developer's Kubernetes ToolboxNebulaworks
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015WaveMaker, Inc.
 
Deploy Application on Kubernetes
Deploy Application on KubernetesDeploy Application on Kubernetes
Deploy Application on KubernetesOpsta
 
A hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackA hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackQAware GmbH
 
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17Mario-Leander Reimer
 
Slide DevSecOps Microservices
Slide DevSecOps Microservices Slide DevSecOps Microservices
Slide DevSecOps Microservices Hendri Karisma
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitThe DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitMarco Ferrigno
 
The DevOps Paradigm
The DevOps ParadigmThe DevOps Paradigm
The DevOps ParadigmNaLUG
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los AngelesVMware Tanzu
 
Containers as a Service with Docker
Containers as a Service with DockerContainers as a Service with Docker
Containers as a Service with DockerDocker, Inc.
 
Docker Container As A Service - March 2016
Docker Container As A Service - March 2016Docker Container As A Service - March 2016
Docker Container As A Service - March 2016Patrick Chanezon
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDStfalcon Meetups
 
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...Patrick Chanezon
 
Weave User Group Talk - DockerCon 2017 Recap
Weave User Group Talk - DockerCon 2017 RecapWeave User Group Talk - DockerCon 2017 Recap
Weave User Group Talk - DockerCon 2017 RecapPatrick Chanezon
 
Deploying windows containers with kubernetes
Deploying windows containers with kubernetesDeploying windows containers with kubernetes
Deploying windows containers with kubernetesBen Hall
 

Semelhante a Kubernetes One-Click Deployment: Hands-on Workshop (Mainz) (20)

8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit Kubernetes
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific Computing
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
 
The App Developer's Kubernetes Toolbox
The App Developer's Kubernetes ToolboxThe App Developer's Kubernetes Toolbox
The App Developer's Kubernetes Toolbox
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Deploy Application on Kubernetes
Deploy Application on KubernetesDeploy Application on Kubernetes
Deploy Application on Kubernetes
 
A hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackA hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stack
 
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
 
Slide DevSecOps Microservices
Slide DevSecOps Microservices Slide DevSecOps Microservices
Slide DevSecOps Microservices
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitThe DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
 
The DevOps Paradigm
The DevOps ParadigmThe DevOps Paradigm
The DevOps Paradigm
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
Containers as a Service with Docker
Containers as a Service with DockerContainers as a Service with Docker
Containers as a Service with Docker
 
Docker Container As A Service - March 2016
Docker Container As A Service - March 2016Docker Container As A Service - March 2016
Docker Container As A Service - March 2016
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CD
 
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
 
Weave User Group Talk - DockerCon 2017 Recap
Weave User Group Talk - DockerCon 2017 RecapWeave User Group Talk - DockerCon 2017 Recap
Weave User Group Talk - DockerCon 2017 Recap
 
Deploying windows containers with kubernetes
Deploying windows containers with kubernetesDeploying windows containers with kubernetes
Deploying windows containers with kubernetes
 

Mais de QAware GmbH

50 Shades of K8s Autoscaling #JavaLand24.pdf
50 Shades of K8s Autoscaling #JavaLand24.pdf50 Shades of K8s Autoscaling #JavaLand24.pdf
50 Shades of K8s Autoscaling #JavaLand24.pdfQAware GmbH
 
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...QAware GmbH
 
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN MainzFully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN MainzQAware GmbH
 
Down the Ivory Tower towards Agile Architecture
Down the Ivory Tower towards Agile ArchitectureDown the Ivory Tower towards Agile Architecture
Down the Ivory Tower towards Agile ArchitectureQAware GmbH
 
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
"Mixed" Scrum-Teams – Die richtige Mischung macht's!"Mixed" Scrum-Teams – Die richtige Mischung macht's!
"Mixed" Scrum-Teams – Die richtige Mischung macht's!QAware GmbH
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringQAware GmbH
 
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
Der Tod der Testpyramide? – Frontend-Testing mit PlaywrightDer Tod der Testpyramide? – Frontend-Testing mit Playwright
Der Tod der Testpyramide? – Frontend-Testing mit PlaywrightQAware GmbH
 
Was kommt nach den SPAs
Was kommt nach den SPAsWas kommt nach den SPAs
Was kommt nach den SPAsQAware GmbH
 
Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo QAware GmbH
 
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...QAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.QAware GmbH
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPQAware GmbH
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.QAware GmbH
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysQAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 

Mais de QAware GmbH (20)

50 Shades of K8s Autoscaling #JavaLand24.pdf
50 Shades of K8s Autoscaling #JavaLand24.pdf50 Shades of K8s Autoscaling #JavaLand24.pdf
50 Shades of K8s Autoscaling #JavaLand24.pdf
 
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
 
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN MainzFully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
 
Down the Ivory Tower towards Agile Architecture
Down the Ivory Tower towards Agile ArchitectureDown the Ivory Tower towards Agile Architecture
Down the Ivory Tower towards Agile Architecture
 
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
"Mixed" Scrum-Teams – Die richtige Mischung macht's!"Mixed" Scrum-Teams – Die richtige Mischung macht's!
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform Engineering
 
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
Der Tod der Testpyramide? – Frontend-Testing mit PlaywrightDer Tod der Testpyramide? – Frontend-Testing mit Playwright
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
 
Was kommt nach den SPAs
Was kommt nach den SPAsWas kommt nach den SPAs
Was kommt nach den SPAs
 
Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo Cloud Migration mit KI: der Turbo
Cloud Migration mit KI: der Turbo
 
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API Gateways
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 

Último

EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queensdataanalyticsqueen03
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfchwongval
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanMYRABACSAFRA2
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 

Último (20)

EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queens
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdf
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 

Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)

  • 1. Kubernetes One-Click Deployment: Hands-on Workshop @joerg_schad @dcos
  • 2. Jörg Schad Technical Community Lead / Developer ● Core Mesos developer at Mesosphere ● Passions are deep learning, distributed data systems, and data analytics
  • 3. Chris Gaun PMM at Mesosphere / CNCF Ambasador ● Previous to that Gartner analyst covering public IaaS ● @gaunetes
  • 4. First, Some Questions (Show of Hands) • Are you a developer? • Are you in operations? • Are you using K8s (in production)? • Are you using DC/OS (in production)?
  • 6. © 2016 Mesosphere, Inc. All Rights Reserved. 6
  • 7. © 2018 Mesosphere, Inc. All Rights Reserved. Hardware Operating System Application 7 COMPUTERS
  • 8. © 2018 Mesosphere, Inc. All Rights Reserved. noun | ˈmīkrō/ /ˈsərvəs/ : an approach to application development in which a large application is built as a suite of modular services. Each module supports a specific business goal and uses a simple, well-defined interface to communicate with other modules.* Microservices are designed to be flexible, resilient, efficient, robust, and individually scalable. *From whatis.com OVERVIEW
  • 9. © 2018 Mesosphere, Inc. All Rights Reserved. Operating System Operating System Operating System ServiceApp ServiceServiceAppApp 9 MICROSERVICES - Polyglot - Single Responsibility - Smaller Teams - Utilization - Machine types/groups - Dependency hell Machine Infrastructure Machine Machine ServiceService ServiceServiceServiceService
  • 10. © 2018 Mesosphere, Inc. All Rights Reserved. ServiceApp ServiceServiceAppApp OS 10 CONTAINERS - Rapid deployment - Dependency vendoring - Container image repositories - Spreadsheet scheduling OS OS Machine Infrastructure Machine Machine Container Runtime Container Runtime Container Runtime ServiceService ServiceServiceServiceService
  • 11. © 2018 Mesosphere, Inc. All Rights Reserved. 11 CONTAINER SCHEDULING RESOURCE MANAGEMENT SERVICE MANAGEMENT - Load Balancing - Readiness Checking CONTAINER ORCHESTRATION
  • 12. © 2018 Mesosphere, Inc. All Rights Reserved. 12 CONTAINER SCHEDULING - Placement - Replication/Scaling - Resurrection - Rescheduling - Rolling Deployment - Upgrades - Downgrades - Collocation RESOURCE MANAGEMENT - Memory - CPU - GPU - Volumes - Ports - IPs - Images/Artifacts SERVICE MANAGEMENT - Labels - Groups/Namespaces - Dependencies - Load Balancing - Readiness Checking CONTAINER ORCHESTRATION
  • 13. © 2018 Mesosphere, Inc. All Rights Reserved. Orchestration 13 Machine Infrastructure Web Apps & Services Scheduling Resource Management Container Runtime Machine & OS Service Management CONTAINER ORCHESTRATION Machine & OS Machine & OS Container Runtime Container Runtime
  • 14. The premier platform to run data-driven, containerized applications on any infrastructure North American Banks Worldwide Telco Companies Highest-Valued Startups Automotive Technology Efforts Represents organizations using Mesosphere technologies 5 of Top 10 30% of 7 of Top 12 5 of Top 10 6 Leading
  • 18. Volume Data Loader Front End Pods Set of Related Containers Tightly Coupled Ephemeral/Stateless Share Namespace Share Network Unit of Management
  • 19. Pods Set of Related Containers Tightly Coupled Ephemeral/Stateless Share Namespace Share Network Unit of Management Pod
  • 20. Pod Networking D B C A Routable (layer 3) No NAT (internode)10.0.0.1 10.0.0.2 10.0.0.3 10.0.0.4
  • 21. Labels D B C A app = portal tier = frontend version = v1 app = portal tier = backend version = v1 app = portal tier = frontend version = v2 app = portal tier = backend version = v2
  • 22. Label Selectors D B C A app = portal tier = frontend version = v1 app = portal tier = backend version = v1 app = portal tier = frontend version = v2 app = portal tier = backend version = v2 app = portal SELECTOR
  • 23. Label Selectors D B C A app = portal tier = frontend version = v1 app = portal tier = backend version = v1 app = portal tier = frontend version = v2 app = portal tier = backend version = v2 app = portal version = v1 SELECTOR
  • 25. Replica Set (Controller) NODE 1 A NODE 2 A NODE 3 A NODE 4 A Replicas = 4 DESIRED Replicas = 4 CURRENT
  • 26. Replica Set (Controller) NODE 1 A NODE 2 A NODE 3 A NODE 4 A Replicas = 4 DESIRED Replicas = 3 CURRENT
  • 27. Replica Set (Controller) NODE 1 A NODE 2 A NODE 3 A NODE 4 A Replicas = 4 DESIRED Replicas = 4 CURRENT A
  • 28. (µ)Services Service A Stable Cluster-wide IP Cluster-wide DNS name Layer 3 Load Balancer Updates continuously app = portal tier = frontend version = v1 SELECTOR A A A
  • 29. (µ)Services Service A New Pod added automatically based on its label selector app = portal tier = frontend version = v1 SELECTOR A A A A
  • 30. Kubernetes concepts 30 kind: Deployment kind: ReplicaSet kind: Pod scales N instances of Pod Set of Containers Upgrades Deployees
  • 31. Configuration File 31 apiVersion: apps/v1beta2 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.7.9 ports: - containerPort: 80
  • 32. Configuration File 32 apiVersion: apps/v1beta2 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.7.9 ports: - containerPort: 80 ReplicaSet Pod
  • 33. Service Spec and Labels kind: Service apiVersion: v1 metadata: name: my-service spec: selector: app: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 Label
  • 35. ETCD 01 MASTER 01 etcd LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS
  • 36. ETCD 01 MASTER 01 LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS • Etcd is a distributed, consistent key-value store • Uses the RAFT consensus algorithm for leader election • Supports revisions and event streams • Primary store for all K8s API objects (single source of truth) • The only storage backend currently supported by Kubernetes etcd
  • 37. ETCD 01 MASTER 01 etcd LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS
  • 38. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server • Entry point to the system • CRUD server for all the API objects in Kubernetes • Processes REST requests and updates the objects in etcd • Performs authentication / authorization MORE: https://goo.gl/KL8WfQ
  • 39. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Scheduler Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server • Daemon process that implements the control loops built into Kubernetes • E.g. … see NEXT slide MORE: https://goo.gl/NJyRP3 Controller Manager
  • 40. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Scheduler Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server Types of Controllers in Kubernetes: ● ReplicaSet - desired state of pods ● ReplicationController - deprecated ● Deployments - updates ● StatefulSets - data services ● DaemonSet ● GarbageCollection - kills orphans ● Jobs ● CronJobs Controller Manager
  • 41. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server Controller Manager • Answers: Where should this pod run? • Based on policy, available resources, affinity, labels, Qos requirements, etc. • Binds unscheduled pods to nodes EXPERT MODE: ● Node Affinity/Anti-Affinity ● Taints and Tolerations ● Pod Affinity/Anti-Affinity https://goo.gl/nvLDE9Scheduler
  • 42. ETCD 01 MASTER 01 etcd LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS
  • 43. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Kubectl Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server Controller Manager Scheduler • Agent that runs on each node • Recieves a set of PodSpecs and insures all pods are running and healthy • Interacts with container runtime (Docker, CRI-O) • Performs some node-level health checks MORE: https://goo.gl/FEKN43 Kubelet
  • 44. ETCD 01 MASTER 01 LoadBalancer WORKER 01 Kubectl Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS etcd API Server Controller Manager Scheduler Kubelet • Network proxy and load balancer for Services • Used to be a user-space proxy • Currently uses iptables MORE: https://goo.gl/ph4sAs Kube Proxy
  • 45. ETCD 01 MASTER 01 etcd LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTPS HTTPS HTTPS HTTPS
  • 46.
  • 47. © 2017 Mesosphere, Inc. All Rights Reserved. 47 Challenges
  • 48. - RBAC + IAM - Network segmentation - OSS framework/ container control - Multiple isolated clusters - Vanilla / standard / OSS Kubernetes - Identical setup / components / no snowflakes - Multi/hybrid cloud - Multi data center - Easy updating / versioning - Scaling - Integrations - ELB, networking, Storage, Monitoring - Easy installation Security Interoperability Easy Management Delivering Kubernetes Challenges Where they run Kubernetes Multiple management hurdles 42% On Prem 57% DIY AWS ~40% 40+% Require more security for wider deployment CNCF poll
  • 49. © 2018 Mesosphere, Inc. All Rights Reserved. 49 Kubernetes Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Orchestration Scheduling Resource Management Service Management Web Apps & Services Machine Infrastructure OrchestrationScheduling Resource Management Service Management Web Apps & Services
  • 50. © 2018 Mesosphere, Inc. All Rights Reserved. KUBERNETES ARCHITECTURE 50 ETCD 01 MASTER 01 etcd LoadBalancer WORKER 01 API Server Scheduler Controller Manager Kubectl Kubelet Kube Proxy Container Engine (Docker, CRI-O) Pod Pod Pod HTTP S HTTP S HTTP S HTTP S
  • 51. © 2018 Mesosphere, Inc. All Rights Reserved. 51 Kubernetes HA Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Machine Infrastructure Web Apps & Services etcd etcdetcd api-ser ver api-ser ver api-ser ver Kube- proxy Kube- proxy scheduler Kube- proxy scheduler schedulercontrollercontroller controller kubelet kubelet kubelet ...
  • 52. © 2018 Mesosphere, Inc. All Rights Reserved. 52 Kubernetes HA Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Machine Infrastructure Web Apps & Services etcd etcdetcd api-ser ver api-ser ver api-ser ver Kube- proxy Kube- proxy scheduler Kube- proxy scheduler schedulercontrollercontroller controller kubelet kubelet kubelet ...
  • 53. © 2017 Mesosphere, Inc. All Rights Reserved. 53 Datacenter
  • 54. © 2018 Mesosphere, Inc. All Rights Reserved. 54 Datacenter Typical Datacenter siloed, over-provisioned servers, low utilization Kubernetes Jenkins Kafka Spark Kuk
  • 55. © 2017 Mesosphere, Inc. All Rights Reserved. 55
  • 56. © 2018 Mesosphere, Inc. All Rights Reserved. 56 Datacenter Typical Datacenter siloed, over-provisioned servers, low utilization Mesos/ DC/OS automated schedulers, workload multiplexing onto the same machines Tensorflow Jenkins Kafka Spark Tensorflow
  • 57. PHYSICAL INFRASTRUCTURE MICROSERVICES, CONTAINERS, & DEV TOOLS VIRTUAL MACHINES PUBLIC CLOUDS DATA SERVICES, MACHINE LEARNING, & AI Security & Compliance Application-Aware Automation Multitenancy Hybrid Cloud Management 100+ MORE DatacenterEdge Datacenter and Cloud as a Single Computing Resource Powered by Apache Mesos 20+ MORE Unified hybrid cloud operations Securely manage cloud, datacenter, and edge infrastructures from a single control plane 4 Mesosphere DC/OS Intelligent resource pooling Optimize workload density for highest utilization with resource guarantees 3 Broad workload coverage Run today & tomorrow’s applications including traditional J2EE, containers, analytics & ML 1 Application-aware automation Automate workload-specific operating procedures to “as-a-Service” anything from Kubernetes to data services 2
  • 58. Deploy Scale Configure Recover 3 AM ... Typical Datacenter siloed, over-provisioned servers, low utilization Kubernetes Jenkins Kafka Spark Cassandra
  • 60. © 2018 Mesosphere, Inc. All Rights Reserved. Two-level Scheduling 1. Agents advertise resources to Master 2. Master offers resources to Framework 3. Framework rejects / uses resources 4. Agent reports task status to Master 60 MESOS ARCHITECTURE Mesos Master Mesos Master Mesos Master Mesos AgentMesos Agent Service Cassandra Executor Cassandra Task Kubernetes Scheduler Spark Executor Spark Task Mesos AgentMesos Agent Service Docker Executor Docker Task K8s Executor Kubelet Task Marathon Scheduler Kafka Scheduler
  • 61. © 2018 Mesosphere, Inc. All Rights Reserved. 61 DC/OS and Kubernetes Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Orchestration Scheduling Resource Management Service Management Web Apps & Services Machine Infrastructure Mesosphere DC/OS OrchestrationScheduling Resource Management Service Management Web Apps & Services
  • 62. © 2018 Mesosphere, Inc. All Rights Reserved. 62 DC/OS and Kubernetes Orchestration Machine Infrastructure Web Apps & Services Scheduling Resource Management Container Runtime Machine & OS Service Management Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Orchestration Scheduling Resource Management Service Management Web Apps & Services Machine Infrastructure Mesosphere DC/OS Big Data Services ● Spark ● Flink ● Kafka ● ….
  • 63. © 2018 Mesosphere, Inc. All Rights Reserved. 63 Mesos and Kubernetes Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Machine Infrastructure DC/OS / Apache Mesos Web Apps & Services etcd etcdetcd api-ser ver api-ser ver api-ser ver Kube- proxy Kube- proxy scheduler Kube- proxy scheduler schedulercontrollercontroller controller kubelet kubelet kubelet ...
  • 64. © 2018 Mesosphere, Inc. All Rights Reserved. 64 Mesos and Kubernetes Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Machine Infrastructure Mesosphere Apache Mesos Web Apps & Services etcd etcdetcd api-ser ver api-ser ver api-ser ver Kube- proxy Kube- proxy scheduler Kube- proxy scheduler schedulercontrollercontroller controller kubelet kubelet kubelet ...
  • 65. © 2018 Mesosphere, Inc. All Rights Reserved. 65 Reality Machine Infrastructure Container Runtime Machine & OS Machine & OS Machine & OS Container Runtime Container RuntimeContainer Runtime Machine & OS Machine & OS Container Runtime Orchestration Scheduling Resource Management Service Management Web Apps & Services Machine Infrastructure DC/OS/Apache Mesos
  • 66. © 2016 Mesosphere, Inc. All Rights Reserved. 66 Lab 0 Access DC/OS
  • 67. © 2018 Mesosphere, Inc. All Rights Reserved. 67 USER: bootstrapuser Password: deleteme
  • 68. © 2016 Mesosphere, Inc. All Rights Reserved. 68 Lab 1 DC/OS and CLI
  • 69. © 2017 Mesosphere, Inc. All Rights Reserved. 69 INSTALLING THE CLI
  • 70. © 2017 Mesosphere, Inc. All Rights Reserved. 70 Self-Signed Certifications for Demo Cluster
  • 71. © 2017 Mesosphere, Inc. All Rights Reserved. 71 First non Kubernetes, non docker container
  • 72. © 2017 Mesosphere, Inc. All Rights Reserved. 72 First non Kubernetes, non docker container
  • 73. © 2017 Mesosphere, Inc. All Rights Reserved. 73 DC/OS Kubernetes Integration
  • 74. Kubernetes with DC/OS 1.11 Features Simple HA Cluster Provisioning Robust API Server Auth Non-disruptive Upgrades Automated self-healing Scalable Kubernetes Transport Layer Security Cloud Native Services
  • 75. Why Kubernetes on DC/OS: Automation Management Ability to easily create & scale pure play Kubernetes, data services, and OSS components anywhere Lifecycle Ability to install/upgrade/patch every component of the solution stack (data, K8s, CI/CDs and ML) as-a-Service Ability for each LOB to choose components and manage resources and lifecycle according to its will Security 30% Fortune 50 | CNI | TLS | Authentication
  • 76. Simple HA Cluster Provisioning Kubernetes with DC/OS 1.11 Features Robust API Server Auth Non-disruptive Upgrades Automated self-healing Scalable Kubernetes Transport Layer Security Cloud Native Services
  • 77. Dead Simple Secure & HA Provisioning 1. Prerequisites 2. Installing the Client Tools 3. Provisioning Compute Resources 4. Provisioning the CA and Generating TLS Certificates 5. Generating Kubernetes Configuration Files for Authentication 6. Generating the Data Encryption Config and Key 7. Bootstrapping the etcd Cluster… 3x for HA 10. Bootstrapping the Kubernetes Control Plane… 3x for HA 13. Bootstrapping the Kubernetes Worker Nodes 14. Configuring kubectl for Remote Access 15. Provisioning Pod Network Routes 16. Deploying the DNS Cluster Add-on… Deploying other Add-ons 20. Smoke Test 21. Cleaning Up We turn this (21 steps)*…. $ dcos package install kubernetes Into this…. * Kubernetes the Hard Way by Kelsey Hightower
  • 78. What’s Kubernetes Done Right? ● Automated - Kubernetes operations should be automated ● Evergreen - You want to always run the latest version of Kubernetes ● Included - Kubernetes is a commoditized standard that is included in a solution ● Open source - Market standard is pure OSS Kubernetes ● Unified - Kubernetes is not an island, you’ll have other workloads
  • 79. Enhanced Data Security (EE) ● Secure Authentication, Authorization and In-Transit Data Encryption ● Enable Authentication of Users, Apps (Client-Server) & Inter-Service Communication (Server to Server) ● One-Click Configuration of Transport Security (TLS) ● Significantly Reduce Operational Overhead Non-locked down DIY Kubernetes clusters target of hidden malware
  • 80. Enabling Developer Agility: Kubernetes is one part of a holistic CI/CD pipeline Source Code Control Build and Test Release Deploy, Monitor and Log Automatically trigger CI/CD pipeline based on code check-in. Start automated build and test, including functional, security and performance tests. Update artifact repository with latest successful code artifacts and pull newest images Deploy applications to container orchestration and watch with monitoring and logging CONTINUOUS INTEGRATION (CI) CONTINUOUS DEPLOYMENT (CD) Marathon
  • 81. © 2018 Mesosphere, Inc. All Rights Reserved. 81 ● CNI - Container Networking Interface ● Kube-DNS - Kubernetes DNS server ● Kube-proxy - East-west loadbalancer ● Ingress - North-South loadbalancer Networking in Kubernetes
  • 82. © 2018 Mesosphere, Inc. All Rights Reserved. 82 Networking in Kubernetes on DC/OS
  • 83. © 2016 Mesosphere, Inc. All Rights Reserved. 83 Lab 2 Install DC/OS Kubernetes
  • 84. © 2018 Mesosphere, Inc. All Rights Reserved. 84
  • 85. © 2018 Mesosphere, Inc. All Rights Reserved. 85
  • 86. © 2018 Mesosphere, Inc. All Rights Reserved. 86
  • 87. © 2018 Mesosphere, Inc. All Rights Reserved. 87
  • 88. © 2018 Mesosphere, Inc. All Rights Reserved. 88
  • 89. © 2018 Mesosphere, Inc. All Rights Reserved. 89
  • 90. © 2018 Mesosphere, Inc. All Rights Reserved. 90
  • 91. © 2018 Mesosphere, Inc. All Rights Reserved. 91
  • 92. © 2018 Mesosphere, Inc. All Rights Reserved. 92
  • 93. © 2016 Mesosphere, Inc. All Rights Reserved. 93 Lab 2a Configure Kubectl
  • 94. © 2016 Mesosphere, Inc. All Rights Reserved. 94 1. Install Kubectl a. https://kubernetes.io/docs/tasks/tools/install-kubectl/ 2. Install cli (only if you installed from UI) a. dcos package install kubernetes --cli 3. Configure Kubectl a. dcos kubernetes kubeconfig b. Kubectl config view Setting up Kubectl
  • 95. © 2018 Mesosphere, Inc. All Rights Reserved. 95 ● Klick on icon next to proxy Dashboard
  • 96. © 2016 Mesosphere, Inc. All Rights Reserved. 96 kubectl run hello-world --replicas=5 --labels="run=load-balancer-example" --image=gcr.io/google-samples/node-hello:1.0 --port=8080 Run Hello World
  • 97. © 2016 Mesosphere, Inc. All Rights Reserved. 97 Lab 4 Failures
  • 98. Zero Touch Self-Healing Robust API Server Auth Non-disruptive Upgrades Scalable Kubernetes Transport Layer Security Cloud Native Services Simple HA Cluster Provisioning Automated self-healing
  • 99. ServerServer Server Application Aware Scheduling Automated Self Healing Server Server Server Server Server Server Server Server KubernetesZero Touch 20+ MORE Cloud Native Services
  • 100. © 2017 Mesosphere, Inc. All Rights Reserved. 100 Kill kubelet process ● dcos task exec -it kube-node-0-kubelet bash ● ps aux | grep "./kubelet " root 62 2.3 0.6 741984 100580 ? Sl 15:16 3:25 ./kubelet --address=10.0.4.5 --hostname-override=kube-node-1-kubelet.kubernetes.mesos ● kill -9 62
  • 101. © 2017 Mesosphere, Inc. All Rights Reserved. 101 Watch the kubelet being restarted
  • 102. © 2017 Mesosphere, Inc. All Rights Reserved. 102 Watch it being restarted
  • 103. © 2016 Mesosphere, Inc. All Rights Reserved. 103 Lab 7 Configuration Change
  • 104. One-Click Scalability and Upgrades Robust API Server Auth Transport Layer Security Cloud Native Services Simple HA Cluster Provisioning Automated self-healing Scalable Kubernetes Non-disruptive Upgrades
  • 105. © 2018 Mesosphere, Inc. All Rights Reserved. 105 Change Number of Nodes dcos kubernetes update --options=k8s-package-options.json
  • 106. © 2018 Mesosphere, Inc. All Rights Reserved. 106 Observe Change in K8s UI
  • 107. © 2016 Mesosphere, Inc. All Rights Reserved. 107 Lab 8 Update
  • 108. © 2018 Mesosphere, Inc. All Rights Reserved. 108 Update to next K8s Version `dcos package install kubernetes --cli --package-version=1.0.2-1.9.6` And `dcos kubernetes update --package-version=1.0.2-1.9.6`
  • 109. © 2016 Mesosphere, Inc. All Rights Reserved. 109 Lab 9 SMACK Stack/ Apache Flink
  • 110. © 2018 Mesosphere, Inc. All Rights Reserved. 110 SMACK Stack Generator Display 1. Financial data created by generator 2. Written to Kafka topics 3. Kafka Topics consumed by Spark or Flink 4. Results written back into Kafka stream (another topic) 7. Results displayed
  • 111. © 2018 Mesosphere, Inc. All Rights Reserved. 111 SMACK Stack Generator Display 1. Financial data created by generator 2. Written to Kafka topics 4. Results written back into Kafka stream (another topic) 5. Results displayed 3. Kafka Topics consumed and analyzed by Flink Kubernetes Cluster (running on top of DC/OS)
  • 112. © 2018 Mesosphere, Inc. All Rights Reserved. 112 Install Apache Flink & Kafka
  • 113. © 2018 Mesosphere, Inc. All Rights Reserved. 113 Deploy Flink Job https://s3-eu-west-1.amazonaws.com/downloads.mesosphere.com/flink/flink-job-1.0.jar
  • 114. © 2018 Mesosphere, Inc. All Rights Reserved. 114 Deploy Microservices https://s3-eu-west-1.amazonaws.com/downloads.mesosphere.com/flink/flink-job-1.0.jar
  • 115. © 2018 Mesosphere, Inc. All Rights Reserved. 115 Deploy Microservices # Deploy Display $ kubectl apply -f https://raw.githubusercontent.com/dcos-labs/dcos-kubernetes- workshop/master/flinkDemo/flink-demo-actor.yaml # Deploy Generator $ kubectl apply -f https://raw.githubusercontent.com/dcos-labs/dcos-kubernetes- workshop/master/flinkDemo/flink-demo-generator.yaml $ kubectl get pods $ kubectl logs flink-demo-actor-655890656-8d1ls
  • 116. © 2016 Mesosphere, Inc. All Rights Reserved. 116 Lab 10 Kill Cluster
  • 117. © 2018 Mesosphere, Inc. All Rights Reserved. 117 Kill Cluster dcos package uninstall --app-id=kubernetes kubernetes
  • 118. 11 Sign Up For Slack 1. Slack URL: https://chat.dcos.io/ 2. Join #kubernetes channel 3. OSS support / feedback
  • 119. © 2018 Mesosphere, Inc. All Rights Reserved. 119 THANK YOU! ANY QUESTIONS? @dcos users@dcos.io /groups/8295652 /dcos /dcos/examples /dcos/demos chat.dcos.io https://github.com/mesosphere/dcos-kubernetes-quickstart https://mesosphere.com/blog/another-kubernetes-service/
  • 120. CONFIDENTIAL Make it insanely easy to build and scale world-changing technology
  • 121. © 2018 Mesosphere, Inc. All Rights Reserved. 121 Step 1 ssh in to your bootstrap node with the centos/FindBlissInIgnorance credentials Step 2 cd into the ~/tools/dcos-ansible directory: $ cd ~/tools/dcos-ansible Enter IP addresses Warning Make sure you use your respective 10.0.0.X IPs in the hosts file a Step 3 Execute the following command to start the installation of DC/OS 1.11: $ ansible-playbook -i hosts --private-key student_* --extra-vars "dcos_version=dcos-1.11" main.yaml It will take several minutes to run through the deployment. We will verify the installation was successful in Lab 1: Upgrading DC/OS shortly.