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

Vscode Extensions Every PHP/Laravel/Vue.js developer should use

An Introduction to Nutanix: What, Why, and How

Seedify integrates Phala Network for trustless and secure cloud computing power to its customers

Architecture of Elastic Search & Installation — Part 2

Anatomy of Structs in Go

What are the reasons for using ServiceNow?

ApsaraDB for HBase Publishes Full-Text Indexing Service to Handle Complex Queries

Subscription apps are like paying rent | #20

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

Running a Redis cluster on AWS with Terraform as IaC and Github Actions As CI/CD

How to use AWS Bottlerocket

GitHub - bottlerocket-os/bottlerocket: An operating system designed for  hosting containers

Serving a Node.js API on Amazon Elastic Kubernetes Service and CloudFront

Implementing Graceful Shutdown in Go