Created
February 4, 2018 14:03
-
-
Save priyankvex/cb1a9328127de44a6de483584643fcf0 to your computer and use it in GitHub Desktop.
YAML file to create the cats service in kubernetes
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: cats-service | |
labels: | |
run: cats-service | |
spec: | |
type: NodePort | |
ports: | |
- port: 80 | |
protocol: TCP | |
selector: | |
app: cats-deployment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment