Event Info
Talk.1 Docker + Kubernetes. How a serverless platform is built on top of containers
How a serverless platform is built on top of Containers
The Internals of Open Source Fn Project
- About Fn project
- Overview
- FaaS
- Container vs Function.
- What is a Function ?
- Function is a special kinds of container.
- Function is also a container.
- Fn feature
- STDIN / STDERR
-
vs kubernetes
- kubernetes is too slow (maybe heavy)
-
Fn project
- 目的・概要
- docker 操作をより速く簡単に使うためのツール(プロジェクト)
- 特徴
- Serverless に拘る (*)
- 全てを Function として定義 (*)
- docker で使えるとあるが、OpenSource、汎用的ではある
- デプロイ(リリース)に主眼を置いている印象 - init -> run -> test -> deploy -> call
- update = new deploy
- monitor はあまり考慮に入っていない?
*)
言葉の問題で具体的に何の意味があるのかよく分からない。
ただし、対象や機能を絞って定義することでコマンドの簡素化
処理の高速化を実現しているようには見える。
Talk.2 Kubernetes + Docker
- Docker (CE,EE) supports kubernetes
- You can enable kubernetes in docker application on Mac.
About Docker CE on Mac
- You can kubernetes with docker in case you install docker-CE Edge version
- Not stable version right now.
- kubernetes settings
- ~/.kube/config
- You can also use kubectl command.
- Example
- When you kick the command, docker use also kubernetes.
$ docker stack deploy --compose-file docker-compose.yaml doge
Docker EE
- Create stack
- You can chose mode - basic, swam, and "kubernetes"
- also select "namespace" comes from kubernetes.
Summary
- You can deploy both kubectl and docker stack.
-> Docker CEでもEEでもkurernetes使えるよ。
Docker EEならば簡単にkubernetesの設定作れるよ。だから使ってね! な印象。。