apiVersion: v1
kind: Service
metadata:
  name: allowed-external-ip
spec:
  type: ClusterIP
  selector:
    app: MyApp
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 8080
  externalIPs:
    - 192.168.10.10
    - 8.8.8.8
    - 203.0.113.0