Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created March 26, 2020 16:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bharatmicrosystems/5344164e9b9c5a38df5bee0a93070db8 to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/5344164e9b9c5a38df5bee0a93070db8 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
targetPort: 80
nodePort: 31000
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment