apiVersion: v1 kind: Service metadata: name: py-eagle spec: selector: app: py-eagle ports: - name: py-eagle port: 22042 targetPort: py-eagle