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

24
k8s/whoami/deployment.yml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
spec:
selector:
matchLabels:
app: whoami
replicas: 2
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami
readinessProbe:
httpGet:
path: /
port: 80
ports:
- containerPort: 80
imagePullPolicy: Always