aboutsummaryrefslogtreecommitdiff
path: root/nix-personal/k8s
diff options
context:
space:
mode:
Diffstat (limited to 'nix-personal/k8s')
-rw-r--r--nix-personal/k8s/ingress.yaml33
-rw-r--r--nix-personal/k8s/svc.yaml24
2 files changed, 0 insertions, 57 deletions
diff --git a/nix-personal/k8s/ingress.yaml b/nix-personal/k8s/ingress.yaml
deleted file mode 100644
index 3849905..0000000
--- a/nix-personal/k8s/ingress.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
- annotations:
- traefik.ingress.kubernetes.io/router.tls: "true"
- traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
- traefik.ingress.kubernetes.io/router.tls.domains.0.main: 'girlth.ing'
- traefik.ingress.kubernetes.io/router.tls.domains.0.sans: '*.girlth.ing'
- name: girlthing-all
- namespace: tcmal
-spec:
- ingressClassName: traefik
- rules:
- - host: '*.girlth.ing'
- http:
- paths:
- - backend:
- service:
- name: puppy
- port:
- name: http
- path: /
- pathType: ImplementationSpecific
- - host: 'girlth.ing'
- http:
- paths:
- - backend:
- service:
- name: puppy
- port:
- name: http
- path: /
- pathType: ImplementationSpecific
diff --git a/nix-personal/k8s/svc.yaml b/nix-personal/k8s/svc.yaml
deleted file mode 100644
index e6dfdfb..0000000
--- a/nix-personal/k8s/svc.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-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