Skip to content

Instantly share code, notes, and snippets.

@saamalik
Last active November 6, 2020 21:19
Show Gist options
  • Save saamalik/7d2d16cf442212e2c5e5a728719b1cab to your computer and use it in GitHub Desktop.
Save saamalik/7d2d16cf442212e2c5e5a728719b1cab to your computer and use it in GitHub Desktop.
Spectro Debug
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: spectro-debug
name: spectro-debug
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
app: spectro-debug
strategy:
type: Recreate
template:
metadata:
labels:
app: spectro-debug
spectrocloud.com/connection: proxy
spec:
containers:
- image: fatedier/frpc:v0.34.1
name: frpc
command: ['frpc']
args:
- https
- -s
- proxy.app.picard.spectrocloud.com:443
- --sd
- $(DEBUG_NAME)
- -n
- $(DEBUG_NAME)-apiserver
- -i
- kubernetes.default
- -l
- "443"
env:
- name: DEBUG_NAME
value: t-d3
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment