Created
April 28, 2020 09:53
-
-
Save alex-moreno/4e1303956fea994273c2985407bca795 to your computer and use it in GitHub Desktop.
lb-webserver.yaml
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: ddev-load-balancer | |
spec: | |
type: LoadBalancer | |
selector: | |
# Will deliver external traffic to the pod holding each of our containers | |
app: ddev | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 80 | |
name: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment