Skip to content

EDChui/serverless-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Kubernetes-based Resource Manager

Course work for Vrije Universiteit Amsterdam's X_400130 Distributed Systems (2024).

Prerequisites

  1. Install Docker.
  2. Have a Docker Hub account for pushing the Docker image.
  3. Install Knative:
    1. Install kind.
    2. Install Kubernetes CLI (kubectl).
    3. Install Knative. We recommend install with the quickstart plugin.
    4. Install Knative Serving components, networking layer and configure DNS. You can also do it with make install-knative-dependencies.

Setup

  1. Update the variable NAMESPACE=YOUR_NAMESPACE_HERE in Makefile to your Docker namespace.
  2. Run the following command to update all namespaces in the services yaml.
make update-namespace
  1. Obtain the etcd certificates for allowing the services to have access to it.
make get-etcd-certs
  1. Build and deploy the services.
make build-deploy-all
  1. Find the URL for accessing the services.
kubectl get ksvc
  1. Take down the services.
make take-down-all

Useful Commands

Checking etcd configuration

docker exec -it knative-control-plane sh
cat /etc/kubernetes/manifests/etcd.yaml

Acknowledgments

This project makes use of Auger maintained by the etcd Development and Communities. Please check out their work etcd-io/auger.

About

Serverless Kubernetes-based Resource Manager, for VU Amsterdam X_400130 Distributed Systems (2024).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors