Skip to content

Instantly share code, notes, and snippets.

@ac12644
Created January 29, 2022 12:32
Show Gist options
  • Save ac12644/ab9352604a2f5410cb1be33b55285a85 to your computer and use it in GitHub Desktop.
Save ac12644/ab9352604a2f5410cb1be33b55285a85 to your computer and use it in GitHub Desktop.
# 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