apiVersion: v1 kind: Service metadata: name: frontend namespace: secure spec: type: ClusterIP selector: app: frontend ports: - name: http port: 80 protocol: TCP targetPort: http - name: https port: 443 protocol: TCP targetPort: https