Initial commit: k3s deployment configurations
This commit is contained in:
23
k3s/tool/portainer-ingress.yaml
Normal file
23
k3s/tool/portainer-ingress.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: portainer-ingress
|
||||
namespace: portainer
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- portainer.u9.net3w.com # <--- 换个新子域名
|
||||
secretName: portainer-tls
|
||||
rules:
|
||||
- host: portainer.u9.net3w.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: portainer
|
||||
port:
|
||||
number: 9000
|
||||
Reference in New Issue
Block a user