Increase priority of tailscale pods
This commit is contained in:
11
tailscale/connector.yaml
Normal file
11
tailscale/connector.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: tailscale.com/v1alpha1
|
||||
kind: Connector
|
||||
metadata:
|
||||
name: home-cidr
|
||||
spec:
|
||||
tags:
|
||||
- "tag:k8s"
|
||||
hostname: home-cidr
|
||||
subnetRouter:
|
||||
advertiseRoutes:
|
||||
- "192.168.1.0/24"
|
||||
30
tailscale/rbac.yaml
Normal file
30
tailscale/rbac.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: tailscale
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: tailscale
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resourceNames: ["tailscale-auth"]
|
||||
resources: ["secrets"]
|
||||
verbs: ["get", "update", "patch"]
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: tailscale
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: tailscale
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: tailscale
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
4
tailscale/values.yaml
Normal file
4
tailscale/values.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
operatorConfig:
|
||||
extraEnv:
|
||||
- name: PROXY_PRIORITY_CLASS_NAME
|
||||
value: critical
|
||||
Reference in New Issue
Block a user