Created
July 18, 2018 16:30
-
-
Save russmiles/890407673246dfc1d31464e90ea65236 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
{ | |
"kind": "Service", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "my-service", | |
"labels": { | |
"service": "my-service" | |
} | |
}, | |
"spec": { | |
"type": "LoadBalancer", | |
"ports": [ | |
{ | |
"protocol": "TCP", | |
"port": 80, | |
"targetPort": 8080 | |
} | |
], | |
"selector": { | |
"service": "my-service" | |
}, | |
"sessionAffinity": "None" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment