공부하고 기록하는, 경제학과 출신 개발자의 노트

knative 15

DevNation Day 2020 - Knative Backstage (how autoscaler actually works)

Knative BackStage - how autoscaler Actually works https://youtu.be/sh9mfUExX9o Paul Morie. Serverless Engineering team at RedHat 일반적으로 Serverless 하면 Function as a Service나 AWS Lambda를 떠올린다. 그 정도 full experience를 다루는 건 아니고 Enabling core technology / concept를 다룬다고 보면 됨. Knative Serving: Scaling Application on-demand. Knative Eventing: working with events that are emitted by different sources. Knat..

Knative Series 4 - Eventing Deep Dive

Knative Eventing Deep Dive https://youtu.be/XEkctUsVl5I 강연자: Ahmed Abdalla Redhat Openshift serverless team 소속. knative eventing 담당 cf. 이 강의를 끝까지 들어보면, github 소스코드를 따로 보여주지 않는다. 강의에서 사용한 github 레포도 따라가보고 강연자 @devguyio 의 깃허브 링크를 확인했지만, 이 실습에 사용한 yaml코드는 없었다. Knative Eventing이란 무엇인가. 뜯어보려면 꽤 복잡한 구조. 미리 정의하고 출발하자면 Opinionated way of building Event Driven Architeucture / Event Driven Application usi..

Knative로 배포한 애플리케이션의 동작과정

외부의 요청이 External Load balancer로 들어온다. 해당 요청은 Ingress Gateway (Istio)로 포워딩된다. istio gateway의 목적은 'destination Service'로 요청을 전달하는 것. k8s에서 애플리케이션을 실행하려면 몇 가지 리소스가 필요하다. Deployment -> it creates a ReplicaSet that creates pods. Horizontal Pod Scaler -> ensure the correct number of Replicas is running. Service -> other pod에서 Access하기 위한 통로. Ingress Gateway to Service -> 클러스터 외부에서 접근하기 위한 경로. kn servi..

Google Cloud Run으로 Container image 실행하기

Managed Container-as-a-Service Serverless Deployment remove the needs for us to manage the underlying infraStructure. Simplified Application Management. Out-of-the-box High availability & Scaling "Pay what your Users use" business Model. 서비스를 제공하는 vendor 입장에서는 'do not waste resources like cpu / ram for no reason.' 즉 '내가 사용하는 리소스'에 대한 비용 지출이 아니라, '내 프로덕트를 이용하는 사용자가 쓰는 리소스'에 대한 비용 지출이 이루어진다. inste..

Knative Series 2 - Knative 101

강연자 : Carlos. ibm cloud의 cloud native Architect로 재직중 Modernizing Customers' Application into K8s (Openshift) Serverless 쪽 오픈소스 프로젝트 Contributor (OpenWhisk, Knative) Knative에서 제공하는 두 개의 component -> Serving, Eventing. 각각 독립된 컴포넌트로 사용이 가능하다. Serving -> Scaling to Zero, traffic splitting 일반적으로 kubernetes를 사용해서 scaling 기능을 적용하려면 ingress : yaml 세팅법, https를 위한 TLS 적용을 secret으로 등록하기, Endpoint를 service에..