--- apiVersion: v1 kind: Service metadata: name: toy spec: ports: - name: web port: 80 targetPort: web selector: app: toy