aboutsummaryrefslogtreecommitdiff
path: root/nix-personal/k8s/svc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'nix-personal/k8s/svc.yaml')
-rw-r--r--nix-personal/k8s/svc.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/nix-personal/k8s/svc.yaml b/nix-personal/k8s/svc.yaml
new file mode 100644
index 0000000..e6dfdfb
--- /dev/null
+++ b/nix-personal/k8s/svc.yaml
@@ -0,0 +1,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