apiVersion: v1 kind: Service metadata: creationTimestamp: null labels: app: nginx name: nginx1 spec: ports: - port: 80 protocol: TCP targetPort: 80 selector: app: nginx type: NodePort status: loadBalancer: {}