apiVersion: v1 kind: Service metadata: name: puppy namespace: tcmal spec: ports: - name: http port: 80 protocol: TCP targetPort: 80 --- apiVersion: v1 kind: Endpoints metadata: name: puppy namespace: tcmal subsets: - addresses: - ip: 192.168.1.248 ports: - name: http port: 80 protocol: TCP