Skip to content

Instantly share code, notes, and snippets.

@hakaneroztekin
Created July 21, 2022 17:42
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 hakaneroztekin/17d2e09e49ea9187e862c7f14e56b48c to your computer and use it in GitHub Desktop.
Save hakaneroztekin/17d2e09e49ea9187e862c7f14e56b48c to your computer and use it in GitHub Desktop.
service [kubernetes in a nutshell]
apiVersion: v1
kind: Service
metadata:
name: basic-spring-service
spec:
type: NodePort
ports:
- port: 8080
nodePort: 30056
targetPort: 8080
selector:
env: development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment