my_cobalt_strike/traefik-config.yaml
2022-08-04 17:27:41 +08:00

30 lines
584 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: console
namespace: sangge
labels:
app: console
annotations:
kubenetes.io/ingress.class: traefik
spec:
# rules:
# - host: sangge.sre.victor-core.top
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: console
# port:
# number: 4444
entryPoints:
- console-service
routes:
- match: Host('sangge.sre.victor-core.top')
kind: Rule
services:
- name: console
port: 4444