Add a skeleton k8s deployment setup

DNS will come later
This commit is contained in:
Jake Howard
2022-03-07 21:58:17 +00:00
parent 812e828862
commit 2093f72602
10 changed files with 100 additions and 17 deletions

17
k8s/whoami/ingress.yml Normal file
View File

@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whoami
spec:
ingressClassName: nginx
rules:
- host: whoami.localhost
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: whoami
port:
number: 80