Skip to content

Instantly share code, notes, and snippets.

@Sampriti-Mitra
Created October 18, 2021 16:16
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 Sampriti-Mitra/05098431d4409820813203d2d87dfa48 to your computer and use it in GitHub Desktop.
Save Sampriti-Mitra/05098431d4409820813203d2d87dfa48 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: myapp
spec:
selector:
app: myapp
type: LoadBalancer
ports:
- protocol: TCP
port: 10000
targetPort: 10000
nodePort: 30000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment