Add the whoami service
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user