Skip to content

Instantly share code, notes, and snippets.

@Pothulapati
Last active August 24, 2019 14:19
Show Gist options
  • Save Pothulapati/e94acb41d2e489561ae366bb2340552e to your computer and use it in GitHub Desktop.
Save Pothulapati/e94acb41d2e489561ae366bb2340552e to your computer and use it in GitHub Desktop.
services.yaml
---
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