netmaker/k8s/client/netclient.yaml
Christopher Blaha 66dbaf1bc2
update develop to v0.25.0 (#3009)
* update develop to v0.24.4

* update develop to v0.25.0
2024-07-25 10:19:31 +05:30

49 lines
1.1 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: netclient
labels:
app: netclient
spec:
selector:
matchLabels:
app: netclient
replicas: 1
template:
metadata:
labels:
app: netclient
spec:
hostNetwork: true
# affinity:
# nodeAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 1
# preference:
# matchExpressions:
# - key: <node label>
# operator: In
# values:
# - "<node label value>"
containers:
- name: netclient
image: gravitl/netclient:v0.25.0
env:
- name: TOKEN
value: "TOKEN_VALUE"
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
- mountPath: /var/log
name: log-netclient
securityContext:
privileged: true
volumes:
- hostPath:
path: /etc/netclient
type: DirectoryOrCreate
name: etc-netclient
- emptyDir:
medium: Memory
name: log-netclient