Building Serverless Kubernetes Clusters for Serverless Jobs

Going Serverless

Serverless Jobs

Serverless Infrastructure

Create a Serverless Kubernetes Cluster

Connecting to the cluster

$ kubectl version
apiVersion: apps/v1
kind: Deployment
metadata:
name: express-nodejs-deployment
labels:
runtime: nodejs
spec:
replicas: 3
selector:
matchLabels:
name: express-nodejs-pod
template:
metadata:
labels:
name: express-nodejs-pod
spec:
containers:
- name: express-nodejs
image: afzaalahmadzeeshan/express-nodejs:latest
ports:
- containerPort: 5000
resources:
limits:
memory: 256Mi
cpu: 250m
---
apiVersion: v1
kind: Service
metadata:
name: express-nodejs-service
spec:
ports:
- port: 80
targetPort: 5000
selector:
name: express-nodejs-pod

Connecting using Alibaba Cloud Shell

Serverless on Kubernetes

Original Source:

--

--

--

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Loki and Freya: A Christmas Story

How to Deploy a Static React App to AWS

nuclio: The New Serverless Superhero

Implement Power BI Embedding Analytics for better business decision(Part-2)

What is HTML5 and what can I do with it?

Cookie+Session: Story of a Stateless HTTP

Programmer === Student

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

More from Medium

KubeVela 1.4 released, Make Application Delivery Safe, Foolproof, and Transparent

Customizing the error code response for Client Certificate Authentication (mTLS) with NGINX ingress…

Scalable self-hosted runner system for GitHub actions

How to integrate custom logs with Elastic Agent