All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Pithy Guide to Kubernetes Part 2: Node.JS

6y agoen

Source

jdx.devPithy Guide to Kubernetes Part 2: Node.JSjdx.dev
Snippet from the RSS feed
If you haven’t done Part 1 you’ll need to start there. In Part 1 we setup Minikube and added an Ingress, Service, and Deployment to the k8s cluster. Now we’ll finish that work by giving the Deployment an image to load. The full example code is available on GitHub . Build the Node API First create a package.json file for our dependencies and add express to the app: $ mkdir api $ cd api $ echo '{}' > package.json $ npm i express Now create a simple express JSON API

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.