Created
April 8, 2023 01:04
-
-
Save collabnix/bf4615dc2fd5f57119828114e9809c77 to your computer and use it in GitHub Desktop.
Todo List app on Kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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