Created
July 31, 2017 22:41
-
-
Save ams0/885e941c7e2d816e597fb159781b551c 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-nginx | |
labels: | |
name: my-nginx | |
spec: | |
ports: | |
- port: 80 | |
targetPort: 80 | |
selector: | |
run: my-nginx | |
type: LoadBalancer | |
loadBalancerIP: <public IP address> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment