apiVersion: v1 kind: Service metadata: name: nginx spec: type: LoadBalancer selector: app: nginx ports: - name: http protocol: TCP port: 80 nodePort: 80 - name: https protocol: TCP port: 443 nodePort: 443 - name: ssh protocol: TCP port: 22 nodePort: 22