Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created June 16, 2019 08:54
Show Gist options
  • Save mlabouardy/cbb04603e5a083238cb7304bff698527 to your computer and use it in GitHub Desktop.
Save mlabouardy/cbb04603e5a083238cb7304bff698527 to your computer and use it in GitHub Desktop.
Expose a Load Balancer on GCP with K8S
apiVersion: v1
kind: Service
metadata:
name: app
spec:
ports:
- port: 80
targetPort: 3000
selector:
app: app
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment