2018-12-20 14:42:44 -08:00
|
|
|
kind: Service
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: gitea-service
|
|
|
|
namespace: gitea
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: gitea
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 80
|
2019-02-14 12:45:15 -08:00
|
|
|
targetPort: 3080
|
|
|
|
name: http
|
|
|
|
- protocol: TCP
|
|
|
|
port: 443
|
2018-12-20 14:42:44 -08:00
|
|
|
targetPort: 3000
|
2019-02-14 15:58:31 -08:00
|
|
|
name: https
|
2018-12-20 14:42:44 -08:00
|
|
|
- protocol: TCP
|
|
|
|
port: 22
|
|
|
|
targetPort: 22
|
|
|
|
name: ssh
|
|
|
|
type: LoadBalancer
|