Created
June 16, 2019 08:54
-
-
Save mlabouardy/cbb04603e5a083238cb7304bff698527 to your computer and use it in GitHub Desktop.
Expose a Load Balancer on GCP with K8S
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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