- 1. Borg of GKE
- 2. Takusuta by CyberAgent
- 3. Arakawa at Recruit life stle
- 4. Autoscaling in Voyage Group
- 5. Data mining in Voyage Group
- Developer Advocate / Support
-
Services
-
Gmail 400M people
-
Youtube 6B movies
-
-
Infrastructure
-
Faster Project with KDDI in 2014
-
38 countries, edge location (E2E)
-
MapReduce, BigQuery
-
-
-
LXC developed by Google, etc.
-
OS-level virtualization
-
Pros
-
Light
-
Portable
-
Efficiency
-
-
Configuration file
-
100K tasks
> process CPU > Database -
Google not use Docker but LXC
-
Borg is container scheduler
-
Borg developers are Kubernetes developers
-
-
Functions
-
Cluster management
-
Architecture
-
Pod
-
Containers
- Services of application and so on
-
Labels
-
Frontendlabel
-
Backend label
-
-
-
-
Replication Controller
-
Fail safe
-
Hot deployment
-
Scale up
-
Scale down
-
-
LB
-
Service of connection both of frontend and backend
-
e.g.
-
Virtual IP to backend Pod
> -
Configuration file
-
Kubernetes configuration file is YAML
-
Borg configuration file is Original
-
-
kubectl
-
-
-
-
-
Replication controller (RC)
-
scheduler
-
configuration file
-
yaml
-
json
-
-
-
Service
-
IP: Layer 4
-
Round Robin
-
Load balancer
- Global IP = GCE network address
-
Certification
-
not ELB
-
node Pod
-
GCE-LB
-
Cross egion LB
-
Select region/zone
- attend Generation
-
-
-
scope
-
gcloud describe
- Fluentd -> bigquery
- Default backend of GCE-LB
- make Unix time
- GPE
-
Stack logging
-
Slack and mail notification
-
awesome!
-
kubectl create f
-
HTTP LB (L7LB)
-
Functions
-
1M eq per sec
-
Cross egion LB
-
SSL termination
-
HTTP/2
-
-
Setup by CLI
-
-
H2O proxy –> L7LB
-
Cube Proxy
- Github –> CircleCI -Rolling update-> GCE –> Slack
-
Cloud logging
-
Google Cloud Monitoring
-
Stackdriver
-
Slack
-
-
Problems
-
Define and plan
-
Save
-
Analysis
-
-
BigQuery
-
Not Real-time
-
Price
-
11 USD per month for BigQuery
-
7 USD per month for GCE
-
-
-
Fluentd –> BigQuery
-
Case example of BigQuery
-
SQL-like
-
Sensor around Himejijo
-
24M record
-
6.6 sec
-
1.43 GB
-
Batch
-
- Impression messurement
-
HTTP load balancing serving capacity
- 7500 RPS (request per second) / 1 instance
-
Instance Group
- Instance Template
- DNS –> Route53 –>
-
BigQuery
-
Case example
-
Access log in Nginx
-
UserAgent
-
Impression messurement
-
-
- High expense
- Price 11 USD per month