Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 29s
25 lines
414 B
YAML
25 lines
414 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: gitea
|
|
spec:
|
|
selector:
|
|
app: gitea
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 3000
|
|
---
|
|
# Git over SSH on every node (servicelb); the node firewall opens 30022 (nix repo, k3s-base.nix).
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: gitea-ssh
|
|
spec:
|
|
type: LoadBalancer
|
|
ports:
|
|
- port: 30022
|
|
targetPort: 22
|
|
selector:
|
|
app: gitea
|