aboutsummaryrefslogtreecommitdiff
path: root/nix-personal/k8s/svc.yaml
blob: e6dfdfb79f6e9b6fe52a6935f6aebac7e7ccb087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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