apiVersion: v1
kind: Service
metadata:
name: sample-service
spec:
ports:
- port: 80
protocol: TCP
targetPort: http
name: http