Created
January 29, 2022 12:32
-
-
Save ac12644/ab9352604a2f5410cb1be33b55285a85 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# The hello service provides a load-balancing proxy over the hello-app | |
# pods. By specifying the type as a 'LoadBalancer', Kubernetes Engine will | |
# create an external HTTP load balancer. | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: hello | |
spec: | |
type: LoadBalancer | |
selector: | |
app: hello | |
ports: | |
- port: 80 | |
targetPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment