Files
pikasTech-HWLAB/deploy/gitops/node/d601/runtime-v03/node-frpc.yaml
T
2026-06-12 23:18:58 +00:00

114 lines
3.9 KiB
YAML

{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "ConfigMap",
"metadata": {
"name": "hwlab-v03-frpc-config",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a"
},
"annotations": {
"unidesk.ai/public-exposure": "v03.hwpod.com",
"unidesk.ai/frp-server": "82.156.23.220:22000"
}
},
"data": {
"frpc.toml": "serverAddr = \"82.156.23.220\"\nserverPort = 22000\nloginFailExit = true\nauth.token = \"{{ .Envs.HWLAB_FRP_TOKEN }}\"\n\n[[proxies]]\nname = \"hwlab-d601-v03-cloud-web\"\ntype = \"tcp\"\nlocalIP = \"hwlab-cloud-web.hwlab-v03.svc.cluster.local\"\nlocalPort = 8080\nremotePort = 22096\n\n[[proxies]]\nname = \"hwlab-d601-v03-edge-proxy\"\ntype = \"tcp\"\nlocalIP = \"hwlab-edge-proxy.hwlab-v03.svc.cluster.local\"\nlocalPort = 6667\nremotePort = 22095\n"
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-v03-frpc",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a"
},
"annotations": {
"unidesk.ai/public-exposure": "v03.hwpod.com"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-v03-frpc"
}
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/config-sha256": "825e3e41b3e4"
},
"annotations": {
"hwlab.pikastech.local/config-sha256": "825e3e41b3e4d705981157ffebba139fd9db8ba268143fac8ffe8c27b199964b",
"unidesk.ai/public-exposure": "v03.hwpod.com"
}
},
"spec": {
"hostNetwork": true,
"dnsPolicy": "ClusterFirstWithHostNet",
"containers": [
{
"name": "frpc",
"image": "127.0.0.1:5000/hwlab/frpc:v0.68.1",
"imagePullPolicy": "IfNotPresent",
"args": [
"-c",
"/etc/frp/frpc.toml"
],
"volumeMounts": [
{
"name": "config",
"mountPath": "/etc/frp",
"readOnly": true
}
],
"env": [
{
"name": "HWLAB_FRP_TOKEN",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v03-frpc-secrets",
"key": "token"
}
}
}
]
}
],
"volumes": [
{
"name": "config",
"configMap": {
"name": "hwlab-v03-frpc-config"
}
}
]
}
}
}
}
]
}