Add the whoami service

This commit is contained in:
2024-02-16 23:02:55 +00:00
parent 0e75134e69
commit a4670369c9
2 changed files with 2 additions and 3 deletions

View File

@@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: apps namespace: apps
resources: resources:
- deployment.yaml - deployment.yaml
- service.yaml

View File

@@ -3,12 +3,10 @@ kind: Service
metadata: metadata:
name: whoami name: whoami
namespace: apps namespace: apps
spec: spec:
ports: ports:
- name: web - name: web
port: 80 port: 80
targetPort: web targetPort: web
selector: selector:
app: whoami app: whoami