Created
August 2, 2021 10:04
-
-
Save bharathirajatut/c459ebe105dfe3c36c55512ce25751a3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: nodejs-service | |
spec: | |
selector: | |
app: nodejsapp | |
type: LoadBalancer | |
ports: | |
- protocol: TCP | |
targetPort: 3000 | |
port: 80 | |
nodePort: 30000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment