Skip to content

Instantly share code, notes, and snippets.

@casdr
Created March 13, 2023 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save casdr/3987cc0e75a3ba45a01c1aa07846106a to your computer and use it in GitHub Desktop.
Save casdr/3987cc0e75a3ba45a01c1aa07846106a to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: talos-xe-guest-utilities
name: talos-xe-guest-utilities
namespace: kube-system
spec:
selector:
matchLabels:
app: talos-xe-guest-utilities
template:
metadata:
labels:
app: talos-xe-guest-utilities
spec:
automountServiceAccountToken: false
enableServiceLinks: false
priorityClassName: system-node-critical
restartPolicy: Always
hostNetwork: true
hostIPC: true
hostPID: true
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
containers:
- image: registry.exonet.nl/exonet/xe-guest-utilities
name: talos-xe-guest-utilities
volumeMounts:
- name: modules
mountPath: /lib/modules
readOnly: true
resources:
requests:
memory: 8Mi
limits:
memory: 64Mi
cpu: 500m
securityContext:
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
privileged: true
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment