Created
March 19, 2018 06:28
-
-
Save kdubovikov/b87fb8ed66507e1c743507f7db114f92 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: | |
labels: | |
app: chopstick-classifier | |
name: chopstick-classifier | |
spec: | |
type: LoadBalancer # we need a load balancer to distribute our requests between all replicas in the Deployment | |
ports: | |
- port: 8500 # run this | |
name: grpc | |
selector: | |
app: chopstick-classifier # we are targeting pods labeled "app: chopstick classifier" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment