initial commit
This commit is contained in:
commit
e2f07ec151
7 changed files with 120 additions and 0 deletions
20
k8s/service.yaml
Normal file
20
k8s/service.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: forgejo-service
|
||||
app.kubernetes.io/instance: forgejo
|
||||
app: forgejo-service
|
||||
name: forgejo-service
|
||||
namespace: forgejo
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: 3000
|
||||
- name: ssh
|
||||
port: 22
|
||||
targetPort: 22
|
||||
selector:
|
||||
app: forgejo-pod
|
||||
type: ClusterIP
|
Loading…
Add table
Add a link
Reference in a new issue