Skip to content

Instantly share code, notes, and snippets.

@collabnix
Created April 8, 2023 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save collabnix/bf4615dc2fd5f57119828114e9809c77 to your computer and use it in GitHub Desktop.
Save collabnix/bf4615dc2fd5f57119828114e9809c77 to your computer and use it in GitHub Desktop.
Todo List app on Kubernetes
apiVersion: v1
kind: Service
metadata:
name: node-app-service
spec:
selector:
app: node-app
ports:
- name: http
protocol: TCP
port: 3000
targetPort: 3000
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment