apiVersion: v1 kind: Service metadata: name: nginx spec: ports: - port: 443 targetPort: 443 protocol: TCP name: https selector: app: nginx