Add Kubernetes service
This commit is contained in:
parent
a8f3a655f9
commit
c0f699b45b
@ -4,3 +4,4 @@ kind: Kustomization
|
||||
namespace: toy
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- services.yaml
|
||||
|
13
kustomize/services.yaml
Normal file
13
kustomize/services.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: toy
|
||||
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: toy
|
Loading…
Reference in New Issue
Block a user