본문 바로가기
[Cloud]/심심풀이

[심심풀이] Kubernetes + Rancher 2 + Openfaas 설치

by journes 2019. 4. 5.

지난번, openwhisk 설치 후,  UI 부분에 대한 해결이 안되고 있다가..  자료을 찾아보니. Openfaas 라는 serverless  tools 을 발견하여 설치해 봤습니다. : )

 

Openfass  

https://docs.openfaas.com/cli/templates/

 

Create functions - OpenFaaS

Create new functions Get started Once you've installed the faas-cli you can start creating and deploying functions via the faas-cli up command or using the individual commands: faas-cli build - build an image into the local Docker library faas-cli push - p

docs.openfaas.com

 

1.Openfaas 에 설치 

  > Catalog 에서 설치. 

2. Openfaas UI

 

 

TEST 내역 

 

1. faas-cli 설치 

 

  - brew reinstall faas-cli

  - faas-cli

 

2. function deploy

  

  -  export OPENFAAS_URL=http://IP:31112

  - faas-cli store list

  - faas-cli store deploy figlet

  - faas-cli list

 

 

3. openfaas web UI (실행 결과)

 

 

4. openfaas web UI (삭제)

 

기타

- functions 에 Java 도 보이네요..