Skip to content

This repository contains examples of cloud native serverless emerging open source and Azure native technologies.

License

Notifications You must be signed in to change notification settings

cloudmelon/Cloud-Native-Serverless-Playbook

Repository files navigation

Cloud Native Serverless Samples

This repository contains showcase examples of cloud native serverless implemented elaboratively by open source technologies in the community.

About Virtual Kubelet

The kubelet is the captain of the worker node, a primary "node agent" that runs on each node. It registers the node with the apiserver, the kubelet takes a set of PodSpecs to provision the pod and ensures that the containers described in those PodSpecs are running and healthy.

Virtual Kubelet is an implementation of the Kubernetes kubelet that masquerades as a kubelet for the purpose of connecting a Kubernetes cluster to other APIs.

Current Virtual Kubelet providers

curl --output fargate.toml https://github.com/virtual-kubelet/aws-fargate/blob/master/fargate.toml

virtual-kubelet --provider aws --provider-config fargate.toml

Other providers :

  • HashiCorp Nomad
  • Huawei Cloud Container Instance (CCI)
  • Admiralty Multi-Cluster Scheduler
  • Alibaba Cloud Elastic Container Instance (ECI)
  • Liqo
  • OpenStack Zun
  • Tencent Games Tensile Kube

A complete list of virtual Kubelet provider list here

About KEDA

On August 2021, The CNCF Technical Oversight Committee (TOC) has voted to accept KEDA as a CNCF incubating project.

Kubernetes Event-Driven Autoscaling (KEDA) is a event-driven autoscaler for Kubernetes that can be easily added to Kubernetes clusters to scale applications. With KEDA, you can drive the scaling of any container in Kubernetes based on the demanding events.

KEDA works alongside standard Kubernetes components like the Horizontal Pod Autoscaler. With KEDA you can explicitly map the apps you want to use event-driven scale, with other apps continuing to function. This makes KEDA a flexible and safe option to run alongside any number of any other Kubernetes applications or frameworks.

Serverless functions

  • Azure functions usually works in Microsoft Azure and deploying on custom location on Azure-Arc enabled Kubernetes is currently in preview, check out a demo here

  • Fission, short-lived functions in any language, and map them to HTTP requests on Kubernetes.

  • KNative, open-sourced solution help build Serverless and Event Driven Applications on Kubernetes.

  • OpenFaaS, bring an OCI-compatible image, deploy event-driven serverless functions and microservices to Kubernetes

Check out a demo about Serverless functions from here

Other serverless frameworks that run Kubernetes such as kubeless ( no longer actively maintained by VMware ) and Apache OpenWhisk.

My other related contributions on the topic

Another repo recaps Serverless demo around AKS and Microsoft Azure. AKS cluster combine Virtual Kubelet ( ACI ) and KEDA : https://github.com/cloudmelon/aks-severless

To deploy an entreprise compliant AKS cluster which can be attached to Azure ML, check it out : https://azure.microsoft.com/en-us/resources/templates/aks-azml-targetcompute/

For stateless workloads, to deploying Master-Slave architecture Linux-hosted clustering solution on Azure, check it out here: https://azure.microsoft.com/en-us/resources/templates/vmss-master-slave-customscript/

More details on my blog :

Please go to my blog cloud-melon.com to get more details about how to implement this solution and more about Microsoft Azure ( ref link : https://cloud-melon.com )

Feel free to reach out to my twitter @MelonyQ for more details ( https://twitter.com/MelonyQ ).

Go subscribe CloudMelonVision channel on YouTube where I share the demos of my code samples if you're interested in learning more.

About

This repository contains examples of cloud native serverless emerging open source and Azure native technologies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published