Created
September 24, 2018 14:48
-
-
Save farukonder/e5859500767f77c3b9b98e2cc46fd136 to your computer and use it in GitHub Desktop.
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: guestbook | |
labels: | |
app: guestbook | |
spec: | |
# comment or delete the following line if you want to use a LoadBalancer | |
# type: NodePort | |
# if your cluster supports it, uncomment the following to automatically create | |
# an external load-balanced IP for the frontend service. | |
type: LoadBalancer | |
ports: | |
- port: 80 | |
targetPort: 3000 | |
name: http | |
- port: 14100 | |
name: http95 | |
targetPort: 3000 | |
selector: | |
app: guestbook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment