Skip to content

Instantly share code, notes, and snippets.

@tonytangau
Created September 28, 2020 03:52
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 tonytangau/ad7bbe4705eb969fba8c1ba1c424b28f to your computer and use it in GitHub Desktop.
Save tonytangau/ad7bbe4705eb969fba8c1ba1c424b28f to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
ports:
- port: 8000
targetPort: 80
protocol: TCP
selector:
app: nginx
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment