Scenarios/AKS-Secure-Baseline-PrivateCluster/Old-Apps/RatingsApp/4-ratings-web-service.yaml (12 lines of code) (raw):
apiVersion: v1
kind: Service
metadata:
name: ratings-web
spec:
selector:
app: ratings-web
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP