Add Kubernetes service
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s
This commit is contained in:
parent
a8f3a655f9
commit
c0f699b45b
@ -4,3 +4,4 @@ kind: Kustomization
|
|||||||
namespace: toy
|
namespace: toy
|
||||||
resources:
|
resources:
|
||||||
- deployment.yaml
|
- 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