
apiVersion: v1
kind: Service
metadata:
  name: external-nginx
spec:
 ports:
    - protocol: TCP
      port: 30080
      targetPort: 30080
---
apiVersion: v1
kind: Endpoints
metadata:
  name: external-nginx
subsets:
  - addresses:
    - ip: 192.168.2.111
    ports:
    - port: 30080
