6. Introducing smide
Aim of smide:
• e-bike sharing
• Fully managed e-bikes without permanent stations
• Offers an easy way of bridging the “last mile” gap in public transportation
=> Explore alternative solutions for mobility
28.10.2016Build a speedboat harbor using Docker 7
7. Speedboat – boon and bane
What is a speedboat for
• Leads out of the business potential of an idea or concept
• Doesn’t matter, if the speedboat turns into a submarine and never reaches
the surface
• Doing all this things, without disturbing the core business
28.10.2016Build a speedboat harbor using Docker 8
..to be
or
not to be….
8. Speedboat – boon and bane
Implementation
• Building a minimum viable product (MVP)
• Cost sensitive
• No constraints, no guidelines ... just functionality … only speed matters …
• Security??? WTH is security ...
28.10.2016Build a speedboat harbor using Docker 9
9. Results in an operations nightmare
• The MVP isn’t conform to any existing guidelines, standard operation platforms…
• Doesn’t fit to any strategy
• Can’t be or shouldn’t be run in the standard Mobiliar data center
Speedboat – boon and bane
28.10.2016Build a speedboat harbor using Docker 10
10. smide - involved stakeholders
28.10.2016Build a speedboat harbor using Docker 11
Mobiliar operation:
• Runs the containers
Business
development:
• Project owner
• Defines requirements
• Handles the partners
• Financial responsibility
External
development:
• Implements the requirements
11. smide - architecture overview
28.10.2016Build a speedboat harbor using Docker 12
12. ..and now, to come to the point…
28.10.2016Build a speedboat harbor using Docker 13
13. Docker
• Contractors create Docker images which can be easily shipped to the Mobiliar
• An dedicated Docker registry helps separate the containers from the internal and the external companies
• The helping hand of Kubernetes deploys any necessary certificates, configurations and the deployment files
• NFS is used to persist data from the containers.
• Backup and restore are provided by Mobiliar internal tools
28.10.2016Build a speedboat harbor using Docker 14
14. Challenges
• We have decided not to use the Mobiliar CI / CD chain (Teamcity, AMW) in the public access cluster at the moment
A separate solution is a huge amount of work
• The customer ships images directly, instead of code. Configuration is delivered separately
Manual deployment
• Communication between business development, external partners and Mobiliar operations
Find a channel and use it!
• One speedboat is working and the next is coming => Multi tenant?
Security handled by Kubernetes with certificates
Network separation could work by using Calico instead of Flannel (or Canal)
But Docker?
28.10.2016Build a speedboat harbor using Docker 15
15. … under the hood
28.10.2016Build a speedboat harbor using Docker 16
16. Operations
• Die Mobiliar is using Kubernetes heavily for the whole agile build/deploy chain
• Separate Kubernetes cluster for
Development
Preproduction
Production
• Need of a Kubernetes Test Lab cluster, testing new versions (Kubernetes, Docker, Etcd, Flannel, etc.)
• Extra Kubernetes public cluster (speedboats) for
Preproduction
Production
28.10.2016Build a speedboat harbor using Docker 17
17. Operations - Monitoring
• With Prometheus and Grafana you can have an optimal Kubernetes single cluster monitoring system.
28.10.2016Build a speedboat harbor using Docker 18
18. Operations - Logging
• Logfiles can be analyzed using Splunk which is implemented in the Mobiliar. Labels can be helpful!
The external partners are using the Kubernetes way of obtaining them.
28.10.2016Build a speedboat harbor using Docker 19