---
# System prepended metadata

title: Hello Cloud Run - Bear Su
tags: [DevFest2019]

---

Hello Cloud Run - Bear Su
===



> 請從這裡開始

## kubernetes
- 資源管理
- 容器編排
- ~~YAML 工程師~~

## Knative
https://knative.dev/

Knative API 佈署，減少 YAML 撰寫
tekton 打包

Primitives: Serving / Event
Ingress/Gateway: Istio / Ambassador / Gloo
Platform: Kubernetes

### Developer side

* Service-based
* Event-driven
* Open

### Cloud run
* Cloud run (Full managed)
* Clound run on Anthos (CLoud run on GKE)
* Cloud run on-prem
* Knative & Kubernetes

## Resource Model
- Service
    - Revision
        - Container Instance

## 缺點
- http/https protocol
- Listen port dynamic (.venv)
- Server-less: 無流量自動關閉 -> Start fast
- Containerize

## Create Cloud Run
- Push Container Image
- Create service

## CI/CD w/ cloud build

## Integration
- Cloud Scheduler
- Cloud Pub/Sub

## 


###### tags: `DevFest2019`
