Skip to content

Instantly share code, notes, and snippets.

@Console32
Created September 9, 2021 14:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
apiVersion: 1
kind: Service
metadata:
name: nodered
spec:
selector:
app: nodered
ports:
- port: 1880
protocol: TCP
targetPort: 1880
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nodered
spec:
selector:
matchLabels:
app: nodered
replicas: 2
template:
metadata:
labels:
app: nodered
spec:
containers:
- name: nodered
image: nodered/node-red
ports:
- containerPort: 1880
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment