apiVersion: v1 kind: Service metadata: name: numbers-api spec: type: ClusterIP ports: - port: 80 --- kind: Endpoints apiVersion: v1 metadata: name: numbers-api subsets: - addresses: - ip: 192.168.123.234 ports: - port: 80