Got it

What Exactly Is Serverless? How it is helping Kubernetes

Latest reply: Aug 9, 2022 17:29:26 428 17 10 0 0


Serverless features are becoming more common among public cloud providers, allowing you to deploy functions instead of instances or containers.

What is Serverless computing?

    It is a design and deployment paradigm for event-driven applications in which computer resources are given as scalable cloud services. Server computing resources are a set and recurrent expense in typical application deployments, regardless of how much computing work is really being performed by the server. Customers in a Serverless computing system do not have to worry about paying for downtime or idle time.

 

  • Azure Functions for Microsoft’s Azure

  • AWS Lambda from Amazon Web Services

  • Google Cloud Functions from GCP (Google Cloud Platform)

  • Cloud Functions from Huawei Cloud

  • IBM Cloud Functions From IBM


In order to use these solutions, you don't have to worry about the infrastructure. Because they aren't "always-on" like containers and instances, serverless functions, if they don't need to be performed frequently, can save a lot of money.

Benefits of Serverless

To get code up and running in a public cloud serverless model may minimize operating expenses, engineering time, and the complexity of managing Windows/Linux distributions and building containers.


why

 

  • You don’t need to manage a Windows/Linux distribution

  • You only pay for the time that your function is running, not for the entire period.

  • Developers don't have to worry about a lot of operational factors when they can "simply push" the code

    • Even though "cold-starts," the time it takes for a function to start after it hasn't been used for some time, might be an operational issue that has to be addressed.

Serverless in Kubernetes

Rather than using containers to start applications on Kubernetes, you can also use Functions

Currently, the most popular projects enabling functions are:

  • OpenFaas

  • Kubeless

  • Fission

  • OpenWhisk

 

Kubernetes cluster may be used as a platform for developers to create and deploy services.

A developer can rapidly and simply deploy functions on Kubernetes, but as an administrator, you'll still have to maintain the infrastructure.

All these projects are pretty new (as of September 2018), so their feature set will still drastically change


    If you’re looking in adopting a serverless technology for your Kubernetes cluster, it’s best to compare the features and the maturity of multiple software products, and make your own decision

 

Kubeless

Kubeless is a Kubernetes-native framework (source: https://github.com/kubeless/kubeless/)

  • It leverages the Kubernetes resources to provide auto-scaling, API routing, monitoring, etc

  • It uses Custom Resource Definitions to be able to create functions

  • It’s open source and non-affiliated to any commercial organization

  • It has a UI available for developers to deploy functions


    With kubeless you deploy a function in your preferred language, Currently, the following runtimes are supported:

lang

  • Python

  • NodeJS

  • Ruby

  • PHP

  • .NET

  • Golang

 

  

Keep learning and keep growing

Visit my personal Author collection, which contains the most valuable articles written around the areas of IP core/Datacom, Cloud, access (FTTH), transmission, and emerging technologies.

                                                                                                    

Follow me

Bashir Ahmed Zeeshan

 

 


The post is synchronized to: Community Blog

  • x
  • convention:

Irina
Admin Created 5 days ago

Hi, @BAZ
Because your article was very valuable and qualitative, we've decided to feature it on our Blog collection: https://forum.huawei.com/enterprise/en/forum.php?mod=collection&action=view&ctid=431

Congrats!
View more
  • x
  • convention:

BAZ
BAZ Created 5 days ago (0) (0)
Yay. Thanks for it.  
Anno7
Moderator Author Created Jul 5, 2022 18:20:53

Great sharing.. good to know it
View more
  • x
  • convention:

Zonger
Moderator Created Jul 6, 2022 07:21:40

Thanks for sharing!
View more
  • x
  • convention:

MahMush
Moderator Author Created Jul 6, 2022 08:00:02

For some developers, serverless computing's event-driven nature and lack of persistent states are drawbacks. Developers that require persistent data may run into issues because local variables' values may not survive instantiations.
View more
  • x
  • convention:

BAZ
BAZ Created Jul 7, 2022 16:25:44 (0) (0)
Thanks for sharing valuable information  
Dia0205
Created Jul 6, 2022 08:02:26

Thanks for sharing.
View more
  • x
  • convention:

faysalji
Moderator Author Created Jul 6, 2022 20:24:19

well done, explained nicely
View more
  • x
  • convention:

BAZ
BAZ Created Jul 11, 2022 19:08:33 (0) (0)
Glad you liked it  
faysalji
Moderator Author Created Jul 6, 2022 20:24:39

Serverless on Kubernetes reduces repetitive configuration in a cloud provider independent way
View more
  • x
  • convention:

BAZ
BAZ Created Jul 6, 2022 22:05:54 (0) (0)
Yes that's correct. Thanks for adding up  
atadmrl251
Moderator Created Jul 6, 2022 21:04:23

Good to know information about Serverless computing. It wpuld be more useful if you add what are disadvantages of Serverless Computing.
Thank you already
View more
  • x
  • convention:

BAZ
BAZ Created Jul 6, 2022 22:06:58 (0) (0)
Thats for some other time and article.
Thanks for your great feedback  
NTan33
Created Jul 10, 2022 05:07:27

A good option to consider in such a situation.
View more
  • x
  • convention:

Saqibaz
Created Jul 17, 2022 05:13:26

Thanks for sharing
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.