Deploy Serverless Function on k3s/Kubernetes with OpenFaaS (x86/Arm, Linux VM, Go)

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 1

  • @dhij
    @dhij  2 роки тому +1

    0:00 Intro & VM configurations
    0:54 Installing k3s
    3:52 Installing docker and faas-cli
    5:06 Configuring docker registry with docker login
    6:40 Installing arkade and openfaas
    7:03 Resolving 8080 connection refused error with kube config workaround
    9:33 Gateway deployment rollout and port-forwarding
    10:42 faas-cli login
    12:55 faas-cli up on x86 vs. faas-cli publish on Arm
    14:18 Creating OpenFaas function
    14:40 faas-cli templates list and pull golang-http template
    16:45 Writing the handler.go file, installing go & dependencies with go mod tidy
    21:29 faas-cli up to build, push, and deploy the function
    21:53 gofmt error
    22:24 faas-cli login error
    22:55 Testing the function endpoint with curl