Add Kubernetes service

This commit is contained in:
Ryan Cavicchioni 2024-07-02 23:56:04 -05:00
parent a8f3a655f9
commit c0f699b45b
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 14 additions and 0 deletions

View File

@ -4,3 +4,4 @@ kind: Kustomization
namespace: toy namespace: toy
resources: resources:
- deployment.yaml - deployment.yaml
- services.yaml

13
kustomize/services.yaml Normal file
View File

@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: toy
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: toy