Last active
August 24, 2019 14:19
-
-
Save Pothulapati/e94acb41d2e489561ae366bb2340552e to your computer and use it in GitHub Desktop.
services.yaml
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: reviews-v2 | |
spec: | |
selector: | |
app: reviews | |
version: v2 | |
ports: | |
- protocol: TCP | |
port: 9080 | |
targetPort: 9080 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: reviews-v3 | |
spec: | |
selector: | |
app: reviews | |
version: v3 | |
ports: | |
- protocol: TCP | |
port: 9080 | |
targetPort: 9080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment